-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Description
Problem Statement
- develop docs update: OTel Semantic convention develop#943
- team issue: Project: Normalize
http.response.status_codefor Metrics & Alerts team-sdks#9 - related mobile team issue (as this change affects RN):
http.response.status_codenormalization for Metrics & Alerts team-mobile#121
Solution Brainstorm
Related code:
sentry-javascript/packages/core/src/tracing/span.ts
Lines 228 to 235 in f361c81
| public setHttpStatus(httpStatus: number): this { | |
| this.setTag('http.status_code', String(httpStatus)); | |
| const spanStatus = spanStatusfromHttpCode(httpStatus); | |
| if (spanStatus !== 'unknown_error') { | |
| this.setStatus(spanStatus); | |
| } | |
| return this; | |
| } |
If the http.status_code tag is removed at the same time this could be a breaking change.