이 페이지는 아직 한국어로 제공되지 않으며 번역 작업 중입니다. 번역에 관한 질문이나 의견이 있으시면 언제든지 저희에게 연락해 주십시오.

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.

  1. Download the latest version of the Browser SDK.
  2. Configure your application’s version, env, and service when initializing the SDK.
  3. Upload your JavaScript source maps to access unminified stack traces.

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.

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

PREVIEWING: may/unit-testing