Docs » Analyze services with span tags

Analyze services with span tags đź”—

Drill down into service performance with span tags. Span tags provide additional context about operations that spans represent. Default span tags include things like the endpoint, operation, and HTTP method associated with a span. Analyze requests, errors, and latency for spans that contain specific span tags. This context enables you to understand service performance at a glance and helps you discover the root cause of issues faster.

APM processes and generates additional context for span tags you index. When you index a span tag, APM generates a set of metric time series (MTS) called MetricSets. For more information about MetricSets in APM, see MetricSets.

Index span tags to analyze services in the following ways:

  • Break down service performance by indexed tags in the Troubleshooting Service Map

  • View metric time series of service performance by indexed tags in Tag Spotlight

  • Track multiple traces for a specific activity with Business Workflows

If you don’t index any span tags, you can still view them when analyzing whole traces. You can even download traces and filter or process data by span tags manually. For more information, see Download traces.

Before you can index span tags, send spans with span tags to APM. For more information, see Add context to traces with span tags.

For information about how APM defines span tags and which span tags to index, see Which span tags to index.

To index span tags so APM generates Troubleshooting MetricSets, see Index span tags to gain insight into service performance.