A distributed tracing system
open sourceApache-2.0self-hostablefree
Zipkin is a distributed tracing system that gathers the timing data needed to troubleshoot latency problems in service architectures, and lets you look traces up by ID or search them by service, operation, tags and duration. Instrumented applications report spans over HTTP, Kafka, gRPC, RabbitMQ, ActiveMQ or Pulsar to a single Java server (JRE 17+), which keeps them in memory or in Cassandra, Elasticsearch or OpenSearch and serves a web UI with a trace view and a dependency diagram of how requests flow between services. The Zipkin team maintains tracing libraries for Java (Brave), Go, JavaScript, C#, Ruby, Scala and PHP, and the zipkin-otel module lets the server accept OpenTelemetry (OTLP) traces. Twitter created Zipkin, modelled on Google's Dapper paper, and open sourced it in 2012; the volunteer OpenZipkin organization maintains it under Apache-2.0.
Ways to install
On Kubernetes
Package managers
Problems it solves
- a request is slow and I need to see which service in the chain is taking the time
- look up everything that happened to one request by its trace ID
- search recent requests by service, endpoint, tag and duration to find the slow ones
- draw a diagram of which of our services call which, from real traffic
- spot error paths and calls to services we thought were deprecated
- run a lightweight self-hosted tracing server in a single Docker container or Java jar
- store traces in the Elasticsearch, OpenSearch or Cassandra cluster we already run
- collect spans from our Java services over Kafka instead of HTTP
- add request tracing to our Java services with a mature, widely used tracing library
- send OpenTelemetry traces to a simple open source backend we can host ourselves
- see what share of a request's time each service spent and whether any step failed
- keep a long-retention copy of interesting traces on a second tracing server
- deploy a tracing server to Kubernetes with an official Helm chart
Features
- trace lookup by ID and search by service, operation name, tags and duration
- dependency diagram of traced requests between applications
- per-service time breakdown and failed-operation summary for each trace
- span transports: HTTP, gRPC, Kafka, RabbitMQ, ActiveMQ and Apache Pulsar (Scribe kept for old sites)
- storage: in-memory, Cassandra, Elasticsearch 7-8.x and OpenSearch 2.x (MySQL v1 as legacy)
- HTTP API v2 (v1 still supported) with health, info and Prometheus metrics endpoints
- trace archival to a second Zipkin server with longer retention
- self-tracing of the server's own API calls
- slim Docker image with in-memory and Elasticsearch storage only
- Zipkin-team tracing libraries for Java (Brave), Go, JavaScript, C#, Ruby, Scala and PHP
View 3 more
- OTLP (OpenTelemetry) trace ingestion over HTTP with the zipkin-otel module
- official Helm chart
- runs from Docker, an executable jar or Homebrew
Capabilities
| Has an API | plan not known |
|---|---|
| Has official SDKs | plan not known |
Alternatives
The same job
These do what Zipkin does.
- Jaeger Open source, distributed tracing platform
- SigNoz Open-source, OpenTelemetry-native observability: logs, metrics and traces in one tool
- Uptrace OpenTelemetry-native APM: distributed tracing, metrics and logs in one UI
- Grafana Tempo High-volume, minimal-dependency distributed tracing backend
- Honeycomb Observability built for the AI era
- Apache SkyWalking Observability for cloud-native and AI