opentelemetry-js
opentelemetry-js copied to clipboard
`error.type` attribute is not set on `http.server.request.duration` metric
trafficstars
Steps to Reproduce
Instrument an HTTP service with a throwing handler using the stable semantic conventions.
Expected Result
The error.type attribute present on the created span should also be set on the http.server.request.duration metric.
Actual Result
The attribute is set on the span but not the metric.
Additional Details
Feel free to assign me this.