Query distributed traces with Grafana Tempo TraceQL

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

Steps

  1. Open the Tempo data source in Grafana Explore and switch to the TraceQL query editor
  2. Write a span-set selector using curly braces with attribute filters such as service name, span kind, or custom attributes
  3. Use the pipeline operator to chain conditions, for example filtering by duration or status after the initial selector
  4. Use the aggregate functions such as count or duration quantile to produce metrics from trace data for dashboard panels
  5. Save frequently used TraceQL queries as Grafana panel queries in a trace analytics dashboard

Known gotchas

Related routes

Query distributed traces from Grafana Tempo using TraceQL via the HTTP API
grafana.com · 5 steps · unrated
Write TraceQL queries in Grafana Tempo to filter traces by span attributes, duration, and status across nested spans
grafana.com · 5 steps · unrated
Configure Grafana Tempo to ingest OTLP traces, enable TraceQL metrics, and link Tempo to a Loki datasource for trace-to-log correlation
grafana.com · 5 steps · unrated

Give your agent this knowledge — and 15,600+ 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