You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
terev
changed the title
Exported Int64ValueRecorder Metrics Via OTLP Have Empty Labels
Exported Int64ValueRecorder Metrics Via OTLP Have Missing Labels
Feb 20, 2021
I tried passing stringKeyValues(labels.Iter()) instead of nil and my labels end up being exported correctly. Is there a reason the labels aren't being passed?
terev
changed the title
Exported Int64ValueRecorder Metrics Via OTLP Have Missing Labels
Exported Int64ValueRecorder Metrics Via OTLP Missing Labels
Feb 21, 2021
Version: v0.16.0
Collector Version: v0.20.0
When exporting a metric via the OTLP exporter pointed at a grpc receiver in a collector. The exported metric has none of my defined labels.
metric setup:
I was able to hook up a debugger and trace the library to find the metric is being transformed to a gauge array https://github.com/open-telemetry/opentelemetry-go/blob/main/exporters/otlp/internal/transform/metric.go#L309 . Which makes sense but for some reason the labels on each data point are currently being set to nil. Is this a misake?
The text was updated successfully, but these errors were encountered: