Here you can set up the mode in which the graph will be drawn.
You can select the thickness of the line, fill etc. The Staircase option creates stair-like transitions among data points.
Stacking & Null value
- Stack - several graphs are put on top of each other
- Null value - defines the way null values are displayed
- null - graph outage
- connected - outage is connected
- null as zero - outage is displayed as zero
Graphs enable additional edits, such as axes set up - axes range, unit, label, etc. Settings are available individually for each axis.
To assign a metric to a given axis, click the color line next to the measuring label under the graph. The line is on the following image highlighted by a red rectangle. Here you can also change the color of the specific measuring.
The Legend is used to set up labels of individual measurings.
Grafana also provides basic alerting system.
After setting up the alerts, you can set up channels and messages in the section Notifications. However, channels have to be first set up in the Main Menu - Alerting > Notification Channels. Supported channels are:
- Calculation - display of calculated aggregated values from the returned database values
- All values - display of all returned values from teh database
Turns on numerical tresholds in the gauge.
Turns on color labels in the gauge.
This settings allows to secundarly name the gauge (Title), choose the unit (Unit), set up the minimal and maximal range of values, and set up the decimal places.
The element Title contains several "wild-cards":
$__series_name- inputs name of the measuring
$__field_name- inputs name of the value
$__calc- calculation type
Treshold values create color sections for a more easily readable value recognition.
Base is taken from Field > Min
Value mapping is a very useful tool for definind own text values. For example, the value 0 can mean CLOSED and 1 OPEN. On the image below you can see default mapping - not found data (null) are displayed as N/A text.