opentelemetry-js icon indicating copy to clipboard operation
opentelemetry-js copied to clipboard

`error.type` attribute is not set on `http.server.request.duration` metric

Open raphael-theriault-swi opened this issue 6 months ago • 1 comments
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.

raphael-theriault-swi avatar Apr 23 '25 22:04 raphael-theriault-swi