Error Tracking

Error Tracking Page

Monitoring the errors collected by Datadog is critical to your system’s health, but there can be so many individual error events that it’s hard to identify which ones matter the most and should be fixed first. Error Tracking makes it easier to monitor errors by:

  • Grouping similar errors into issues to turn this noisy flow of errors into a small list of manageable issues.
  • Following issues over time to show when they first started, if they are ongoing, and how often they are occurring, helping you identify the most important ones.
  • Getting all the context in one place to facilitate troubleshooting.

How Datadog error tracking works

The Datadog tracers collect errors through integrations and manual instrumentation of the source code. Error spans within a trace are processed by Error Tracking when they are located in the uppermost service span, which is also called the service entry span. The span must also contain the error.stack, error.msg, and error.type span tags in order to be tracked.

Flame graph with errors

Error Tracking computes a fingerprint for each error span it processes using the error type, the error message, and the frames that form the stack trace. Errors with the same fingerprint are grouped together and belong to the same issue.

Error Tracking is available for all the languages supported by APM and does not require using a different SDK.

Further Reading