Repository navigation
Replies: 1 comment
|
With the default W3C trace-context propagator, the possible fields are You can verify the active value immediately before the request: const spanContext = trace.getSpanContext(context.active());
console.log(spanContext?.traceState?.serialize());For a cross-origin request, also make sure the server's CORS preflight response allows both Relevant implementation: |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hello
I am currently integrating our Frontend with faro-sdk and for now we need to override the sdk config to enable traces propagation.
This is the link to the discussion for context
My doubt is which headers will get propagated by using the property
propagateTraceHeaderCorsUrls?I have noticed that the
traceparentheader is successfully propagated, but I also need thetracestateheader. How can I achieve this using OTEL, or is it already supposed to add this header as well?I did not find anything at all documenting these classes and their usage.
Thanks in advance!
All reactions