Skip to content

Latest commit

 

History

History
43 lines (37 loc) · 2.21 KB

Grafana_Custom_Dashboard.md

File metadata and controls

43 lines (37 loc) · 2.21 KB

The version of those guide and photo is 8.5.4

Create a new dashboard

Click Add(icon) > Create > Dashboard
image

Create a new panel

Click "Add a new panel" image
You can set up a new panel in here.
Right part is the setting of this panel.
image

Select data by query

Input query in the field
image
If the query is vaild, the result graph should be displayed.

Change visualization

Change the visualization though clicking the option on the top rightimage

image

Field name

In default, fields will be shown completely:
image
We can modify the field name in Standard options > Display name.
image
And we can extract the name by using variables

Example: Temp {Loc="PBI", Sensor="3"}

Expression syntax Renders to
${__field.displayName} Temp {Loc="PBI", Sensor="3"}
${__field.name} Temp
${__field.labels.Loc} PBI

More details in https://grafana.com/docs/grafana/next/panels/standard-field-definitions/#display-name We can use variables to display the field more clearly.
image