New Relic Dashboard Builder
Project description
New Relic Dashboard Builder
New Relic Dashboard Builder is a command-line tool for configuring New Relic dashboards using simple, human-readable YAML files. With New Relic Dashboard Builder, definitions for New Relic dashboards can be kept in version control to support tracking change history for dashboards. Definitions for NRQL queries and widgets can be consolidated into a single canonical location to be shared across multiple dashboards, enabling easier maintenance of a large number of dashboards and widgets.
Quick Start
With New Relic Dashboard Builder, definitions for dashboards consist of five components:
- Conditions - Specify the conditions used in the
WHERE
clauses of NRQL queries (e.g.WHERE response.status = 200
) - Output Selections - Specify the fields and aggregations selected from NRQL queries (e.g.
SELECT COUNT(*)
orSELECT response.status
) - Displays - Specify how the data from NRQL queries are displayed by specifying any
SINCE
,UNTIL
,WITH TIMEZONE
,COMPARE WITH
, orTIMESERIES
clauses - Queries - Specify full NRQL queries by tying together conditions, output selections, and displays.
- Dashboards - Specify which widgets using which queries go into which dashboards
Below is an example of a dashboard that displays information about transactions from a service
conditions:
web-transactions-condition: transactionType = 'Web'
output-selections:
total-count-output: COUNT(*)
displays:
facet-response-status-display:
nrql: FACET response.status
visualization: facet_bar_chart
queries:
web-transactions-by-response-status-query:
event: Transaction
condition: web-transactions-condition
output: total-count-output
display: facet-response-status-display
title: Transactions by Response Status
dashboards:
sample-dashboard:
title: Sample Dashboard
widgets:
- widget:
query: web-transactions-by-response-status-query
row: 1
column: 1
width: 1
height: 1
To create or update a dashboard in New Relic based on this YAML definition, simply run the New Relic Dashboard Builder tool
nrdash --api-key <Your-NewRelic-Admin-API-Key> --account-id <Your-NewRelic-Account-Id> dashboards.yml
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file nrdash-0.0.2rc3.tar.gz
.
File metadata
- Download URL: nrdash-0.0.2rc3.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76fe05046e96c87c447e2d6356ff04000689840bfa54f83c42756a8ee08db2bb |
|
MD5 | f3cbbae03af730529d124de24bb507c9 |
|
BLAKE2b-256 | 6d7aa9452cc952479eaf7e086d08bab3f46ce56e591092124129e099929f5d2a |
Provenance
File details
Details for the file nrdash-0.0.2rc3-py3-none-any.whl
.
File metadata
- Download URL: nrdash-0.0.2rc3-py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cacb6cd20f56ccdf2538b6dfc30f3e02df8263d8f6e43215dbaa3299253dedd3 |
|
MD5 | 45e39e97c579469b8bc682016cac0c37 |
|
BLAKE2b-256 | f7bb7b53b4037864e696f3981efce06eb7206c9e8fd79c2052922a3aef13db16 |