Info
Content

Components

Graph

General


Image: Basic Graph Settings

Draw Modes

Here you can set up the mode in which the graph will be drawn.

  • Bars
  • Lines
  • Points

Mode Options

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

Axes

Graphs enable additional edits, such as axes set up - axes range, unit, label, etc. Settings are available individually for each axis.


Image: Graph Axis Setting

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.


Image: Change the Y Axis Color

Legend

The Legend is used to set up labels of individual measurings.


Image: Graoh Legend Set Up

Alert

Grafana also provides basic alerting system.


Image: Alert Settings

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:

  • email
  • slack
  • webhook


Image: Notification Settings

Gauge

Basic


Image: Gauge Options Settings

Display

Show

  • Calculation - display of calculated aggregated values from the returned database values
  • All values - display of all returned values from teh database

Labels
Turns on numerical tresholds in the gauge.

Markers
Turns on color labels in the gauge.

Field

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

Tresholds

Treshold values create color sections for a more easily readable value recognition. Value Base is taken from Field > Min

Value mapping

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.


Image: Gauge Value Mapping

No Comments
Back to top