Comment

Comment by taeshdas

One interesting bug I ran into:

My initial validator enforced “exactly one root span” per trace. That worked locally, but completely broke when continuing traces from another service via traceparent.

Fixing that required changing the invariant to allow:

One root span (local trace), OR

One span whose parent is external (distributed continuation)

That was the moment I realized how subtle distributed tracing actually is.

parent taeshdas 8 months ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton