Atlassian's OpenTelemetry Overhaul: Scaling Metrics by 96%

Alps Wang

Alps Wang

Sep 29, 2026 · 1 views

Re-architecting Metrics at Scale

Atlassian's strategic migration from gostatsd to OpenTelemetry represents a significant engineering feat, showcasing a pragmatic approach to modernizing a critical observability pipeline without disrupting existing services. The key insight is their ability to maintain the familiar StatsD-over-UDP interface while completely rebuilding the backend. This strategy effectively transformed an organization-wide application migration into a platform team's responsibility, drastically reducing the burden on thousands of individual service teams. The adoption of the OpenTelemetry Collector, with its modular pipeline design (receivers, processors, exporters), allowed for incremental improvements and optimizations at each stage: collection, ingest, aggregation, and forwarding. Notably, the aggressive data reduction of approximately 96% through aggregation, achieved by developing a custom delta aggregation processor, is a standout technical achievement that directly addresses the cost and performance challenges of massive telemetry data volumes. The estimated 30% cut in sidecar costs and significant CPU savings further underscore the tangible benefits.

However, the article touches upon a potential limitation regarding the stateful aggregation tier, which relies on manual configuration for scaling. While this might be acceptable for Atlassian's current setup, it raises questions about inherent scalability and automation for organizations with even more dynamic or unpredictable workloads. The reliance on manual configuration could become a bottleneck or a point of failure as the system grows or experiences extreme fluctuations. Furthermore, while the article emphasizes the success of preserving the StatsD interface, a complete transition to OpenTelemetry SDKs in the final stage, while beneficial for future development, might still present challenges for legacy systems or teams resistant to change. The success of this migration hinges on the platform team's expertise and ability to manage the complexity of the underlying OpenTelemetry components, which can have a steep learning curve. The comparison with Airbnb's approach, which involved dual emission from a shared library, highlights different strategic choices in tackling similar problems, suggesting that there isn't a one-size-fits-all solution. Atlassian's method prioritizes backward compatibility and a phased infrastructure overhaul, which is a valid and often necessary strategy for large enterprises.

Key Points

  • Atlassian successfully migrated its massive metrics pipeline (from ~100,000 hosts across 14 regions) from gostatsd to OpenTelemetry.
  • The migration prioritized maintaining the existing StatsD-over-UDP interface, transforming an organization-wide application migration into a platform team's project.
  • Key benefits include an approximate 96% reduction in data volume through aggregation, significant CPU savings (e.g., 3.9% per microservice), and an estimated 30% cut in sidecar costs.
  • The OpenTelemetry Collector's modular pipeline (receivers, processors, exporters) enabled incremental improvements and optimizations.
  • A custom delta aggregation processor was developed and open-sourced to address specific aggregation needs, leading to substantial data volume reduction and CPU efficiency.
  • The migration strategy involved phased rollouts, starting with development/staging, and emphasized continuous profiling in production over small benchmarks.
  • Future plans include migrating application instrumentation to OpenTelemetry SDKs and completing the end-to-end pipeline by replacing legacy aggregation and forwarding services.

Article Image


📖 Source: Atlassian Rebuilds Metrics Pipeline Around OpenTelemetry at Massive Scale

Related Articles

Comments (0)

No comments yet. Be the first to comment!