You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Http Metrics] Replace http.error.reason with OTel standard error.type #91909
Align attribute name and semantics with the OpenTelemetry spec (which was finalized yesterday 2023/9/11 - see open-telemetry/semantic-conventions#205) -- http.error.reason attribute has been standardized under name error.type. We need to:
Rename http.error.reason to error.type.
Report error.type also for valid responses where the HTTP status code indicates an error (4xx and 5xx) -- in such case, the value should be the string representation of the HTTP status code.
Note: Currently we report http.error.reason only when the underlying handler fails to fetch a response.
Activity
karelz commentedon Sep 13, 2023
Reopening to track backport to 8.0
karelz commentedon Sep 15, 2023
Fixed in main (9.0) in PR #91910 and in 8.0 (RC2) in PR #91996