grafyaml/tests/schema/fixtures/dashboard-0023.yaml
Ian Wienand 92ef419c01 Remove query variable refresh deprecation
Added with dd6582e9ccb2b5fcb31e3833166df3af5aec9eff, we have found
that setting a bool here means the query variable no longer refreshes
at all.  Thus it's dangerous to accept it, force it to be an int.

For reference, the values seem to be

 0 = never refresh
 1 = on load
 2 = on timeseries change

Change-Id: Ia96f0166a80ece0b307acdca20eeca045a2e4a75
2020-06-24 20:36:09 +00:00

31 lines
713 B
YAML

dashboard:
templating:
- name: hostname
type: query
datasource: graphite
query: node*
refresh: 1
hide: 0
title: New dashboard
rows:
- title: New row
height: 250px
panels:
- title: no title (click here)
type: graph
datasource: graphite
minSpan: 4
repeat: $hostname
targets:
- target: $hostname.Cpu.cpu_prct_used
legend:
alignAsTable: true
avg: true
current: true
max: true
min: true
rightSide: true
show: true
total: false
values: true