OFREP HTTP Trace Context Propagation

Hey folks and happy holidays to those who are celebrating :wave:

Do the OFREP HTTP endpoints support trace context propagation via HTTP headers? When I include a traceparent header in one of the HTTP requests it seems that Flipt isn’t picking it up and instead creates a root span (and its usual child spans). I made sure to enable the relevant propagators via Flipt environment variables and my general observability setup using OTel is also working fine.

Cheers,
Moritz

Hey @slashmo ! Happy Holidays to you as well.

Can you post what your tracing.propagators env var looks like to help debug?

1 Like

Sure! It‘s FLIPT_TRACING_PROPAGATORS=tracecontext, but I also tried without the env var which I expect would give me the default tracecontext & baggage propagators.

Hey @slashmo !

After much searching and debugging I think I found the issue and created a PR to fix: fix: otel http parent propogation by markphelps · Pull Request #3758 · flipt-io/flipt · GitHub

Once this is merged we’ll get a new release out, likely Monday of next week.

Thank you for raising this and for your patience!!

1 Like

Awesome! Thanks for the prompt replies and fix :pray:

I just tried this out from the main branch and can confirm that it works with my setup too :partying_face:

2 Likes

Awesome! we will likely create a new release tomorrow. In the mean time you could run our nightly build if you want to run via Docker

1 Like

@slashmo we just released v1.54.0 with the fix :raised_hands: