Track Browser Errors
Error Tracking processes errors collected from the browser by the RUM SDK: whenever a source or custom error containing a stack trace is collected, Error Tracking processes and groups it under an issue (group of similar errors). To quickly get started with error tracking:
- Download the latest version of the RUM Browser SDK.
- Configure the version, the env and the service when initializing your SDK.
Link errors with your source code
In addition to sending source maps, the new version of the Datadog CLI reports Git information such as the commit hash, the repository URL, and the list of tracked file paths in the code repository. Using this information, Error Tracking and RUM can correlate an error with the source code, and you can 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 and later.
Additional helpful documentation, links, and articles: