
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
62 lines
2.1 KiB
JSON
62 lines
2.1 KiB
JSON
{
|
|
"dashboard": {
|
|
"new-dashboard": {
|
|
"rows": [
|
|
{
|
|
"collapse": false,
|
|
"editable": true,
|
|
"height": "250px",
|
|
"panels": [
|
|
{
|
|
"bars": false,
|
|
"datasource": "graphite",
|
|
"editable": true,
|
|
"error": false,
|
|
"fill": 1,
|
|
"lines": true,
|
|
"linewidth": 2,
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"span": 12,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"target": "$hostname.Cpu.cpu_prct_used"
|
|
}
|
|
],
|
|
"title": "no title (click here)",
|
|
"type": "graph",
|
|
"x-axis": true,
|
|
"y-axis": true
|
|
}
|
|
],
|
|
"showTitle": false,
|
|
"title": "New row"
|
|
}
|
|
],
|
|
"templating": {
|
|
"enabled": true,
|
|
"list": [
|
|
{
|
|
"datasource": "graphite",
|
|
"includeAll": false,
|
|
"multi": false,
|
|
"name": "hostname",
|
|
"query": "node*",
|
|
"refresh": 1,
|
|
"type": "query"
|
|
}
|
|
]
|
|
},
|
|
"time": {
|
|
"from": "2018-02-07T08:42:27.000Z",
|
|
"to": "2018-02-07T13:48:32.000Z"
|
|
},
|
|
"timezone": "utc",
|
|
"title": "New dashboard"
|
|
}
|
|
}
|
|
}
|