
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>
48 lines
1.7 KiB
JSON
48 lines
1.7 KiB
JSON
{
|
|
"dashboard": {
|
|
"new-dashboard": {
|
|
"rows": [
|
|
{
|
|
"collapse": false,
|
|
"editable": true,
|
|
"height": "250px",
|
|
"panels": [
|
|
{
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"editable": true,
|
|
"error": false,
|
|
"maxDataPoints": 100,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"span": 12,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"targets": [],
|
|
"thresholds": "",
|
|
"title": "no title (click here)",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueName": "avg"
|
|
}
|
|
],
|
|
"showTitle": false,
|
|
"title": "New row"
|
|
}
|
|
],
|
|
"templating": {
|
|
"enabled": false,
|
|
"list": []
|
|
},
|
|
"timezone": "utc",
|
|
"title": "New dashboard"
|
|
}
|
|
}
|
|
}
|