- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
In order to maintain functionality for this integration, replace your existing REST API key with a User API key in the integration configuration.
Connect to New Relic to see New Relic alerts in your event stream.
Complete the following steps in New Relic.
On the “Alerts & AI” tab, navigate to “Notification Channels”.
Select “New Notification Channel”.
Select “Webhook” as the channel type.
Name your channel “Datadog”.
Enter this base URL:
https://app.datadoghq.com/intake/webhook/newrelic?api_key=<DATADOG_API_KEY>
Click “Custom Payload” and ensure that the payload is in JSON format. Note: See section below for instructions on including custom tags in JSON.
Click “Create Channel”.
Click “Alert Policies”.
Select any alert policies for which you would like alerts to be sent into Datadog.
This section outlines the various types of New Relic alerts that can be processed in Datadog, detailing the required fields for each alert type. If any of the required fields are missing, the event wil be rejected and will not appear in the Event Explorer.
If “deployment” is in the webhook payload, it will be treated as an INFO event.
Required fields:
If “alert” is in the webhook payload, the event type will be determined from the short description according to the following rules:
Required fields
If the above criteria is not met, the severity field will be mapped to an alert type.
Required Fields:
You can include custom tags with the “Use Custom Payload” option through New Relic’s Beta Alerts feature. To configure this, navigate to your New Relic account, and click the ‘Alerts Beta’ button in the upper right-hand corner of the screen. Then, select the ‘Notification channels’ section and find the Webhook you’ve setup for Datadog. From here there should be a section called ‘Use Custom Payload’, and once selected, it expands to reveal a JSON payload. You need to modify this payload by adding a “tags” attribute. For example, a modified payload might look like this:
{
"account_id": "$ACCOUNT_ID",
"account_name": "$ACCOUNT_NAME",
"condition_id": "$CONDITION_ID",
"condition_name": "$CONDITION_NAME",
"current_state": "$EVENT_STATE",
"details": "$EVENT_DETAILS",
"event_type": "$EVENT_TYPE",
"incident_acknowledge_url": "$INCIDENT_ACKNOWLEDGE_URL",
"incident_id": "$INCIDENT_ID",
"incident_url": "$INCIDENT_URL",
"owner": "$EVENT_OWNER",
"policy_name": "$POLICY_NAME",
"policy_url": "$POLICY_URL",
"runbook_url": "$RUNBOOK_URL",
"severity": "$SEVERITY",
"targets": "$TARGETS",
"timestamp": "$TIMESTAMP",
"tags": ["application:yourapplication", "host:yourhostname", "sometag"]
}
After your modifications are complete, select Update Channel to save your changes.
Need help? Contact Datadog support.