New Relic Integration Webhook Template
Configure New Relic integration to receive NRQL alerts and APM monitoring in Harness AI SRE.
Overview
New Relic provides:
- NRQL alerts: Query-based alerting on any data
- Entity correlation: Link alerts to monitored entities
- Service mapping: Automatic service discovery
- Golden signals: Pre-built SLI monitoring
- APM integration: Application performance tracking
Set up New Relic integration
- Navigate to Integrations in the main menu
- Click New Integration
- Select New Relic from the template options
- Enter a name and generate an ID
- Copy the generated webhook URL
- In your New Relic account, configure a webhook notification channel pointing to the copied URL
- Configure payload mapping to match New Relic incident fields to Harness AI SRE fields
- Set up route alerts to route and filter incoming New Relic incidents
Example Alert Payload
{
"incident": {
"id": 123456789,
"condition_id": 87654321,
"condition_name": "High Error Rate",
"policy_id": 543219876,
"policy_name": "Production API Policy",
"severity": "critical",
"state": "open",
"timestamp": 1647446400,
"url": "https://alerts.newrelic.com/accounts/12345/incidents/123456789"
},
"details": {
"message": "Error rate exceeded 5% threshold",
"duration": 300,
"threshold": 5.0,
"trigger_time": "2025-03-16T15:00:00Z"
},
"targets": [
{
"id": "MXxBUE18QVBQTElDQVRJT058MTIzNDU2Nzg5",
"name": "Production API",
"type": "application",
"product": "APM",
"link": "https://rpm.newrelic.com/accounts/12345/applications/987654321"
}
]
}
Next Steps
- Go to Route Alerts to route New Relic alerts.
- Go to Ingest Alerts Overview to view other integrations.