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

New Relic best practices

Best practices to succeed with New Relic: adoption approach, account organization, naming and tag...

Service-Level Objectives (new platform) in Dynatrace

Defining and steering SLOs in the Dynatrace Service-Level Objectives app: templates and custom DQ...

SLOs in Dynatrace: objectives, error budget and burn rate

SLI, SLO and SLA, error budget and burn rate: defining an availability or performance SLO in Dyna...

NRQL: querying all your New Relic data

Mastering NRQL, New Relic's query language: SELECT … FROM structure, filters, aggregation functio...

SRE best practices: useful SLOs and respected budgets

Checklist for setting up SLOs that matter: choosing user journeys, realistic objectives, budget p...

New Relic dashboards: building, sharing and analysing

Building useful dashboards in New Relic: NRQL widgets, chart choice, template variables, facet li...

Automating New Relic and controlling costs

Managing New Relic as code and keeping the bill under control: NerdGraph API, newrelic CLI, newre...

The error budget: making decisions with SLOs

Calculate and track an error budget, write an error budget policy and use it to arbitrate between...

Chaos engineering: principles, tools and practice with SLOs

A complete guide to chaos engineering: principles, steady state and hypothesis, blast radius, lin...

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!