Skip to content

feat(scope): Add process runtime attributes to span context#6564

Merged
ericapisani merged 8 commits into
masterfrom
py-2401-migrate-stdlib-event-processor
Jun 18, 2026
Merged

feat(scope): Add process runtime attributes to span context#6564
ericapisani merged 8 commits into
masterfrom
py-2401-migrate-stdlib-event-processor

Conversation

@ericapisani

@ericapisani ericapisani commented Jun 12, 2026

Copy link
Copy Markdown
Member

Set process.runtime.name and process.runtime.version
attributes on the global scope to include Python runtime information in spans and events.

This allows better runtime identification across different Python implementations
(CPython, PyPy, etc.) and versions.

Fixes PY-2401
Fixes #6200

Set process.runtime.name, process.runtime.version, and process.runtime.description
attributes on the scope to include Python runtime information in spans and events.

This allows better runtime identification across different Python implementations
(CPython, PyPy, etc.) and versions.
@linear-code

linear-code Bot commented Jun 12, 2026

Copy link
Copy Markdown

PY-2401

Comment thread sentry_sdk/integrations/stdlib.py Outdated
@ericapisani ericapisani marked this pull request as ready for review June 16, 2026 18:51
@ericapisani ericapisani requested a review from a team as a code owner June 16, 2026 18:51

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 7404b69. Configure here.

Comment thread sentry_sdk/integrations/stdlib.py Outdated
Comment thread sentry_sdk/integrations/stdlib.py Outdated
Comment thread sentry_sdk/integrations/stdlib.py Outdated
@ericapisani ericapisani marked this pull request as draft June 16, 2026 19:12
@github-actions

github-actions Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Codecov Results 📊

90810 passed | ⏭️ 6129 skipped | Total: 96939 | Pass Rate: 93.68% | Execution Time: 320m 43s

📊 Comparison with Base Branch

Metric Change
Total Tests
Passed Tests
Failed Tests
Skipped Tests

✨ No test changes detected

All tests are passing successfully.

✅ Patch coverage is 100.00%. Project has 2410 uncovered lines.
✅ Project coverage is 89.85%. Comparing base (base) to head (head).

Coverage diff
@@            Coverage Diff             @@
##          main       #PR       +/-##
==========================================
+ Coverage    89.84%    89.85%    +0.01%
==========================================
  Files          192       192         —
  Lines        23732     23740        +8
  Branches      8194      8194         —
==========================================
+ Hits         21321     21330        +9
- Misses        2411      2410        -1
- Partials      1343      1342        -1

Generated by Codecov Action

@ericapisani ericapisani marked this pull request as ready for review June 17, 2026 12:51

@alexander-alderman-webb alexander-alderman-webb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Comment thread sentry_sdk/integrations/stdlib.py Outdated
@ericapisani ericapisani merged commit 907dd48 into master Jun 18, 2026
270 of 272 checks passed
@ericapisani ericapisani deleted the py-2401-migrate-stdlib-event-processor branch June 18, 2026 12:52
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.

Migrate stdlib event processor

2 participants