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
Digital experience: Browser, mobile and Synthetics
Measuring what users experience with New Relic: browser agent (page load, Core Web Vitals, AJAX, ...
Grafana cross-dashboard variables: share variables across dashboards
Create your Grafana variables once and reuse them everywhere: global or folder scope, enabling, a...
Mastering variables in Grafana: make your dashboards dynamic
Learn how to use variables to create interactive, reusable dashboards. Discover the difference be...
Monitors, SLOs, dashboards and Datadog as code
Create effective monitors (metrics, logs, APM, composites, anomalies), SLOs, dashboards, and mana...
Prometheus: visualizing your metrics (UI, Grafana and dashboards)
Visualize Prometheus data: the web interface, PromQL graphs, connecting to Grafana, RED and USE d...
Grafana dashboards with the Zabbix data source
Display Zabbix in Grafana: install the plugin, create a user and an API token, configure and prov...
Analyzing user experience in Dynatrace: sessions, traces, analysis and USQL
Use digital experience (DEM) data: Apdex and Core Web Vitals, user sessions, service flows, distr...
Dashboards, reports and alerts in Splunk
Making the most of Splunk searches: reports and scheduling, Dashboard Studio dashboards (data sou...
Using Faro data: queries, dashboards, alerts and GDPR
Query Faro data in Loki (Web Vitals, errors, events), build dashboards and alerts, and comply wit...