Skip to content

Move OpenTracing span tags to StartSpan options for correct OTel bridge mapping - #2516

Open
vprithvi wants to merge 1 commit into
yarpc:mainfrom
vprithvi:pr/move-opentracing-tags-to-startspan
Open

Move OpenTracing span tags to StartSpan options for correct OTel bridge mapping#2516
vprithvi wants to merge 1 commit into
yarpc:mainfrom
vprithvi:pr/move-opentracing-tags-to-startspan

Conversation

@vprithvi

@vprithvi vprithvi commented Jul 7, 2026

Copy link
Copy Markdown

Move span.kind, peer.service, and http.url tags from post-creation Set() calls into the Tags map passed to StartSpan. This ensures the tracer sees all tags at span creation time, which is required for correct SpanKind mapping through the OTel-OpenTracing bridge and for tag-aware sampling.

RELEASE NOTES:
Move some OpenTracing tags into StartSpan

…ge mapping

Move span.kind, peer.service, and http.url tags from post-creation Set()
calls into the Tags map passed to StartSpan. This ensures the tracer sees
all tags at span creation time, which is required for correct SpanKind
mapping through the OTel-OpenTracing bridge and for tag-aware sampling.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@CLAassistant

CLAassistant commented Jul 7, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants