-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Project: Normalize http.response.status_code
for Metrics & Alerts
#9
Comments
@smeubank thanks for creating an issue for this! I know we already talked about this, but just to mention one more time. It would be great to gather the information from the SDKs where those http status code are set now. It will give us opportunity to do some of the normalizations on the server-side and support also old SDKs till the standard place is used. \cc @matejminar @ale-cota |
Hey I have now changed the description from |
http.status_code
normalization for Metrics & Alerts
I added a list of all SDKs to collect how the HTTP status code is stored now. (in description above) and also linking here: https://www.notion.so/sentry/Inquiry-HTTP-Status-Code-ca90c050fb76428b8ce07a5e9e954767 |
Is this for status codes from HTTP client outbound calls, or from HTTP server inbound calls, or both? |
I think we should write it for both, given we are actively thinking about indexing span info w/ Starfish. |
Per https://github.com/getsentry/team-webplatform-meta/issues/65 we want to define where HTTP status codes should be stored in events (200, 404, 500, etc) Reasoning for why it is a problem, is that SDKs generally should not set tags "for" users on events.
Unsure about removing the creation of tags for the status code in SDKs that do so today. |
Maybe users created alerts or dashboards for the http status code tag. Maybe we should check how many users did stuff like that. Or we always just keep the tag and also set the status in the span data too, to make it backwards compatible. |
* Update span-data-conventions for HTTP.status_code Per https://github.com/getsentry/team-webplatform-meta/issues/65 we want to define where HTTP status codes should be stored in events (200, 404, 500, etc) Reasoning for why it is a problem, is that SDKs generally should not set tags "for" users on events. * Update src/docs/sdk/performance/span-data-conventions.mdx Co-authored-by: Manoel Aranda Neto <5731772+marandaneto@users.noreply.github.com> --------- Co-authored-by: Anton Pirker <anton.pirker@sentry.io> Co-authored-by: Manoel Aranda Neto <5731772+marandaneto@users.noreply.github.com>
#2145) This PR adds the HTTP status code extracted from the `Event` to the common tags on transactional metrics. The status code currently provided in different places by different SDKs and requires from us to make sure to cover most obvious places, like `breadcrumbs`, `span data`, `response context`, `span tags`. Once the normalization on SDK side is done (tracking issue: https://github.com/getsentry/team-webplatform-meta/issues/65), the extraction on Relay side can be simplified as well. fix getsentry/team-ingest#123
http.status_code
normalization for Metrics & Alertshttp.response.status_code
normalization for Metrics & Alerts
http.response.status_code
normalization for Metrics & Alertshttp.response.status_code
normalization for Metrics & Alerts
http.response.status_code
normalization for Metrics & Alertshttp.response.status_code
for Metrics & Alerts
For normalizing where we store the HTTP response code in our events we invented the response context: getsentry/team-sdks#9 This PR adds documentation on how this response context should look like.
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 thenhttps://www.notion.so/sentry/Expand-Metrics-for-Alerts-cdfa32d7624e498b8246c3f131f753f1#17480955e2fb4407b619b9236bc2723a
Requirements
List of all SDKs and how they store HTTP status code now:
Web Frontend SDKs
http.response.status_code
for Metrics & Alerts sentry-javascript#8692http.response.status_code
for Metrics & Alerts sentry-javascript#8365Web Backend SDKs
http.response.status_code
for Metrics & Alerts sentry-go#667http.response.status_code
for Metrics & Alerts sentry-dotnet#2471http.response.status_code
for Metrics & Alerts sentry-ruby#2065http.response.status_code
for Metrics & Alerts sentry-java#2835http.response.status_code
for Metrics & Alerts sentry-python#2099http.response.status_code
for Metrics & Alerts sentry-php#1564Mobile SDKs
http.response.status_code
normalization for Metrics & Alerts team-mobile#121The text was updated successfully, but these errors were encountered: