DEV Community

Alex Spinov
Alex Spinov

Posted on

Jaeger Has a Free Distributed Tracing Platform for Monitoring Microservices

Jaeger is an open-source distributed tracing platform, originally developed at Uber. It helps you monitor and troubleshoot transactions in complex distributed systems.

What You Get for Free

  • Distributed tracing — follow requests across services
  • Root cause analysis — find slow or failing services
  • Service dependency graph — visualize architecture
  • Performance optimization — identify bottlenecks
  • OpenTelemetry compatible — standard instrumentation
  • Multiple storage backends — Cassandra, Elasticsearch, Kafka

Quick Start

docker run -d --name jaeger -p 16686:16686 -p 4318:4318 jaegertracing/all-in-one
Enter fullscreen mode Exit fullscreen mode

UI at http://localhost:16686.

Send Traces (OpenTelemetry)

const { NodeSDK } = require('@opentelemetry/sdk-node');
const { OTLPTraceExporter } = require('@opentelemetry/exporter-trace-otlp-http');

const sdk = new NodeSDK({
  traceExporter: new OTLPTraceExporter({ url: 'http://localhost:4318/v1/traces' }),
});
sdk.start();
Enter fullscreen mode Exit fullscreen mode

Jaeger vs Zipkin

Feature Jaeger Zipkin
UI Richer Simpler
Storage Cassandra/ES/Kafka MySQL/ES/Cassandra
Origin Uber Twitter

Need tracing setup? Check my work on GitHub or email spinov001@gmail.com for consulting.

Top comments (0)