Skip to content

Steve24by7/nr1-wall-status-board

Repository files navigation

New Relic Experimental header

Wall Status Board

This nerdlet is designed to allow key metrics to be observed in a way that makes incidents and platform state easy to recognise and evaulate with little cognitive effort. The panels change colour based on defined thresholds and the historical state is illustrated to provide context. The nerdlet is intended to be displayed full screen on a TV on the wall and be understood at a distance - but you can of course use it how you like.

Features

  • Fully configurable through UI (which is persistently stored by account)
  • Multiple groups of widgets (in 1, 2 or 3 columns)
  • Multi-page (including automated cycling through pages!)
  • Cross-account
  • TV Mode
  • CSS can be edited to style to your brand (including custom fonts and custom colours)
  • Get aggregated alerts from NRQL queries or New Relic Workloads
  • NRQL queries with thresholds
    • Use any NRQL query to drive widgets
    • Numeric and regex thresholds deriving warning and critical states
    • Sub query support to further decorate data (extensible through code)
  • Workloads alerts
    • With New Relic workloads aggregate entities as needed
    • Subdivide the workload for different groups

Screenshot

Installation

  • Download repo
  • run npm install
  • run nr1 nerdpack:uuid -gf
  • update the config.json with your New Relic account ID.
  • Serve locally nr1 nerdpack:serve or deploy using the nr1 CLI.

Configuration

All configuration is driven through the application, click the Configuration button and a form will appear below. Each field is described. Some of the more interseting settings are discussed here:

Default refresh rate

Each panel will auto refresh at this rate.

Auto rotate pages

If there is more than one page of widgets, then if this has a value > 0 then when in TV mode the pages will be cycled in turn.

Groups: Number of groups per row

Panels are displayed in groups. This setting allows you to determine if each group is 1 (6 panels per row), 2 (3 panels per row) or 3 (2 panels per row) columns wide.

NRQL Panels: Field name

When you provide your NRQL query try to alias the value you want to dusplay. This name is then used in the Field name ocnfiguration. This tells the nerdlet which field in the query to display and test against. Sometimes the field name is not what you might expect. If you have trouble enable debug mode on the panel and explore the results displayed in the console. This will show the data returned and importantly the field name applied to the value in the query. For instance in the query SELECT apdex(duration,0.5) from Transaction the field name is score.

NRQL Panels: Thresholds

You can provide thresholds for warning and critical states. These can either be numeric thresholds or regular expressions. You can choosew to display the value or provide an label for each state. This might be useful if the value itself is not very meaningful and a label would provide simpler cognitive effort.

NRQL Panels: Custom Features

An example custom feature is included called example. What this demonstrates is how to specify additional NRQL queries for the panel to enrich it further. For instance the demo data shows the numer of transactions for all apps, and then as an enrichment shows how many apps are reporting. Its possible to easily add extra features like this without the need to worry about the loading of data..

Workloads Panels: Overview

Workloads in New Relic One: Isolate and resolve incidents faster

Workloads Panels: Use case

With New Relic Workloads, it is easy to create a grouping of entities, such as applications, hosts, clusters, etc., and Workloads will function as the container to easily allow one alert panel for all, or use a NerdGraph attribute query to subdivide, so one alert panel for applications in the workload, one for hosts, and another for clusters.

Workloads Panels: Workload Name

The workload name is used to lookup the reference to the workload. It must exactly match the name of the workload.

Workloads Panels: Workload Query

As an example, use the following to limit the alert panel to just host entities within the workload

domain = 'INFRA'

Workloads Panels: Link URL

Optional, but recommended, drop the link to the workload here.

Error handling:

Many errors do not abort the page, but simply report in the console log. Use the Inspect funtion to view the log.

About

A nerdlet designed to allow key metrics to be observed in a way that makes incidents and platform state easy to recognise and evaluate with little cognitive effort.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors