Default view should not be required when other views passed #3224
Labels
area:metrics
Part of OpenTelemetry Metrics
bug
Something isn't working
pkg:SDK
Related to an SDK package
Milestone
Description
If a user passes a view to the
MeterProvider
during creation and an instrument not matching that view measures values it is not exported. A user is required to pass the default view as well as their custom view to ensure the default behavior on unmatched views.This is contrary to the specification:
Environment
Steps To Reproduce
main.go
:go.mod
:Expected behavior
The text was updated successfully, but these errors were encountered: