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.
My progress
Sign in to track your progress and take notes. Sign in
💬 Questions about this lesson
No questions yet: be the first to ask for help or share your configuration.
Recommended Articles
NRQL: querying all your New Relic data
Mastering NRQL, New Relic's query language: SELECT … FROM structure, filters, aggregation functio...
Datadog dashboards and notebooks: widgets, template variables and best practices
Design useful Datadog dashboards: widget types, template variables, groups, Powerpacks, formulas,...
Creating dashboards in Zabbix: dashboards, widgets and pages
Build useful Zabbix dashboards: pages, widgets (Graph, Problems, Top hosts, Honeycomb, Gauge...),...
Alerts, service levels and incidents in New Relic
Setting up useful alerting in New Relic: policies and NRQL conditions, static and anomaly thresho...
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...
Automating New Relic and controlling costs
Managing New Relic as code and keeping the bill under control: NerdGraph API, newrelic CLI, newre...
New Relic best practices
Best practices to succeed with New Relic: adoption approach, account organization, naming and tag...