Skip to content

http.response.status_code normalization for Metrics & Alerts #121

@kahest

Description

@kahest

Background:

http.status 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:

  • 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

Note: .NET and Java are handled in getsentry/team-sdks#9.

### Validate Per SDK and check as is
- [ ] https://github.com/getsentry/sentry-cocoa/issues/3076
- [ ] https://github.com/getsentry/sentry-dart/issues/1473
- [x] https://github.com/getsentry/sentry-java/pull/2786
- [x] React Native

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions