New Relic AI: Asking Your Observability Data Questions in Plain English
NRQL is powerful, but not everyone on the team writes it fluently. New Relic AI, the generative AI assistant built into the platform, lets anyone ask questions in plain language and get queries, charts, and explanations.
What It Can Do
- Natural language to NRQL — "Show me the slowest 10 transactions in checkout-api over the last day" becomes a working query
- Explain errors — summarise an error stack trace and suggest likely causes
- Summarise alerts and incidents — what happened, what's affected, what changed
- Explain charts and anomalies on the page you're looking at
- Answer how-to questions using New Relic's documentation
Example Prompts
- "What's the error rate for checkout-api compared to yesterday?"
- "Which hosts had CPU over 90% in the last 6 hours?"
- "Why did response time spike at 14:30?"
- "Write a query for Core Web Vitals by page for mobile users."
Learning NRQL Faster
Use the assistant as a tutor. Ask it for the query, then read it:
SELECT percentile(duration, 95) FROM Transaction
WHERE appName = 'checkout-api' FACET name SINCE 1 day ago LIMIT 10
Change one clause at a time to understand what each part does. Within weeks, you'll write most queries yourself.
Limits to Remember
- AI-generated queries can be subtly wrong — check the attribute names and time ranges
- It can only reason about data you actually collect
- Root-cause suggestions are hypotheses; confirm with traces and logs
- Follow your organisation's policy for AI features and data settings
Where It Fits
AI makes observability accessible to more people — support engineers, product managers, and junior developers can self-serve. Experts still design dashboards, alerts, and SLOs; the assistant speeds up the everyday questions.
The barrier to observability used to be the query language. AI lowers it — but knowing what question to ask is still your job.