Airflow 3.3.1 Enhances OpenTelemetry Metrics with Histogram Support for Deeper Insights
Apache Airflow, in its recently released version 3.3.1 on August 12, 2026, has introduced a notable enhancement to its OpenTelemetry integration. Specifically, the platform now records OpenTelemetry timer and timing metrics as Histograms instead of the previously used Gauges. This update, tracked under issue #64207, marks a shift towards more granular and insightful metric collection for Airflow users.
This change is highly significant for DevOps and SRE teams relying on Airflow for orchestrating complex data pipelines and workflows. Gauges provide only an instantaneous value, which can be misleading when analyzing performance characteristics like latency or duration. By adopting Histograms, Airflow now captures not just the sum and count of observations, but also their distribution across predefined buckets. This means practitioners can now understand the spread of their metric data—e.g., how many tasks completed within 100ms, between 100ms and 500ms, or over 1 second. This richer context is vital for identifying performance bottlenecks, understanding tail latencies, and setting more accurate SLOs/SLIs for their Airflow-managed processes. It moves observability beyond simple averages to a more nuanced understanding of system behavior.
The move to Histograms for timing metrics aligns perfectly with the broader trend in cloud-native observability towards more sophisticated and detailed data collection. OpenTelemetry itself, as a CNCF project, champions comprehensive telemetry data, and the use of Histograms is a standard best practice for measuring durations and sizes. Other major observability platforms and tools, such as Prometheus and Grafana, have long supported and encouraged the use of Histograms for similar reasons, recognizing their superiority over simple counters or gauges for certain types of metrics. This update positions Airflow more firmly within the modern observability ecosystem, making its telemetry data more compatible and valuable when ingested into advanced monitoring systems. This also reflects a maturing of OpenTelemetry's own metric specifications and their adoption across the ecosystem.
For practitioners, this means a direct upgrade in the quality of performance data available from their Airflow deployments. They should re-evaluate any existing dashboards or alerts that rely on Airflow's OpenTelemetry timer metrics, as the underlying data structure has changed. While Gauges might have provided a quick overview, Histograms demand a different approach to visualization and alerting to fully leverage their power. Teams should explore tools like Grafana's built-in Histogram visualizations or Prometheus's `histogram_quantile` function to extract meaningful insights like median, 90th, or 99th percentile latencies. This will enable more precise performance tuning, better capacity planning, and faster root cause analysis for intermittent issues that might be masked by average values. It also reinforces the need for a robust OpenTelemetry Collector setup to process and export these richer metrics effectively to their chosen backend.
Read original source