Collect and query distributed traces with Jaeger

domain: www.jaegertracing.io · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Deploy Jaeger (all-in-one for dev, separate components for production) and expose the Jaeger collector ports: 4317/4318 for OTLP, 14268 for Thrift HTTP, or 6831 UDP for Thrift compact
  2. Configure your application's OpenTelemetry SDK to export traces via OTLP to the Jaeger collector endpoint, or install a Jaeger client library and configure the remote sampler endpoint
  3. Set sampling strategy either via environment variable (OTEL_TRACES_SAMPLER=parentbased_traceidratio with OTEL_TRACES_SAMPLER_ARG=0.1 for 10%) or via Jaeger's remote sampling config endpoint
  4. Query traces via the Jaeger UI at port 16686 or via the HTTP API at '/api/traces?service=<service_name>&operation=<op>&limit=20&lookback=1h'
  5. Retrieve a specific trace by ID via GET '/api/traces/{traceID}' which returns a JSON envelope with 'data' array of trace objects containing spans and process metadata

Known gotchas

Related routes

Query distributed traces stored in Jaeger using the HTTP API and understand Jaeger storage backend configuration options
jaegertracing.io · 5 steps · unrated
Query distributed traces with Grafana Tempo TraceQL
grafana.com · 5 steps · unrated
Query distributed traces from Grafana Tempo using TraceQL via the HTTP API
grafana.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans