
A cool feature grafana has is the ability to template dashboards with variables. This code now provides that ability to the user. Change-Id: Ib2f565e3d39523105b2c07d29d5257494a8bae67 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
43 lines
1.4 KiB
JSON
43 lines
1.4 KiB
JSON
{
|
|
"dashboard": {
|
|
"new-dashboard": {
|
|
"rows": [
|
|
{
|
|
"collapse": false,
|
|
"editable": true,
|
|
"height": "250px",
|
|
"panels": [
|
|
{
|
|
"bars": false,
|
|
"editable": true,
|
|
"error": false,
|
|
"fill": 1,
|
|
"lines": true,
|
|
"linewidth": 2,
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"span": 12,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [],
|
|
"title": "no title (click here)",
|
|
"type": "graph",
|
|
"x-axis": true,
|
|
"y-axis": true
|
|
}
|
|
],
|
|
"showTitle": false,
|
|
"title": "New row"
|
|
}
|
|
],
|
|
"templating": {
|
|
"enabled": false,
|
|
"list": []
|
|
},
|
|
"timezone": "utc",
|
|
"title": "New dashboard"
|
|
}
|
|
}
|
|
}
|