Skip to content

fix: replace parent_span_id with span_id for logs - #2375

Open
Litarnus wants to merge 1 commit into
5.xfrom
fix/log-span-id
Open

Litarnus wants to merge 1 commit into
5.xfrom
fix/log-span-id

Conversation

@Litarnus

Copy link
Copy Markdown
Collaborator

Introduces span_id on log lines to properly connect them to traces. It used parent_span_id as attribute before that.

parent_span_id has been deprecated: https://conventions.sentry.dev/attributes/sentry/#sentry-trace-parent_span_id

span_id for association: https://develop.sentry.dev/sdk/telemetry/logs/#tracing-association

@Litarnus
Litarnus requested a review from stayallive November 16, 2026 13:40
@Litarnus Litarnus self-assigned this Nov 16, 2026
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.

1 participant