
This change adds support for datasource option to: * graph panel * singlestat panel * templating This enables the user to use other datasource than the default datasource for graph/singlestat panels and templating. It is useful when more than one datasource are available in Grafana. Change-Id: I2e81a2dc4658c530bf82c4b349e2991dad348b01
49 lines
1.7 KiB
JSON
49 lines
1.7 KiB
JSON
{
|
|
"dashboard": {
|
|
"new-dashboard": {
|
|
"rows": [
|
|
{
|
|
"collapse": false,
|
|
"editable": true,
|
|
"height": "250px",
|
|
"panels": [
|
|
{
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"datasource": "graphite",
|
|
"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"
|
|
}
|
|
}
|
|
}
|