fiberplane / fpx

Supercharge your local development
https://fiberplane.dev
MIT License
115 stars 1 forks source link

Modify OtelSpan schema to handle null attributes #174

Closed brettimus closed 1 month ago

brettimus commented 1 month ago

It's possible an attribute on an event could end up being null, and we don't want to break the UI because of it.

This happened with FP-4019

At a certain point we have to be defensive for this case in the UI. So I added null as a possible attribute value in the OtelSpanSchema

Other changes

pkg-pr-new[bot] commented 1 month ago

commit: 7e8d86e

pnpm add https://pkg.pr.new/fiberplane/fpx/@fiberplane/studio@174
pnpm add https://pkg.pr.new/fiberplane/fpx/@fiberplane/hono-otel@174

Open in Stackblitz