[instrumentation-document-load] trace parent behaviour not as expected #2306
Labels
bug
Something isn't working
priority:p2
Bugs and spec inconsistencies which cause telemetry to be incomplete or incorrect
What version of OpenTelemetry are you using?
"@opentelemetry/core": "^1.25.0"
"@opentelemetry/instrumentation-document-load": "^0.39.0"
"@opentelemetry/api": "^1.9.0"
What version of Node are you using?
N/A (browser)
What did you do?
As per the readme:
I followed this pattern on the backend when generating the page HTML:
I used the span ID here as the parent span ID for the server.
What did you expect to see?
The browser uses the span ID I provided and becomes the parent of the server span.
What did you see instead?
The browser uses the span ID as its own parent span ID, creates a new random span ID, and becomes the sibling of the server span. Both spans now refer to a nonexistent span ID.
Additional context
The text was updated successfully, but these errors were encountered: