Overview
Error Tracking processes errors collected from the browser by the Browser SDK. Whenever a source, custom, or report error containing a stack trace is collected, Error Tracking processes and groups it under an issue, or group of similar errors.
Setup
If you have not set up the Browser SDK yet, follow the in-app setup instructions or see the Browser setup documentation.
- Download the latest version of the Browser SDK.
- Configure your application’s
version
, env
, and service
when initializing the SDK. - Upload your JavaScript source maps to access unminified stack traces.
Link errors with your source code
In addition to sending source maps, the Datadog CLI reports Git information such as the commit hash, repository URL, and a list of tracked file paths in the code repository.
Error Tracking can use this information to correlate errors with your source code, allowing you to pivot from any stack trace frame to the related line of code in GitHub, GitLab and Bitbucket.
Linking from stack frames to source code is supported in the
Datadog CLI version
0.12.0
version and later.
For more information, see the Datadog Source Code Integration.
List uploaded source maps
See the RUM Debug Symbols page to view all uploaded symbols.
Limitations
Source maps are limited to 500 MB each.
Source maps are limited to 500 MB each.
Collect errors
You can monitor unhandled exceptions, unhandled promise rejections, handled exceptions, handled promise rejections, and other errors that the Browser SDK does not automatically track. Learn more about Collecting Browser Errors.
Further Reading
Additional helpful documentation, links, and articles: