Skip to content
This repository was archived by the owner on Apr 24, 2025. It is now read-only.
This repository was archived by the owner on Apr 24, 2025. It is now read-only.

Project: Normalize http.response.status_code for Metrics & Alerts #9

@smeubank

Description

@smeubank

Project Board

https://github.com/orgs/getsentry/projects/130/views/1

Description

http.response.status_code is set in different places in different SDKs which creates some problems in processing for metrics extraction and then

https://www.notion.so/sentry/Expand-Metrics-for-Alerts-cdfa32d7624e498b8246c3f131f753f1#17480955e2fb4407b619b9236bc2723a

Requirements

  • Confirm where it is stored today for ingest to know as-is
  • Need status code number (standard HTTP status code 2xx, 4xx, 5xx, etc)
  • The SDK should never on it's own set this as a tag - as this adds expense due to indexing being based on tags
  • the location of storage needs to be in a standard location based on span schema

List of all SDKs and how they store HTTP status code now:

### Web Frontend SDKs
- [ ] https://github.com/getsentry/sentry-javascript/issues/8692
- [ ] https://github.com/getsentry/sentry-javascript/issues/8365
### Web Backend SDKs
- [ ] https://github.com/getsentry/sentry-go/issues/667
- [ ] https://github.com/getsentry/sentry-dotnet/issues/2471
- [ ] https://github.com/getsentry/sentry-ruby/issues/2065
- [ ] https://github.com/getsentry/sentry-java/issues/2835
- [ ] https://github.com/getsentry/sentry-python/issues/2099
- [ ] https://github.com/getsentry/sentry-python/issues/2289
- [ ] https://github.com/getsentry/sentry-php/issues/1564
### Mobile SDKs
- [ ] https://github.com/getsentry/team-mobile/issues/121

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions