Skip to content

fix(core): Set production as default sentry.environment attribute value on streamed spans#21637

Open
Lms24 wants to merge 3 commits into
developfrom
lms/fix-core-streamed-spans-default-environment
Open

fix(core): Set production as default sentry.environment attribute value on streamed spans#21637
Lms24 wants to merge 3 commits into
developfrom
lms/fix-core-streamed-spans-default-environment

Conversation

@Lms24

@Lms24 Lms24 commented Jun 18, 2026

Copy link
Copy Markdown
Member

We set "production" as the default environment on events. This PR adds the same behaviour to streamed spans when applying common attributes in the captureSpan pipeline

closes #21636

@Lms24 Lms24 requested review from andreiborza and nicohrubec June 18, 2026 15:47
Comment thread packages/core/src/tracing/spans/captureSpan.ts Outdated
@Lms24 Lms24 self-assigned this Jun 18, 2026
@Lms24 Lms24 requested review from a team as code owners June 18, 2026 16:36
@Lms24 Lms24 requested review from JPeer264, logaretm and mydea and removed request for a team June 18, 2026 16:36
@Lms24

Lms24 commented Jun 18, 2026

Copy link
Copy Markdown
Member Author

sorry for pinging so many folks to review. This happened purely due to test adjustments. feel free to take a look though! 😅

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.

Streamed spans lack sentry.environment attribute default value

3 participants