ApplicationInsights-JS icon indicating copy to clipboard operation
ApplicationInsights-JS copied to clipboard

[BUG] TraceState header is empty

Open ghost opened this issue 1 year ago • 4 comments

Description/Screenshot I've a react frontend app, and I'm trying to initialize tracestate header and I'm not able to do so. From what I read in the official docs it should be supported. I want to know it is a bug or it is by design.

ghost avatar Apr 28 '24 20:04 ghost

The JS Sdk doesn't currently populate the tracestate header only the traceparent (as part of the Application Insights XMLHttpRequest and fetch hooking (if enabled))

MSNev avatar Apr 29 '24 19:04 MSNev

This Issue will be closed in 30 days. Please remove the "Stale" label or comment to avoid closure with no action.

github-actions[bot] avatar Feb 24 '25 07:02 github-actions[bot]

We are currently actively prototyping how we are going to add tracestate support along with easier management of the traceparent by providing additional OpenTelemetry style "Span" support within the SDK.

We expect to be able to provide at least the tracestate sometime this year (2025), at the very least it will be a minor version bump, but depending on the API requirements and any other feature we include it may also be a major version bump.

MSNev avatar Feb 24 '25 18:02 MSNev

As the base support will be added to Application Insights, I'm also going to move this Issue to that repo, now that I've marked as an enhancement

MSNev avatar Feb 24 '25 18:02 MSNev