Open
Description
I am using the opentelemetry-proto crate to serialize incoming OpenTelemetry metrics data. The crate defines certain fields (count
, bucket_counts
under HistogramDataPoint
) as u64. However, the OpenTelemetry exporter sends these fields as strings, which leads to serialization failures.
This mismatch between the data types in the crate and the incoming data prevents successful serialization of metrics.
Sample JSON
otel-metrics-histogram.json
Similar issue is found in the ExponentialHistogramDataPoint
Metadata
Metadata
Assignees
Labels
No labels