How to explore traces in Sentry

Learn how to explore traces in Sentry: change the aggregate to p75, group spans by span.op, and filter to pageload spans to see slow operations.

Quick answer

To explore traces in Sentry, open Explore, then Traces. Change the aggregate in Visualize from count to p75, add span.op under Group By, and enter a search such as span.op:pageload. The chart and the Aggregates table then show the p75 duration for only the spans that match your filter.

Steps at a glance

  1. Open Traces and click the count aggregate in Visualize
  2. Choose p75 from the list
  3. Open the Group By selector
  4. Select span.op
  5. Click the search bar
  6. Type span.op:pageload to filter spans
  7. Check the updated chart and Aggregates table

Interactive demo

Loading demo…

Summary

The Traces page in Sentry lets you aggregate span data instead of reading individual spans. Changing the aggregate, grouping, and filter shows which operations are slowest, so you can find where to look first.

Step-by-step guide

  1. Step 1

    Open the aggregate

    On the Traces page, find the Visualize section. It shows count and spans by default. Click count to open the list of aggregates.

  2. Step 2

    Choose p75

    In the list, look under Percentiles and select p75. The Visualize row now shows p75 with span.duration, and the chart title changes to p75(span.duration).

  3. Step 3

    Open Group By

    Below Visualize, find the Group By section. Click the selector that currently shows a dash to open the list of fields, which includes a search box.

  4. Step 4

    Group by span.op

    Search for span.op and select span.op from the results. The chart splits into one series per operation, and the Aggregates tab lists each operation with its p75(span.duration).

  5. Step 5

    Click the search bar

    At the top of the page, click Add a search term to start a filter on the spans.

  6. Step 6

    Filter to pageload spans

    Type span.op:pageload and press Enter. The filter appears as a token in the search bar.

  7. Step 7

    Check the filtered match count

    Below the chart, the line reading 49 matches of 978 spans shows how many spans passed the filter. The Aggregates table now lists only pageload with its p75(span.duration).

Why this matters

You have thousands of spans and need to know which kinds are slow. Switching to a percentile, grouping by operation, and filtering to one type turns that pile into a short table and a chart you can act on.

Frequently asked questions

  • Why use p75 instead of count?

    Count tells you how many spans exist. p75 shows the span duration that 75 percent of spans stay under, which points to slow operations.

  • Where do I see the grouped results as a table?

    Open the Aggregates tab below the chart. It lists each span.op value with its p75(span.duration).

Create interactive demos like this one — free, no coding required.

Start for free →