$linuxjunkies
>

jaeger(1)

Jaeger is a distributed tracing platform for monitoring and troubleshooting microservices-based distributed systems.

UbuntuDebianFedoraArch

Synopsis

jaeger [COMMAND] [OPTIONS]

Description

Jaeger is an open-source, end-to-end distributed tracing system that helps developers monitor, troubleshoot, and optimize performance in complex microservice architectures. It collects timing data from individual service calls and visualizes the complete request flow across multiple services.

Jaeger agents collect trace spans from applications and forward them to Jaeger collectors, which store the data in a backend storage system. The Jaeger UI provides visualization and search capabilities for analyzing traces, identifying bottlenecks, and detecting errors across service boundaries.

Common options

FlagWhat it does
--collector.host-portCollector gRPC host:port for span submission (agent mode)
--sampling.typeSampling strategy type: const, probabilistic, rate-limiting, or remote
--sampling.paramSampling strategy parameter (probability 0-1, rate limit, or decision)
--reporter.logSpansLog all spans to stdout for debugging
--agent.portPort for Jaeger agent UDP listener (default 6831)
--collector.portPort for Jaeger collector gRPC server (default 14250)
--memory.max-tracesMaximum number of traces stored in memory backend
--log-levelLogging level: debug, info, warn, error, fatal
--query.base-pathBase path for Jaeger UI URLs
--storage.typeStorage backend: memory, badger, elasticsearch, cassandra, grpc

Examples

Run all-in-one Jaeger instance with agent on port 6831 and UI on port 16686

docker run -d --name jaeger -p 6831:6831/udp -p 16686:16686 jaegertracing/all-in-one

Start Jaeger agent forwarding to remote collector with 10% sampling rate

jaeger-agent --collector.host-port=collector.jaeger:14250 --sampling.type=probabilistic --sampling.param=0.1

Run Jaeger collector storing traces in Elasticsearch backend

jaeger-collector --storage.type=elasticsearch --es.server-urls=http://elasticsearch:9200

Start Jaeger query UI with custom base path and memory backend limit

jaeger-query --query.base-path=/jaeger --memory.max-traces=10000

Query Jaeger API for traces from a specific service

curl http://localhost:16686/api/traces?service=my-service&limit=20

Run all-in-one Jaeger with debug logging and span output to console

jaeger-all-in-one --log-level=debug --reporter.logSpans=true

Related commands