mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
feat(plugins): dashboard import for data sources is working! #4298
This commit is contained in:
@@ -0,0 +1,176 @@
|
||||
{
|
||||
"__inputs": {
|
||||
"graphite": {
|
||||
"type": "datasource",
|
||||
"pluginId": "graphite",
|
||||
"description": "Graphite datasource"
|
||||
}
|
||||
},
|
||||
|
||||
"revision": "1.0",
|
||||
"title": "Graphite Carbon Metrics",
|
||||
"tags": ["graphite", "carbon"],
|
||||
"style": "dark",
|
||||
"timezone": "browser",
|
||||
"editable": true,
|
||||
"hideControls": false,
|
||||
"sharedCrosshair": false,
|
||||
"rows": [
|
||||
{
|
||||
"collapsable": true,
|
||||
"collapse": false,
|
||||
"editable": true,
|
||||
"height": "350px",
|
||||
"notice": false,
|
||||
"panels": [
|
||||
{
|
||||
"aliasColors": {},
|
||||
"annotate": {
|
||||
"enable": false
|
||||
},
|
||||
"bars": false,
|
||||
"datasource": "$__graphite",
|
||||
"editable": true,
|
||||
"fill": 0,
|
||||
"grid": {
|
||||
"leftLogBase": 1,
|
||||
"leftMax": null,
|
||||
"leftMin": null,
|
||||
"max": null,
|
||||
"min": 0,
|
||||
"rightLogBase": 1,
|
||||
"rightMax": null,
|
||||
"rightMin": null,
|
||||
"threshold1": null,
|
||||
"threshold1Color": "rgba(216, 200, 27, 0.27)",
|
||||
"threshold2": null,
|
||||
"threshold2Color": "rgba(234, 112, 112, 0.22)"
|
||||
},
|
||||
"id": 1,
|
||||
"legend": {
|
||||
"avg": false,
|
||||
"current": false,
|
||||
"max": false,
|
||||
"min": false,
|
||||
"show": true,
|
||||
"total": false,
|
||||
"values": false
|
||||
},
|
||||
"lines": true,
|
||||
"linewidth": 1,
|
||||
"loadingEditor": false,
|
||||
"nullPointMode": "null as zero",
|
||||
"percentage": false,
|
||||
"pointradius": 5,
|
||||
"points": false,
|
||||
"renderer": "flot",
|
||||
"resolution": 100,
|
||||
"scale": 1,
|
||||
"seriesOverrides": [
|
||||
{
|
||||
"alias": "Points Per Update",
|
||||
"yaxis": 2
|
||||
},
|
||||
{
|
||||
"alias": "CPU",
|
||||
"yaxis": 2
|
||||
}
|
||||
],
|
||||
"span": 12,
|
||||
"stack": false,
|
||||
"steppedLine": false,
|
||||
"targets": [
|
||||
{
|
||||
"refId": "A",
|
||||
"target": "alias(sumSeries(carbon.agents.*.updateOperations),\"Updates\") "
|
||||
},
|
||||
{
|
||||
"refId": "B",
|
||||
"target": "alias(sumSeries(carbon.agents.*.metricsReceived),'Metrics Received')"
|
||||
},
|
||||
{
|
||||
"refId": "C",
|
||||
"target": "alias(sumSeries(carbon.agents.*.committedPoints),'Committed Points')"
|
||||
},
|
||||
{
|
||||
"refId": "D",
|
||||
"target": "alias(sumSeries(carbon.agents.*.pointsPerUpdate),'Points Per Update')"
|
||||
},
|
||||
{
|
||||
"refId": "E",
|
||||
"target": "alias(averageSeries(carbon.agents.*.cpuUsage),'CPU')"
|
||||
},
|
||||
{
|
||||
"refId": "F",
|
||||
"target": "alias(sumSeries(carbon.agents.*.creates),'Creates')"
|
||||
}
|
||||
],
|
||||
"timeFrom": null,
|
||||
"timeShift": null,
|
||||
"title": "Graphite Carbon Metrics",
|
||||
"tooltip": {
|
||||
"query_as_alias": true,
|
||||
"shared": false,
|
||||
"value_type": "cumulative"
|
||||
},
|
||||
"type": "graph",
|
||||
"x-axis": true,
|
||||
"y-axis": true,
|
||||
"y_formats": [
|
||||
"short",
|
||||
"short"
|
||||
],
|
||||
"zerofill": true
|
||||
}
|
||||
],
|
||||
"title": "Row1"
|
||||
}
|
||||
],
|
||||
"time": {
|
||||
"from": "now-3h",
|
||||
"to": "now"
|
||||
},
|
||||
"timepicker": {
|
||||
"collapse": false,
|
||||
"enable": true,
|
||||
"notice": false,
|
||||
"now": true,
|
||||
"refresh_intervals": [
|
||||
"5s",
|
||||
"10s",
|
||||
"30s",
|
||||
"1m",
|
||||
"5m",
|
||||
"15m",
|
||||
"30m",
|
||||
"1h",
|
||||
"2h",
|
||||
"1d"
|
||||
],
|
||||
"status": "Stable",
|
||||
"time_options": [
|
||||
"5m",
|
||||
"15m",
|
||||
"1h",
|
||||
"6h",
|
||||
"12h",
|
||||
"24h",
|
||||
"2d",
|
||||
"7d",
|
||||
"30d"
|
||||
],
|
||||
"type": "timepicker"
|
||||
},
|
||||
"templating": {
|
||||
"enable": false,
|
||||
"list": []
|
||||
},
|
||||
"annotations": {
|
||||
"enable": false,
|
||||
"list": []
|
||||
},
|
||||
"refresh": false,
|
||||
"schemaVersion": 8,
|
||||
"version": 2,
|
||||
"links": []
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
{
|
||||
"__inputs": {
|
||||
"graphite": {
|
||||
"type": "datasource",
|
||||
"pluginId": "graphite",
|
||||
"description": "Graphite datasource"
|
||||
}
|
||||
},
|
||||
|
||||
"title": "Carbon Cache Stats",
|
||||
"version": 1,
|
||||
"rows": [
|
||||
{
|
||||
"panels": [
|
||||
{
|
||||
"type": "graph",
|
||||
"datasource": "$__graphite"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user