Skip to content

Don't continue client-supplied traces - #6924

Merged
cnkk merged 2 commits into
masterfrom
otel-public-endpoint
Nov 26, 2026
Merged

cnkk merged 2 commits into
masterfrom
otel-public-endpoint

Conversation

@cnkk

@cnkk cnkk commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

Changes

Some API clients send a traceparent header, and cowboy continues their trace.
With public_endpoint: true, every request starts its own trace, and the client's context is kept as a span link.

Tests

  • This PR does not require tests

Changelog

  • This PR does not make a user-facing change

Documentation

  • This change does not need a documentation update

Dark mode

  • This PR does not change the UI

Some API clients send a traceparent header, so our request spans ended up
inside their traces, and requests marked not sampled weren't traced at all.
Start a new trace for every request and keep the client's context as a link.
@cnkk
cnkk requested a review from a team November 26, 2026 10:43
@cnkk
cnkk enabled auto-merge November 26, 2026 10:43
@cnkk
cnkk added this pull request to the merge queue Nov 26, 2026
Merged via the queue into master with commit 677dfd2 Nov 26, 2026
31 checks passed
@cnkk
cnkk deleted the otel-public-endpoint branch November 26, 2026 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants