sdk/metric does not respect metric.WithInstrumentationAttributes #4687
Labels
area:metrics
Part of OpenTelemetry Metrics
bug
Something isn't working
pkg:SDK
Related to an SDK package
Description
The metrics SDK does not add attributes added using metric.WithInstrumentationAttributes
Reported via Gophers Slack: https://gophers.slack.com/archives/CK623313R/p1698843326696549
Environment
Steps To Reproduce
https://go.dev/play/p/eoD76GfYWnz
Output:
Expected behavior
The data points for
count
hasfoo
attribute with value42
.The text was updated successfully, but these errors were encountered: