Visualizing Traces in Grafana (Grouped & Filtered by Endpoint & Status)

Hi everyone,

I’ve set up my own stack using Grafana, Tempo, Mimir, and Loki and can successfully collect OpenTelemetry data. I can see that traces are being imported into Tempo, but I’m struggling with visualizing them effectively in a Grafana panel.

What I’d like to achieve:

  • Group traces by url.pathname and resource.service.name, so that different HTTP methods (e.g., GET /accounts vs. POST /accounts) are displayed separately.
  • Visualize this as a horizontal bar chart, where each bar represents the total number of traces for today for a given endpoint and method.
  • Only count traces with HTTP status code 200, so I can quickly see which endpoints have been successfully requested the most today.

My questions:

  1. What’s the best way to create such a panel?
  2. Which panel type or visualization method is most suitable?
  3. How should I structure my query or transformations to achieve this grouping?

I’d really appreciate any guidance or best practices! :blush:

Best regards