Why HttpRoute is not included in OpenTelemetry.Instrumentation.Http metrics? #4311
-
Hi 👋, apologies if this question may sound silly, but I will give a try (I'm pretty new here) For example making a call to https://www.somegateway.com/some-resource Why not to extract some-resource and prefill SemanticConventions.AttributeHttpRoute value? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hello, It is by design. HttpClient metric instrumentation only adds the attributes specified in the spec below. |
Beta Was this translation helpful? Give feedback.
Hello, It is by design. HttpClient metric instrumentation only adds the attributes specified in the spec below.
https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/semantic_conventions/http-metrics.md#metric-httpclientduration