RousselTMLEARNING

Article · New Relic: from discovery to expertise

Alerts, SLOs and incidents

1. The alerting model #

Policies, conditions, incidents, issues.

The pipeline #

Alert pipeline
ObjectRole
Policygroups conditions and sets issue creation (per policy, per condition, per condition and signal)
ConditionNRQL query evaluated continuously, with critical and warning thresholds
Incidentopened when a signal crosses a threshold
Issuegroups related incidents; it is what gets notified
Workflowfilters issues, enriches them (NRQL query) and sends them to destinations
DestinationSlack, Teams, e-mail, PagerDuty, ServiceNow, Jira, webhook…

Writing a NRQL condition #

SELECT percentage(count(*), WHERE error IS true) FROM Transaction WHERE appName = 'boutique' FACET host
-- Critical threshold: above 5% for at least 5 minutes
-- Warning: above 2% for at least 10 minutes
  • Each FACET value is a separate signal, evaluated independently (here, one per host).
  • For at least requires every value in the window to breach; at least once in opens the incident on a single value.
  • Static or anomaly thresholds (predicted baseline that accounts for daily and weekly cycles).

2. Tuning the data stream #

Avoiding false alerts.

Settings #

SettingEffectAdvice
Aggregation windowduration of each evaluated point (1 min by default)longer for sparse data
Method: event flowwaits for data of following windows to arrivesteady data (APM)
Method: event timercloses the window after a delay without datairregular data
Method: cadenceserver clock, legacy behaviouravoid unless needed
Gap fillingvalue used when a point is missing (none, static, last)"last value" for gauges
Loss of signalopens (or closes) an incident when nothing arrivesessential to detect a stopped service
Best practice : Alert on symptoms users feel (errors, latency, SLOs) rather than on every technical metric; keep causes (CPU, disk) for dashboards and investigation.

Reducing noise #

  • Muting rules: silence notifications during maintenance, on a schedule, while keeping incident history.
  • Correlation (applied intelligence, decisions): merges issues related by time, entities or topology.
  • Workflow enrichment: add the result of a NRQL query (latest errors, deployed version) to the notification to save time.

3. Service levels #

SLI, SLO and error budget.

Defining an SLO #

Error budget
  • SLI = good events / valid events, defined by two NRQL queries (valid and good, or valid and bad).
  • SLO = target over a rolling period (1, 7 or 28 days), for example 99.5% over 28 days.
  • Error budget = (1 − target) × valid events: with 2 million requests, 0.5% allows 10,000 errors.
  • New Relic suggests default SLIs for APM services (success and latency) and creates burn rate alerts.
Good to know : A burn-rate alert over two windows (for example 1 h and 5 min) reacts quickly to severe incidents without firing on an isolated error.

Commands to know #

Commands to know
  • SELECT percentage(count(*), WHERE error IS true) FROM Transaction FACET appName : error rate condition
  • SELECT count(*) FROM NrAiIncident WHERE event = 'open' FACET conditionName SINCE 7 days ago : noisiest conditions
  • resource "newrelic_nrql_alert_condition" : condition in Terraform
  • resource "newrelic_service_level" : SLO in Terraform

Sources #

Checked in November 2026: New Relic evolves its platform continuously (UI, plans, limits); check the documentation before relying on a detail.

📄 Alerts, service levels and incidents in New Relic →

My progress

  • ⏱ Estimated time : ≈ 5 min

Sign in to track your progress and take notes. Sign in

⭐ Rate this lesson

5.0 initial rating from the teaching team

Sign in to rate this lesson →

💬 Questions about this lesson

No questions yet: be the first to ask for help or share your configuration.

Ask a question about this lesson →

Recommended Articles

Time-based vs event-based SLO: understanding, computing and choosing (with the Qonto example)

Differences between time-based SLOs (time slices, uptime) and event-based SLOs (good events over ...

Alerts, connectors and SLOs in Kibana

Create alert rules in Kibana (Elasticsearch query, ES|QL, custom threshold, logs), configure conn...

Observability, SRE and incident management for DevOps teams

Operate what you ship: metrics, logs and traces, golden signals, SLIs, SLOs and error budgets, ac...

Managing SLOs with Pyrra

Pyrra: define availability and latency SLOs as Kubernetes CRDs or files, generate Prometheus rule...

Grafana SLO in Grafana Cloud

Grafana SLO in Grafana Cloud: SLI, objective and error budget, creating a ratio SLO, fast and slo...

New Relic: the observability platform at a glance

Discover New Relic: history, the unified platform and NRDB, MELT data types, entities and golden ...

New Relic APM: agents, OpenTelemetry and distributed traces

Instrumenting applications with New Relic: language agents, configuration, transactions and Apdex...

Infrastructure, logs and Kubernetes with New Relic

Monitoring servers, containers and Kubernetes with New Relic: infrastructure agent, on-host integ...

Monitors, SLOs, dashboards and Datadog as code

Create effective monitors (metrics, logs, APM, composites, anomalies), SLOs, dashboards, and mana...

Support us

♥ SUPPORT US

Support RousselTM Learning

Courses, articles, labs and certificates stay free with no intrusive ads. A voluntary contribution, of any amount you choose, pays for hosting, lab environments and new content.

Contribute with PayPal Any amount · card or PayPal accountLearn more
QR code PayPal
Or scan this QR code with your phone

Thank you, every contribution counts!