---
title: "Why (and how) GitHub is adopting OpenTelemetry"
description: "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."
url: "https://swe.quest/articles/why-and-how-github-is-adopting-opentelemetry-0b6fb60f67930892"
canonical: "https://github.blog/engineering/infrastructure/why-and-how-github-is-adopting-opentelemetry/"
source: "GitHub Engineering"
published: "2021-05-26"
difficulty: "medium"
kind: "Case study"
reading_minutes: 4
tags: ["observability","ruby"]
---

# Why (and how) GitHub is adopting OpenTelemetry

A post on [GitHub Engineering](https://swe.quest/sources/github.md), published 2021-05-26, 4 min read, Case study. Original: [https://github.blog/engineering/infrastructure/why-and-how-github-is-adopting-opentelemetry/](https://github.blog/engineering/infrastructure/why-and-how-github-is-adopting-opentelemetry/)

## Summary

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. The initial focus is tracing as the root signal, from which metrics, logs and exception reports can be derived and correlated via trace IDs injected into log lines. Opinionated internal helper libraries and community auto-instrumentation for Rails, PG, ActiveJob and HTTP clients give quick wins. Ruby config examples show a no-op span exporter for tests and a few \`c.use\` lines that surface slow database calls.

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)
- [Ruby](https://swe.quest/tags/ruby.md) (Languages)

## Prerequisites

- distributed tracing basics ([easy posts on Observability](https://swe.quest/tags/observability.md?difficulty=easy))
- Ruby on Rails ([easy posts on Ruby](https://swe.quest/tags/ruby.md?difficulty=easy))

## Keywords

OpenTelemetry, OTLP, OpenTracing, statsd, Rails, CNCF

## Related posts

- [Logs, Metrics, and Traces: What Does Each Signal Tell You?](https://swe.quest/articles/logs-metrics-and-traces-what-does-each-signal-tell-you-3a828a88ec5fbd9a.md): Railway · 2025-11-07 · Easy · 8 min read · Observability, Incidents & postmortems
  Logs, metrics and traces answer different questions: metrics show when behaviour changed, traces show where in the service graph a request slowed or failed, and logs explain why.
- [Observability as a superpower](https://swe.quest/articles/observability-as-a-superpower-5609b41c95a2309f.md): incident.io · 2024-11-04 · Medium · 8 min read · Observability, Go, Debugging, Incidents & postmortems
  Distributed tracing with OpenTelemetry lets incident.io engineers spot bugs before customers report them, by showing each request's route as a tree of timed spans that exposes slow steps, N+1 queries and duplicate calls.
- [Making Rust observability reliable at scale with OpenTelemetry](https://swe.quest/articles/making-rust-observability-reliable-at-scale-with-opentelemetry-93edfa18e478ae5a.md): Datadog Engineering · 2026-09-01 · Medium · 10 min read · Observability, Rust, Open source
  Datadog built dd-trace-rs, an opinionated Rust tracer on top of the OpenTelemetry Rust SDK, to fix fragmented traces, inconsistent sampling and context loss across Rust services.
- [Measuring Git performance with OpenTelemetry](https://swe.quest/articles/measuring-git-performance-with-opentelemetry-5dc23c9e1ec580dd.md): GitHub Engineering · 2023-10-16 · Medium · 17 min read · Version control, Observability, Performance engineering, Developer tools
  trace2receiver is an open source OpenTelemetry collector component that converts Git's built-in Trace2 performance events into OpenTelemetry spans and metrics.
- [Tracing Notifications](https://swe.quest/articles/tracing-notifications-050fff7612252fe6.md): Slack Engineering · 2023-04-04 · Medium · 10 min read · Observability, Communications, Distributed systems, Analytics & OLAP
  Slack models every notification as its own distributed trace, using the notification\_id as the trace\_id and span links back to the sender's message trace, so notification flows can be sampled at 100% while ordinary backend requests stay at 1%.

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)
