HerokuKen W. AlgerExplainer
OpenTelemetry, Kubernetes, and Fir: Putting it All Together
Summary
Modern cloud-native applications span distributed microservices and dynamic environments, making performance diagnosis and failure analysis dependent on observability. The post explains how Fir, Heroku’s next-generation platform, combines Kubernetes infrastructure with OpenTelemetry to provide standardized visibility while hiding Kubernetes complexity behind Heroku’s interface. Fir runs on AWS EKS, uses OCI images and Cloud Native Buildpacks, and includes a Heroku OpenTelemetry Collector that gathers telemetry from applications, the Heroku router, and the Heroku API. OpenTelemetry’s APIs, SDKs, Collector, and OTLP support logs, metrics, and traces, with drains routing data to dashboards, CLI logs, or external observability platforms. The text also distinguishes OTLP gRPC and HTTP transports, noting gRPC efficiency and features versus HTTP’s firewall compatibility, and presents Fir’s open standards as a way to support scaling, hybrid environments, and reduce lock-in.
Context
Modern cloud-native architectures use distributed microservices across dynamic environments, so diagnosing performance issues, bottlenecks, and failures requires comprehensive observability. The text also frames Kubernetes complexity and vendor lock-in as relevant considerations for teams adopting Fir and integrating it with existing observability systems.
Approach / What changed
Fir combines a Kubernetes foundation running on AWS EKS with OCI images, Cloud Native Buildpacks, and native OpenTelemetry support. Its Heroku OpenTelemetry Collector gathers data from applications, the Heroku router, and the Heroku API, then sends it through configurable space- or application-level drains to dashboards, CLI logs, or third-party observability platforms. Applications can add SDK instrumentation for custom metrics and distributed traces.
Takeaways
Fir runs on AWS EKS and uses Kubernetes for automated scaling, self-healing, and resource management without exposing Kubernetes directly to end users.
Fir provides built-in OpenTelemetry logs and metrics for dynos and applications, while SDK instrumentation enables custom metrics and distributed traces.
OTLP supports both gRPC and HTTP transports; gRPC is more efficient and feature-rich, while HTTP 1.1 may work better across some firewalls or with certain language SDKs.
Source and freshness
- Source
- heroku.com
- Published
- Added to Yomu
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.