You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My doubt is which headers will get propagated by using the property propagateTraceHeaderCorsUrls?
import { FetchInstrumentation } from '@opentelemetry/instrumentation-fetch';
import { XMLHttpRequestInstrumentation } from '@opentelemetry/instrumentation-xml-http-request';
// .....
new FetchInstrumentation({
ignoreUrls,
propagateTraceHeaderCorsUrls,
}),
new XMLHttpRequestInstrumentation({
ignoreUrls,
propagateTraceHeaderCorsUrls,
}),
// ......
I have noticed that the traceparent header is successfully propagated, but I also need the tracestate header. 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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
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
traceparent
header is successfully propagated, but I also need thetracestate
header. 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!
Beta Was this translation helpful? Give feedback.
All reactions