Docs » Manage services, spans, and traces in Splunk APM » Explore your traces using Trace Analyzer in Splunk APM

Explore your traces using Trace Analyzer in Splunk APM 🔗

Use Trace Analyzer to search traces generated by your application and identify patterns in the full-fidelity trace data without prior knowledge of which tags are relevant.

Trace Analyzer is available to all Splunk Application Performance Monitoring (APM) users.

The following examples are questions that Trace Analyzer can help you answer:

  • How many traces and traces with errors exist for a given combination of service, environment, and tags?

  • For a given issue, which customers experience the highest error rate?

  • How do I locate error spikes in my trace data?

  • When and where are customers experiencing slowness?

  • How many customers are experiencing slowness?

When to use Trace Analyzer 🔗

Splunk Observability Cloud provides several tools for exploring application monitoring data. Trace Analyzer is suited to scenarios where you have high-cardinality, high-granularity searches and explorations to research unknown or new issues. See Guidelines for working with low and high cardinality data.

The following table presents what each APM tool is best suited for:

APM tool

Scenario

Analysis level

Cardinality

Documentation

Trace Analyzer

Identify patterns for unindexed tags

Trace-level analysis

High cardinality

Tag Spotlight and service map

Surface trends for indexed tags

Service-level analysis

Medium cardinality

Analyze service performance with Tag Spotlight

Monitoring MetricSets

Get alerts on service degradation

Workflow and service-level analysis

Low cardinality

Generate a Monitoring MetricSet with a custom dimension

Explore your trace data 🔗

To open Trace Analyzer, select Traces in Splunk APM and select Switch to Trace Analyzer. To switch back to the classic Traces page, select Switch to Classic View. See Explore your traces using the classic Traces page for more info about the classic traces view.

To explore your trace data, use the following controls, which are numbered as callouts in the image. Additional details for each callout follow the image:

Elements of the Trace Analyzer user interface, described in the list after this image.
  1. Use the filter bar to refine traces by time range, environment, workflow, services, and tags.

  2. Use the trace view selection to select trace and error counts or duration in the chart.

  3. Use the minimum and maximum trace duration to refine the traces that are included by their duration.

  4. Use the sample ratio to select all traces or 10% of traces. By default the sample ratio is set to 1:10. Once you make a selection, your selection is preserved.

  5. Use the Errors Only switch to show only traces with errors.

  6. Use the search to look up a trace by its ID.

  7. Use the real-time chart to view the count of total traces with error or a trace duration heatmap depending on your selections.

  8. Use the table of traces to view trace details or group metrics based on a tag.

Trace Analyzer searches all traces within the default retention period of 8 days. See Data retention in Application Performance Monitoring (APM) to learn more about the default trace retention period.

Explore trace and error counts 🔗

When you view Trace & error count, the real-time chart shows total traces and traces with errors in a stacked bars chart. Select and drag over the bars in the chart to select a specific period within the available time frame. Select Filter to selection to update the time range filter.

A user selects a specific time frame and selects Filters to selection, which populates a more detailed view.

Explore trace duration 🔗

When you view Trace Duration, the real-time chart shows a heatmap of traces by duration. The heatmap represents 3 dimensions of data:

  1. Time on the x-axis

  2. Trace duration on the y-axis

  3. The traces (or requests) per second are represented by the heatmap shades

Select and drag over the bars in the chart to select a specific time period and trace duration range. Select Filter to selection to add a time range filter and a min and max duration filter.

The Traces per second that represent the heatmap shades are scaled for the data in range based on your filters so, the trace per second legend values change based o the data in frame.

A user selects a specific time frame and duration range and selects Filters to selection, which populates a more detailed view.

View group metrics by tag 🔗

You can group all available traces by a single tag or attribute. For example, you can group all traces from your service by database table, host name, or HTTP status code.

Tag selection menu of Trace Analyzer

The resulting Group Metrics tab shows a breakdown of the top 100 values for the selected tag, ranked by the number of errors.

Metric table in Trace Analyzer

You can order both tables by the number of matching traces.

Trace Analyzer trace limits 🔗

Trace Analyzer can search a maximum of 6 hours of data.

Within the Trace Analyzer interface, there are 3 different display limits, numbered as callouts in the following image.

  1. The Trace Analyzer chart displays up to 6 hours of traces.

  2. The Group Metrics tab displays up to 6 hours of traces.

  3. The list of traces displayed on the Traces tab has a limit of 1,000 traces. Trace Analyzer searches for traces at the end of the time window you select. When 1,000 traces are matched or the 6-hour search window is reached, the list stops populating.

Elements of the Trace Analyzer user interface that have trace limits, described in the list after this image.

Learn more 🔗

See the following links for more information on Trace Analyzer and traces in Splunk APM: