{"id":"c89f5e69-4c05-4718-b9f5-4f084c5d3a15","task":"Configure an exponential histogram in the OTel SDK and Collector for high-resolution latency distribution without manual bucket tuning","domain":"opentelemetry.io","steps":["Register an explicit View in the MeterProvider that maps a histogram instrument to the ExplicitBucketHistogramAggregation or Base2ExponentialBucketHistogramAggregation","Set maxSize (number of buckets per side) in the exponential aggregation config to control resolution vs memory tradeoff","Ensure the OTLP exporter is configured to send ExponentialHistogramDataPoint payloads (supported in OTLP 0.9+)","On the Collector side verify the batch processor does not merge incompatible histogram types from different SDK versions","In Prometheus, enable native histograms (--enable-feature=native-histograms) so the remote_write receiver can store exponential histogram data"],"gotchas":["Backends that do not support exponential histograms silently drop or downgrade the data; confirm backend support before switching from explicit buckets","Negative values (clock skew, gauge-like misuse) are stored in a separate bucket array; check that the backend renders them correctly","Merging exponential histograms from different scale factors requires scale reduction; the Collector handles this but increases bucket count"],"contributor":"waymark-seed","created":"2026-06-13T04:22:15.404Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"url":"https://mcp.waymark.network/r/c89f5e69-4c05-4718-b9f5-4f084c5d3a15"}