---
title: "OpenTelemetry Basics on Heroku Fir"
description: "Heroku's Fir platform has OpenTelemetry built in and acts as the telemetry collector, so apps can forward platform logs, metrics and traces to any OTLP-compatible backend without running their own collector."
url: "https://swe.quest/articles/opentelemetry-basics-on-heroku-fir-3ce90275eecb8290"
canonical: "https://www.heroku.com/blog/opentelemetry-basics-on-heroku-fir/"
source: "Heroku Engineering"
published: "2025-05-27"
difficulty: "medium"
kind: "How-to"
reading_minutes: 7
tags: ["observability","cloud"]
---

# OpenTelemetry Basics on Heroku Fir

A post on [Heroku Engineering](https://swe.quest/sources/heroku.md), published 2025-05-27, 7 min read, How-to. Original: [https://www.heroku.com/blog/opentelemetry-basics-on-heroku-fir/](https://www.heroku.com/blog/opentelemetry-basics-on-heroku-fir/)

## Summary

Heroku's Fir platform has OpenTelemetry built in and acts as the telemetry collector, so apps can forward platform logs, metrics and traces to any OTLP-compatible backend without running their own collector. After a brief primer on OpenTelemetry signals and the split between SDKs and collectors, a Go sample app is deployed to a Fir space and wired to Grafana Cloud. The setup takes Grafana's OTLP endpoint and auth headers, converts the headers to JSON with sed, and registers them with \`heroku telemetry:add\`. Metrics, router traces and logs then appear in Grafana within minutes.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Observability](https://swe.quest/tags/observability.md) (Reliability & operations)
- [Cloud platforms](https://swe.quest/tags/cloud.md) (Infrastructure)

## Prerequisites

- Heroku CLI basics ([easy posts on Developer tools](https://swe.quest/tags/developer-tools.md?difficulty=easy))
- observability concepts ([easy posts on Observability](https://swe.quest/tags/observability.md?difficulty=easy))

## Keywords

OpenTelemetry, Heroku Fir, Grafana Cloud, OTLP, Heroku Telemetry Drain

## Related posts

- [How We Export Metrics to Third-Party Services](https://swe.quest/articles/how-we-export-metrics-to-third-party-services-3378a3c9ceb725eb.md): Neon · 2025-06-24 · Medium · 4 min read · Observability, Kubernetes, PostgreSQL
  Neon streams Postgres and host metrics to Datadog, New Relic and any OTLP-compatible platform by running a per-project OpenTelemetry Collector colocated with compute pods in each region.
- [Why (and how) GitHub is adopting OpenTelemetry](https://swe.quest/articles/why-and-how-github-is-adopting-opentelemetry-0b6fb60f67930892.md): GitHub Engineering · 2021-05-26 · Medium · 4 min read · Observability, Ruby
  GitHub is standardizing on OpenTelemetry to replace a patchwork of statsd dialects, syslog-format logs and OpenTracing traces that made cross-signal correlation hard and forced repeated instrumentation work.
- [Make the PDS Your Own: Customization and Metrics](https://swe.quest/articles/make-the-pds-your-own-customization-and-metrics-c557a00f360cdbc0.md): AT Protocol · 2026-08-07 · Medium · 4 min read · Observability, Configuration management, Identity & auth
  The reference PDS release adds documented branding variables for the account management and OAuth screens: service name, logo, primary and semantic colors, footer links, and new light/dark background images.
- [Migrate Datadog telemetry with the OpenTelemetry Collector](https://swe.quest/articles/migrate-datadog-telemetry-with-the-opentelemetry-collector-3b921608bdac909d.md): ClickHouse · 2026-07-21 · Medium · 9 min read · Observability, Refactoring & migrations
  The OpenTelemetry Collector's Datadog receiver lets existing Datadog agents and SDKs send logs, traces and metrics to a Collector.
- [Building AI-Powered Observability with Heroku Managed Inference and Agents](https://swe.quest/articles/building-ai-powered-observability-with-heroku-managed-inference-and-agents-c65a18c2ea58a958.md): Heroku Engineering · 2026-02-13 · Medium · 5 min read · AI agents, Observability, Go, Debugging
  Observability platforms like Splunk, Honeycomb and Sentry can be exposed to AI coding assistants as MCP tools, so engineers query production telemetry in natural language from Cursor or Claude instead of switching to dashboards and writing SPL.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
