# Connect New Relic to PagerDuty

> Turn real-time observability data into actionable alerts, without manual intervention.

**Canonical page:** https://tray.ai/connectors/new-relic-pagerduty-integrations/
**New Relic connector:** https://tray.ai/connectors/new-relic-integrations/
**New Relic documentation:** https://tray.ai/documentation/connectors/service/new-relic

## Overview

New Relic and PagerDuty are two of the most relied-on tools in a modern engineering team's stack. New Relic continuously monitors application performance, infrastructure health, and error rates, while PagerDuty gets the right people engaged the moment something goes wrong. Connecting them through tray.ai closes the gap between detecting an issue and resolving it — no manual handoffs, no dropped alerts.

Engineering and DevOps teams live and die by their mean time to detect (MTTD) and mean time to resolve (MTTR). When New Relic spots an anomaly — a spike in error rates, a degraded Apdex score, a saturated resource — every second spent manually triaging and routing that alert is a second your users feel it. Connect New Relic and PagerDuty through tray.ai and you can automatically escalate incidents to the right on-call engineer, enrich PagerDuty incidents with full New Relic diagnostic context, and auto-resolve incidents when New Relic confirms conditions are back to normal. The result is a faster, less manual incident lifecycle that keeps your SLAs intact and your engineers focused on fixing things, not coordinating.

## Use cases

### Automatic Incident Creation from New Relic Alerts

When New Relic fires a critical alert policy violation — a breached Apdex threshold, an error rate past its limit — tray.ai automatically opens a PagerDuty incident and assigns it to the correct service and escalation policy. No one has to manually translate a monitoring alert into an incident. On-call engineers get immediate, context-rich notifications without a human relay in between.

- Cut out the manual monitoring and handoffs that cause alert fatigue
- Every critical New Relic violation becomes a tracked PagerDuty incident instantly
- Reduce MTTD by triggering notifications the moment a threshold is breached

### Enriching PagerDuty Incidents with New Relic Diagnostic Data

When a PagerDuty incident is created, tray.ai automatically queries New Relic for relevant metrics, error traces, deployment markers, and host health data, then attaches all of it directly to the incident as notes or custom details. Responders arrive fully briefed, rather than spending the first several minutes hunting for diagnostic information in a separate tool.

- On-call engineers get full observability context before they even open New Relic
- Less time context-switching between monitoring and incident management platforms
- Faster root cause analysis with pre-populated trace and metric data

### Auto-Resolve PagerDuty Incidents When New Relic Conditions Normalize

tray.ai monitors New Relic for alert condition closures and automatically resolves or acknowledges the matching PagerDuty incident when the underlying issue clears. This prevents stale incidents from piling up in PagerDuty and stops on-call engineers from getting paged repeatedly for conditions that have already self-healed.

- No more noise from alerts that already resolved on their own
- PagerDuty dashboards stay clean and accurate
- Incident duration data reflects reality, which matters for SLA reporting

### Correlate New Relic Deployments with PagerDuty Incident Spikes

By connecting New Relic deployment markers with PagerDuty incident activity, tray.ai can flag when a new deployment coincides with a surge in incidents — creating annotations or triggering a dedicated change-related incident. Engineering teams get an immediate signal when a release may be causing production issues, along with an audit trail linking code changes to operational impact.

- Surface deployment-related regressions as structured PagerDuty incidents right away
- Clear causal link between code changes and production degradation
- Faster identification of the root cause after a problematic deploy

### Intelligent On-Call Routing Based on New Relic Service Ownership

tray.ai uses New Relic entity and service metadata to determine which team owns a degraded service and automatically routes the PagerDuty incident to the correct escalation policy. Instead of a single catch-all alert channel, incidents go directly to the team that actually owns the affected system.

- Incidents route to the right team automatically based on service ownership data
- No manual triage or reassignment overhead
- Faster acknowledgment because the most relevant on-call engineer gets paged first

### Post-Incident Reporting and SLA Compliance Tracking

After a PagerDuty incident is resolved, tray.ai automatically retrieves related New Relic performance data — anomaly duration, peak error rates, affected services — and compiles it into a structured post-incident report. That report can go out via email, Slack, or straight into a data warehouse for compliance tracking. No one has to write it by hand.

- Post-incident reports generated automatically from real observability data
- An auditable record of incidents, durations, and SLA impact without manual effort
- Engineering managers aren't stuck assembling performance data after the fact

### Scheduled Operational Health Digest from New Relic to PagerDuty Teams

tray.ai runs a scheduled workflow that queries New Relic for operational health metrics — error budgets, throughput trends, infrastructure utilization — and delivers a summarized digest to PagerDuty team leads or stakeholders. On-call teams get a proactive picture of system health before things escalate, so leaders can act on degrading trends rather than react to failures.

- Catch degrading trends before they turn into full PagerDuty incidents
- Engineering leads stay informed with regular, data-driven health summaries
- Easier proactive capacity planning and error budget management

## Templates

### New Relic Alert Violation → PagerDuty Incident

This template listens for New Relic alert policy violations via webhook and automatically creates a PagerDuty incident with severity mapping, service routing, and a summary of the triggering condition. No one has to manually translate a monitoring alert into an incident, and no critical violation slips through untracked.

Connectors used: New Relic, PagerDuty

### PagerDuty Incident → Enrich with New Relic Metrics

Triggered when a new PagerDuty incident opens, this template queries New Relic for real-time metrics, recent error traces, and infrastructure health for the affected service, then appends that data as a note to the incident. Responders arrive with the observability context they need to start investigating immediately.

Connectors used: New Relic, PagerDuty

### New Relic Alert Closed → Auto-Resolve PagerDuty Incident

When a New Relic alert condition closes because the monitored metric has returned to normal, this template automatically finds and resolves the matching open PagerDuty incident. Stale incidents stop accumulating, and SLA calculations reflect accurate resolution data.

Connectors used: New Relic, PagerDuty

### New Relic Deployment Marker → PagerDuty Change Event

This template captures New Relic deployment markers and creates a PagerDuty change event, giving engineering teams full visibility into when code was deployed relative to any incidents that follow. The correlation between releases and production issues becomes immediate rather than something you have to dig for.

Connectors used: New Relic, PagerDuty

### PagerDuty Incident Resolved → New Relic Post-Incident Report

After a PagerDuty incident is marked resolved, this template automatically pulls historical New Relic data for the incident window — peak error rates, affected entities, anomaly duration — and compiles a structured post-incident report delivered to a designated Slack channel or email recipient.

Connectors used: New Relic, PagerDuty

### Scheduled New Relic Health Check → PagerDuty Proactive Alert

On a configurable schedule, this template queries New Relic for services approaching threshold limits — rising error budgets, elevated p99 latency — and creates low-urgency PagerDuty incidents or sends informational alerts to on-call teams before conditions turn critical.

Connectors used: New Relic, PagerDuty

## Challenges Tray.ai solves

### Alert-to-Incident Latency Causing Delayed Response

In many organizations, there's a frustrating delay between when New Relic detects an issue and when an engineer actually gets paged in PagerDuty. That gap usually exists because alert routing involves manual steps, email forwarding, or poorly configured integrations that drop events when incident volume spikes.

**How Tray.ai helps:** tray.ai uses real-time webhook-based triggers that process New Relic alert violations the instant they fire, creating PagerDuty incidents in seconds with no polling delays or manual handoffs. Conditional logic in tray.ai means only actionable alerts — filtered by severity, service, or environment — trigger incidents, so you cut the noise without slowing down the response.

### Loss of Observability Context During Incident Response

On-call engineers routinely waste critical minutes navigating from a PagerDuty notification to New Relic just to gather the diagnostic context they need. Without automated enrichment, responders show up to an investigation blind — no error traces, no metric trends, no deployment history.

**How Tray.ai helps:** tray.ai automatically queries New Relic's REST API and NRQL engine the moment a PagerDuty incident is created, pulling relevant metrics and appending them directly to the incident as structured notes. Responders have full observability context in PagerDuty without switching tools during the first, most critical minutes of response.

### Stale Incidents Cluttering PagerDuty After Auto-Recovery

Many New Relic alerts self-heal — network blips, transient load spikes, and temporary resource exhaustion often resolve on their own. Without automated resolution workflows, those incidents stay open in PagerDuty, distorting SLA metrics, generating redundant pages, and adding cognitive overhead for anyone reviewing the incident queue.

**How Tray.ai helps:** tray.ai listens for New Relic alert closure events and automatically resolves the matching PagerDuty incident with a timestamped resolution note. This two-way sync keeps incident state accurate across both platforms and ensures SLA duration calculations reflect true incident windows, not the time someone remembered to close a ticket.

### Difficulty Correlating Deployments with Incident Spikes

Post-incident reviews often require engineers to manually cross-reference New Relic deployment markers with PagerDuty incident timelines to figure out if a release caused the problem. That manual correlation is slow, error-prone, and frequently skipped when an outage is still moving fast.

**How Tray.ai helps:** tray.ai automatically creates PagerDuty change events from New Relic deployment markers in real time, so every release is visible in PagerDuty's incident timeline. During an active incident, responders can immediately see recent deployments alongside their incidents. Post-incident analysis is backed by a complete, automatically maintained audit trail.

### Inconsistent Routing to Wrong Teams or Escalation Policies

When a single New Relic alert pipeline feeds all incidents into one PagerDuty service, incidents regularly go to the wrong team — causing delays and requiring manual reassignment. As organizations grow, maintaining those routing rules by hand becomes increasingly error-prone.

**How Tray.ai helps:** tray.ai's workflow logic dynamically evaluates New Relic entity metadata — service names, tags, account IDs — to determine the correct PagerDuty service and escalation policy for each incident at creation time. Routing rules live in a single tray.ai workflow, making them easy to audit, update, and version without touching either platform's configuration directly.

## Learn more

- Intelligent Integration: https://tray.ai/platform/intelligent-ipaas/
- Merlin Agent Builder: https://tray.ai/platform/merlin-agent-builder/
- Agent Gateway for MCP: https://tray.ai/platform/agent-gateway/
- Book a demo: https://tray.ai/contact/
