08/14/2026 | Press release | Distributed by Public on 08/14/2026 04:39
Histogram metrics preserve the full distribution of your observability data, enabling accurate percentile analysis and service-level objective (SLO) measurement. Dynatrace now extracts histogram metrics from spans and logs during ingestion with OpenPipeline, so you can capture latency distributions and other high-value metrics without re-instrumenting your services. This post explains how histogram metrics work, why they matter, and how they help you measure performance beyond averages, minimums, and maximums.
Picture a service that reports a 200 ms average response time. On the surface, it looks healthy. But if 5% of requests take more than 3 seconds, that average conceals the experience of your most affected users. As organizations adopt SLO-driven reliability practices, they need answers that summary statistics can't provide: What percentage of requests complete within 500 ms? Where does p99 latency actually fall? Those questions require distribution data, not a single aggregated value.
Single-value metrics simplify complex behavior into a single number, often obscuring the insights that matter most. Imagine a service where 80% of requests complete in 10 ms while the remaining 20% take 2 seconds. The average response time is 408 ms, but that number accurately represents neither group. Once you've stored only the average, the underlying distribution is lost-and with it, the ability to analyze percentiles, tail latency, or SLO compliance.
Histogram metrics preserve the distribution at write time:
The OpenTelemetry specification defines exponential histograms as a first-class metric type, and the industry is converging on this representation. Dynatrace is adopting this format as a native metric type, and it is consistent with Prometheus open-source histograms so your OpenTelemetry instrumentation works without translation or loss of fidelity.
Figure 1: Load-action response time for the first action of each user visit, tracked as median (p50), 95th, and 99th percentiles across the day.Computing a percentile used to mean scanning raw span or log data on every query. A request like this one ran against the full dataset each time:
fetch spans
| makeTimeseries percentile(duration, 95), by:{endpoint.name}
That works, but it reprocesses raw telemetry on every execution. With OpenPipeline, you configure a histogram metric extraction rule that converts span or log data into exponential histogram metrics at ingest. That same percentile analysis then becomes a straightforward metric query:
timeseries percentile(span.duration, 95), by:{endpoint.name}
The key detail is that this runs on data you're already ingesting. You don't re-instrument your applications, change your SDKs, or modify your OpenTelemetry collectors. OpenPipeline processes spans and logs flowing into Dynatrace and can automatically produce histogram metrics. The resulting metrics are stored in Grail, the Dynatrace data lakehouse, where they're available for Dynatrace Query Language (DQL) queries, dashboards, SLO definitions, and anomaly detection under the same retention and access controls as any other metric.
The extracted metrics use the exponential histogram format, aligned with OpenTelemetry conventions. Bucket boundaries adapt dynamically to the data range, so there's no upfront configuration of bucket sizes. That's a real advantage over classic histogram approaches, which require you to guess the right boundaries before you've seen the data.
Figure 2: The OpenPipeline histogram metric extraction configuration. Define a metric key, select the source field, and OpenPipeline creates exponential histogram metrics.For the full configuration walkthrough, see the OpenPipeline documentation.
Histogram metrics are more than a storage improvement. They support reliability use cases that single-value metrics can't:
Whether you're tracking API latency against an SLO, monitoring inference times for a machine learning model, or validating that a deployment didn't introduce a new latency mode, histogram metrics give you the data fidelity you need for SLO-driven reliability.
Histogram metrics preserve the distribution your SLOs depend on. OpenPipeline makes them available from the spans and logs you're already collecting with no re-instrumentation, and Grail, Dashboards, and Dynatrace Intelligence put them to work across your reliability workflows.
To configure your first histogram metric extraction rule, read the histogram metrics documentation. To explore the query experience first, try histogram metric queries on the Dynatrace Playground. And if you have questions or want to share your use cases, join the conversation on the Dynatrace Community.