Add unit to view instrument selection criteria #3643
Labels
feature-request
good first issue
Good for newcomers
sdk:metrics
Issues and PRs related to the Metrics SDK
spec-feature
This is a request to implement a new feature which is already specified by the OTel specification
As open-telemetry/opentelemetry-specification#3184 has merged, the next spec release will allow
unit
as an instrument selection criterion.To implement this, we'll need to:
instrumentUnit
toViewOptions
ExactPredicate
to theInstrumentSelector
ViewRegistry.matchInstrument()
and add it to the expression thereThe text was updated successfully, but these errors were encountered: