This is a plugin meant to be used as a centralized view for the status of component in a glance. It is very similar to the Single Stat panel, but it can hold multiple values from the same data source. Each value can be used to customize the panel in different ways:
Lets say that you want to monitor a bunch of servers, and you want to keep track of multiple stats for each of them, and see in a glance the status of all of them.
This plugin will make it easier to do. You just add all the metrics you want to track, and choose how you want their values to be treated:
Severity and text values can be shown in 2 modes:
Note: The disable markers are prioritized over the severity ones.
You can also repeat the panel on a template if you have multiple instances that you want to watch.
Panel Title
field.
Note: this field supports Grafana templates, so if you repeat the panel the correct name will showThreshold
option types (Number Threshold
/ String Threshold
/ Date Threshold
) under Handler Type
. Enter the Warning
and Critical
thresholds for each of your queries.
Display Alias
, Display Value
String Threshold
option makes equality check to the valuesNumber Threshold
and Date Threshold
options make range check with the values. The plugin automatically detects if higher values are good, or lower values are good by checking which threshold is higher/lower. i.e. if in your metric higher values are better, put a lower value in the critical
threshold than the warning
threshold.Disable Criteria
option type under Handler Type
. Enter the Disable Value
for each of your queries.Text Only
option type under Handler Type
. The alias + the value of the metric will be shown on the panel by the Display Type
value.None
will use first item from the result)The plugins has a 'Remove Prefix' field in the configuration. This field is meant for easier renaming of the panels when you repeat them from a Grafana template.
i.e. you recognize your servers by domain, and they are all named in the following way www.general-prefix.server.com
, and you would like to remove the prefix from the display, then you enter www.general-prefix.
and all the panels will only display the server.com
part.
When you want to display just part of the value for a specific metric in the screen, you can pass a regex in the Value Regex
field, and if there is match, Only the first match will be displayed. Otherwise, the original value will be displayed.
Lets say that you want your user to be able to get instructions on what to do when a certain metric is at Warning or Critical levels. Just put a link in this field and the name will become clickable, and send your user to the URL (like an internal wiki).
Panel display tuning is available when metric value gets to different states (ok
/ warning
/ critical
/ disabled
):
bold
/ italic
) for metric text in warning
/ critical
/ disabled
states.If there is not data from any of the metrics, you can show the panel as disabled (in Grey), by checking the value Make panel gray when no data
on the top of the options tab
Currently the plugin was tested with influxDB and Graphite. Support for other data sources could be added by demand
When upgrading there might be some changes in the data the plugin uses and saves, so some of the configurations you made might be removed by accident. To prevent this loss of configuration you should save the panel JSON of all panels you have (by exporting the panel or dashboards) and keep them somewhere safe until you made sure everything is working after the upgrade.
See the LICENSE file for license rights and limitations (Apache License, Version 2.0)