Skip to content

feat(attributes): Add sentry.status_code attribute#223

Merged
mjq merged 3 commits intomainfrom
mjq/2026-01-20/missing-insights-conventions
Jan 20, 2026
Merged

feat(attributes): Add sentry.status_code attribute#223
mjq merged 3 commits intomainfrom
mjq/2026-01-20/missing-insights-conventions

Conversation

@mjq
Copy link
Member

@mjq mjq commented Jan 20, 2026

Add new sentry.status_code attribute for tracking HTTP status codes in Sentry Insights. This is set by Relay during ingestion (formerly a Sentry tag) and used by the Outbound API Requests insights module.

Description

PR Checklist

  • I have run yarn test and verified that the tests pass.
  • I have run yarn generate && yarn format to generate and format code and docs.

If an attribute was added:

  • The attribute is in a namespace (e.g. nextjs.function_id, not function_id)
  • I have used the correct value for pii (i.e. maybe or true. Use false only for values that should never be scrubbed such as IDs)

Add new sentry.status_code attribute for tracking HTTP status codes in Sentry
Insights. This is set by Relay during ingestion (formerly a Sentry tag) and
used by the Outbound API Requests insights module.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@github-actions
Copy link

github-actions bot commented Jan 20, 2026

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 0afbc01

@mjq mjq merged commit 0f5058d into main Jan 20, 2026
9 checks passed
@mjq mjq deleted the mjq/2026-01-20/missing-insights-conventions branch January 20, 2026 21:31
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.

2 participants