Alarm Box

Last updated a year ago

Panel

Grafana Alarm Box

This panel shows the total count of values across all series. This is useful if you want to show a total count of alarms. Options for this panel include variable font sizes; a drilldown link for the entire panel; and color thresholds for the value.

Values

A separate tab allows you to customize how the display and color values are calculated, using mathjs.

In addition to the data array, the initial scope also includes a now value, which is set to Date.now().

Compatibility

Development

Docker is an easy way to spin-up an instance of Grafana. With docker installed, run the following command in the directory containing the plugin; this will expose the local plugin on your machine to the Grafana container so you can test it out.

Use grunt test to run the Jasmine tests for the plugin; and grunt eslint to check for style issues. Note that the plugin controller isn't tested because it depends on Grafana native libraries, which aren't available outside of Grafana.

Contributing

For bugs and new features, open an issue and we'll take a look. If you want to contribute to the plugin, you're welcome to submit a pull request - just make sure grunt runs without errors first.