Network Performance Monitoring is now generally available! Network Monitoring is now available!

Viewing Analytics

Overview

Use App Analytics to filter application performance metrics and Analyzed Spans by user-defined tags. It allows deep exploration of the web requests flowing through your service.

App Analytics can be enabled per APM service and per host. A service on which it is enabled exposes all its Analyzed Spans to Datadog.

Downstream services like databases and cache layers aren’t in the list of available services (as they don’t generate traces on their own), but their information is picked up by the top level services that call them.

In the App Analytics view you can:

Analyzed Spans

When a request hits a service (e.g. webserver, database), the Datadog Agent creates an Analyzed Span. It’s a record of the request including its duration, response code, and any custom metadata. An Analyzed Span is represented by a single span with attached metadata for the handled request. For each service that receives a request, the agent creates an Analyzed Span. If a request runs through a web service, listing service, and database service, the request will generate 3 Analyzed Spans. To reduce the amount of Analyzed Spans generated, explicitly turn on/off any Analyzed Span collection for a specific service.

To start collecting Analyzed Spans, enable App Analytics for your services.

Complete traces

If checked, Analyzed Spans listed in the trace stream have a trace associated with them, so you can display the full trace with all its associated span.

App Analytics query

Use the query to control what’s displayed in your App Analytics:

  1. Choose the Duration metric or a Facet to analyze. Selecting the Duration metric lets you choose the aggregation function whereas Facet displays the unique count.

  2. Select the aggregation function for the Duration metric:

  3. Use Tag or Facet to split your Analytic.

  4. Choose to display either the X top or bottom values according to the selected Facet or Duration.

  5. Choose the Analytic Timesteps. Changing the global timeframe changes the list of available Timesteps values.

Visualizations

Select a App Analytics visualization type using the Analytic selector.

Available visualizations:

Timeseries

Visualize the evolution of the Duration metric (or a Facet unique count of values) over a selected time frame, and (optionally) split by an available Facet.

The following timeseries App Analytics shows: The evolution of the pc99 duration by steps of 5min for each Service

Top List

Visualize the top values from a Facet according to their Duration (or a Facet unique count of values):

The following Top List App Analytics shows: The top pc99 duration of Service

Table

Visualize the top values from a facet according to a chosen measure (the first measure you choose in the list), and display the value of additional measures for elements appearing in this top. Update search query or drill through logs corresponding to either dimension.

  • When there are multiple dimensions, the top values are determined according to the first dimension, then according to the second dimension within the top values of the first dimension, then according to the third dimension within the top values of the second dimension.
  • When there are multiple measures, the top or bottom list is determined according to the first measure.
  • The subtotal may differ from the actual sum of values in a group, since only a subset (top or bottom) is displayed. Events with a null or empty value for this dimension are not displayed as a sub-group.

Note: A table visualisation used for one single measure and one single dimension is the same as a toplist, just with a different display.

The following Table Log Analytics shows the evolution of the top Status Codes according to their Throughput, along with the number of unique Client IPs, and over the last 15 minutes:

Select or click on a section of the graph to either zoom in the graph or see the list of traces corresponding to your selection:

Export

Export your App Analytics:

Traces in Dashboard

Export App Analytics from the Trace search or build them directly in your Dashboard alongside metrics and logs.

Learn more about the timeseries widget

Further Reading