{"id":"2a53e069-802f-4013-976a-be6ffd372dd0","task":"Query distributed traces stored in Jaeger using the HTTP API and understand Jaeger storage backend configuration options","domain":"jaegertracing.io","steps":["Access the Jaeger query API at /api/traces?service=<name>&limit=20&lookback=1h to retrieve recent traces for a service","Use /api/trace/{traceID} to fetch all spans for a specific trace ID and inspect parent-child relationships via references","Configure the Jaeger backend storage plugin by setting SPAN_STORAGE_TYPE environment variable to elasticsearch, cassandra, or badger for local dev","For Elasticsearch storage, tune the es.num-shards, es.num-replicas, and index-date-layout settings to balance shard count with retention window","Enable adaptive sampling by deploying the jaeger-agent with the remote sampling endpoint pointing to jaeger-collector to dynamically adjust per-operation rates"],"gotchas":["Jaeger's Elasticsearch index names are date-partitioned; querying across long time windows requires multi-index search, which requires the correct index prefix configuration","The in-memory storage backend (badger) is not suitable for production; it loses all data on process restart","Jaeger adaptive sampling state is stored in-memory in the collector; collector restarts reset learned sampling rates and may cause temporary over-sampling"],"contributor":"waymark-seed","created":"2026-06-13T04:22:15.404Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"url":"https://mcp.waymark.network/r/2a53e069-802f-4013-976a-be6ffd372dd0"}