Skip to content

ref(o11y): Add scope.set_attribute calls in organization releases#117407

Merged
sentrivana merged 1 commit into
masterfrom
ivana/set-attribute-org-releases
Jun 12, 2026
Merged

ref(o11y): Add scope.set_attribute calls in organization releases#117407
sentrivana merged 1 commit into
masterfrom
ivana/set-attribute-org-releases

Conversation

@sentrivana

@sentrivana sentrivana commented Jun 11, 2026

Copy link
Copy Markdown
Contributor
  • Supplements existing scope.set_tag() calls with equivalent scope.set_attribute() calls in src/sentry/api/endpoints/organization_releases.py
  • Covers 6 tag sites: version, has_refs, failure_reason (3 variants), success_status
  • Enables attributes-based telemetry (logs, metrics, spans v2) to inherit these values

Once we switch to span streaming, the new attributes will get applied to spans automatically.

Related to getsentry/sentry-python#6537

… releases

Supplement existing scope.set_tag calls with equivalent scope.set_attribute
calls to support attributes-based telemetry (logs, metrics).
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Jun 11, 2026
@sentrivana sentrivana changed the title feat: Add scope.set_attribute calls in organization releases ref(o11y): Add scope.set_attribute calls in organization releases Jun 11, 2026
@sentrivana sentrivana marked this pull request as ready for review June 11, 2026 11:54
@sentrivana sentrivana requested a review from a team as a code owner June 11, 2026 11:54
@sentrivana sentrivana requested a review from a team June 11, 2026 11:55
@sentrivana sentrivana merged commit 249bc0f into master Jun 12, 2026
67 checks passed
@sentrivana sentrivana deleted the ivana/set-attribute-org-releases branch June 12, 2026 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants