Closed
Description
Component(s)
connector/spanmetrics
Is your feature request related to a problem? Please describe.
In my current project, I need the instrumentation scope name as a dimension in the exported span metrics.
Describe the solution you'd like
Ideally, a new option instrumentation_scope
that allows you to configure which part of the scope should be included as a dimension:
spanmetrics:
instrumentation_scope:
name: true
version: false
Additionally, dimensions
should also look at the instrumentation scope attributes.
Describe alternatives you've considered
Alternative, I'd have to add the name of the instrumentation scope to the span's attributes before it's send to the collector and then use the dimensions
option. This isn't ideal, since every span would now have an additional tag.
Additional context
No response