1. Building a dashboard #
One widget = one NRQL query.
Widgets #
- Each widget runs one or more NRQL queries, typed by hand or with the query builder; the chart type can be changed at any time.
- A dashboard can have several pages (overview, per-service detail, infrastructure).
- Thresholds colour billboards and tables (green, yellow, red) for instant reading.
Variables and interactions #
-- Variable "env" defined from a query:
SELECT uniques(tags.env) FROM Transaction SINCE 1 day ago
-- Used in a widget:
SELECT percentile(duration, 95) FROM Transaction WHERE tags.env IN ({{env}}) FACET appName TIMESERIES- Template variables: fixed list, query-based or free text; they avoid duplicating a board per environment.
- Facet linking: clicking a value filters the whole board (or another page).
- The time picker applies to widgets without their own
SINCE.
2. Sharing and versioning #
Sharing without losing control.
Options #
| Need | Solution |
|---|---|
| Internal team | board permissions: public (read/write) or private, per account |
| Person without account | public widget link or PDF / image export |
| Regular report | scheduled PDF export (depending on plan) or NerdGraph snapshot |
| Other account or environment | JSON copy then import, adjusting account IDs |
| Infrastructure as code | Terraform newrelic_one_dashboard or newrelic_one_dashboard_json resource |
Best practice : Manage important dashboards in Git (Terraform or JSON): you know who changed what, and can rebuild everything after an accidental deletion.
3. Analysing performance #
From symptom to cause.
Overview tools #
- Workloads: group a product's entities (front end, API, databases, queues) with an aggregated health status.
- Navigator: hundreds of entities as hexagons coloured by alerts.
- Lookout: highlights entities whose signals deviate from their recent behaviour.
- Service map and Dependencies: who calls whom, with the health of each link.
Investigation method #
- Start from the user symptom: Apdex, p95 latency, error rate, Core Web Vitals.
- Locate the start: deployment marker, configuration change, traffic spike (
COMPARE WITH). - Drill into the service: breakdown by segment, slowest transactions, traces.
- Follow dependencies: database, external service, saturated host, restarted pod.
- Confirm with logs in context, fix, then check the return to normal on the same board.
Watch out : An average hides problems: an endpoint averaging 200 ms can have 5% of requests at 4 s. Always look at percentiles and the distribution.
Commands to know #
Commands to know
SELECT histogram(duration, 3, 30) FROM Transaction: response time distributionWHERE tags.env IN ({{env}}): use a template variableSELECT uniques(appName) FROM Transaction: feed a variableresource "newrelic_one_dashboard": dashboard in Terraform
Sources #
Checked in November 2026: New Relic evolves its platform continuously (UI, plans, limits); check the documentation before relying on a detail.
