jaeger(1)
Jaeger is a distributed tracing platform for monitoring and troubleshooting microservices-based distributed systems.
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
| Flag | What it does |
|---|---|
--collector.host-port | Collector gRPC host:port for span submission (agent mode) |
--sampling.type | Sampling strategy type: const, probabilistic, rate-limiting, or remote |
--sampling.param | Sampling strategy parameter (probability 0-1, rate limit, or decision) |
--reporter.logSpans | Log all spans to stdout for debugging |
--agent.port | Port for Jaeger agent UDP listener (default 6831) |
--collector.port | Port for Jaeger collector gRPC server (default 14250) |
--memory.max-traces | Maximum number of traces stored in memory backend |
--log-level | Logging level: debug, info, warn, error, fatal |
--query.base-path | Base path for Jaeger UI URLs |
--storage.type | Storage 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-oneStart Jaeger agent forwarding to remote collector with 10% sampling rate
jaeger-agent --collector.host-port=collector.jaeger:14250 --sampling.type=probabilistic --sampling.param=0.1Run Jaeger collector storing traces in Elasticsearch backend
jaeger-collector --storage.type=elasticsearch --es.server-urls=http://elasticsearch:9200Start Jaeger query UI with custom base path and memory backend limit
jaeger-query --query.base-path=/jaeger --memory.max-traces=10000Query Jaeger API for traces from a specific service
curl http://localhost:16686/api/traces?service=my-service&limit=20Run all-in-one Jaeger with debug logging and span output to console
jaeger-all-in-one --log-level=debug --reporter.logSpans=true