Sentry

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

Overview

Sentry provides self-hosted and cloud-based application performance monitoring and error tracking that helps software teams see clearer, solve quicker, and learn continuously.

The Datadog Sentry integration automatically forwards Sentry events to the Datadog event stream, allowing you to search and comment on errors and bug fixes and correlate Sentry errors with metrics and data from your other systems.

Setup

Installation

Setting up Sentry integration:

  1. Log into Sentry.
  2. Navigate to Settings > Projects and select the appropriate project.
  3. On the left side, select Legacy Integrations.
  4. Scroll down to the Webhooks integration, click the slider toggle to enable it, and then click Configure Plugin.
  5. Under Callback URLs’, enter the callback URL copied from the integration tile.
  6. Click Save changes.
  7. Enable the integration if necessary by clicking Enable Plugin.

By default, Sentry pings the Webhook with event data every time there is a new exception (as opposed to a new instance of an already-logged exception). If you want different (or additional) triggers, you can configure them in the Alerts section of your project settings.

Add a host name to errors (optional)

Occasionally, the server name which Sentry reports may not match the host name recognized by Datadog. To overcome this, set a custom value for the server_name tag, which is attached to each event.

To use a different host name while preserving Sentry’s default server_name value, set a hostname tag on your events. See Sentry’s documentation on Customizing Tags for your specific language.

Troubleshooting

Sentry errors missing in Datadog

If Sentry errors are missing from Datadog, your Sentry Webhook probably isn’t triggering. This could be due to the following scenarios:

Alerts are only sent when a rule is triggered:
For example, if the rule condition is when “an event is first seen”, an alert is not dispatched until a new issue is created. Depending on how many unique issues your project is receiving, this can take some time.

The notification integration is disabled:
Ensure that the notification integration is enabled under the rule actions, either as the specific service, or covered under “all enabled services”.

Further reading