Add instrumentation scope schema URL as otel_scope_schema_url label to otel_scope_info metric
Add instrumentation scope schema URL as otel_scope_schema_url label to "real" OTel metrics
Add instrumentation scope attributes as otel_scope_[attribute] labels to "real" OTel metrics
Side notes:
The exporter does not seem to work correctly if the end user adds e.g. an otel_scope_name attribute. I think the exporter should ignore all attributes with names that have prefix otel_scope_. This scenario is also not covered by the spec.
I remember that David was also proposing to have the new functionality behind some env var feature toggle
Towards https://github.com/open-telemetry/opentelemetry-specification/issues/4223 and https://github.com/open-telemetry/opentelemetry-go/issues/5846
otel_scope_schema_url
label tootel_scope_info
metricotel_scope_schema_url
label to "real" OTel metricsotel_scope_[attribute]
labels to "real" OTel metricsSide notes:
otel_scope_name
attribute. I think the exporter should ignore all attributes with names that have prefixotel_scope_
. This scenario is also not covered by the spec.