The Service Map for APM is here!

Trace page

View an individual trace to see all of its spans and associated metadata. Each trace can be viewed either as a flame graph or as a list (grouped by service or host).

Trace

Calculate the breakdown of execution time and adjust the color scheme by either service or host.

Service host display

To get a closer look at the flame graph, zoom in by scrolling:

Trace Error

The List view aggregates resources by service and sorts them according to their corresponding count of spans. Services are sorted per relative percentage of execution time spent by the trace in each service:

Trace list

More Information

Click on a span in the flame graph to show its metadata below the graph. If there’s an error, the stack trace is provided:

Trace Error

If you are analyzing a trace reporting an error, the error has a specific display if you follow the special meaning tags rules. When submitting your traces you can add attributes to the meta parameter. Some attributes have special meanings that lead to a dedicated display or specific behavior in Datadog:

Attribute Description
sql.query Allows specific SQL query formatting and display in Datadog’s UI.
error.msg Allows dedicated display for error message.
error.type Allows dedicated display for error types. Available types include, for instance, in Python ValueError or Exception and in Java ClassNotFoundException or NullPointerException.
error.stack Allows a better display of the stack trace of an exception in Datadog’s UI (red boxes, etc…)

Error Formating

View the host information related to the trace including host tags and graphs around the time of the trace.

Trace Host Info

See logs related to your service at the time of the trace. When you hover over a log, a line showing its timestamp is displayed on the trace flame graph. Clicking on the log brings you to the log explorer search.

Trace Logs

Further Reading

Table of Contents