Created
December 16, 2016 18:02
-
-
Save aheadley/bf0f2c4650b5be8c0b7aa171f6fa2233 to your computer and use it in GitHub Desktop.
Grafana dashboard for influx internal performance metrics
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": 3, | |
"title": "influx", | |
"originalTitle": "influx", | |
"tags": [], | |
"style": "dark", | |
"timezone": "browser", | |
"editable": true, | |
"hideControls": true, | |
"sharedCrosshair": false, | |
"rows": [ | |
{ | |
"collapse": false, | |
"editable": true, | |
"height": "250px", | |
"panels": [ | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"datasource": "internal", | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"grid": { | |
"threshold1": null, | |
"threshold1Color": "rgba(216, 200, 27, 0.27)", | |
"threshold2": null, | |
"threshold2Color": "rgba(234, 112, 112, 0.22)" | |
}, | |
"id": 1, | |
"isNew": true, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 2, | |
"links": [], | |
"nullPointMode": "connected", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"span": 12, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"alias": "measurements", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"measurement": "database", | |
"policy": "default", | |
"query": "SELECT mean(\"numMeasurements\"),mean(\"numSeries\") FROM \"database\" WHERE $timeFilter GROUP BY time($interval) fill(null)", | |
"rawQuery": false, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"numMeasurements" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "series", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"measurement": "database", | |
"policy": "default", | |
"query": "SELECT mean(\"numMeasurements\"),mean(\"numSeries\") FROM \"database\" WHERE $timeFilter GROUP BY time($interval) fill(null)", | |
"rawQuery": false, | |
"refId": "B", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"numSeries" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Storage size", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"value_type": "cumulative" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"show": true | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
] | |
} | |
], | |
"title": "Row" | |
}, | |
{ | |
"collapse": false, | |
"editable": true, | |
"height": "250px", | |
"panels": [ | |
{ | |
"title": "Queries", | |
"error": false, | |
"span": 12, | |
"editable": true, | |
"type": "graph", | |
"isNew": true, | |
"id": 2, | |
"targets": [ | |
{ | |
"policy": "default", | |
"dsType": "influxdb", | |
"resultFormat": "time_series", | |
"tags": [], | |
"groupBy": [ | |
{ | |
"type": "time", | |
"params": [ | |
"$interval" | |
] | |
}, | |
{ | |
"type": "fill", | |
"params": [ | |
"null" | |
] | |
} | |
], | |
"select": [ | |
[ | |
{ | |
"type": "field", | |
"params": [ | |
"queryDurationNs" | |
] | |
}, | |
{ | |
"type": "mean", | |
"params": [] | |
}, | |
{ | |
"type": "derivative", | |
"params": [ | |
"10s" | |
] | |
} | |
] | |
], | |
"refId": "A", | |
"measurement": "queryExecutor", | |
"alias": "duration" | |
}, | |
{ | |
"policy": "default", | |
"dsType": "influxdb", | |
"resultFormat": "time_series", | |
"tags": [], | |
"groupBy": [ | |
{ | |
"type": "time", | |
"params": [ | |
"$interval" | |
] | |
}, | |
{ | |
"type": "fill", | |
"params": [ | |
"null" | |
] | |
} | |
], | |
"select": [ | |
[ | |
{ | |
"type": "field", | |
"params": [ | |
"queriesActive" | |
] | |
}, | |
{ | |
"type": "mean", | |
"params": [] | |
} | |
] | |
], | |
"refId": "B", | |
"measurement": "queryExecutor", | |
"alias": "active" | |
} | |
], | |
"datasource": "internal", | |
"renderer": "flot", | |
"yaxes": [ | |
{ | |
"label": null, | |
"show": true, | |
"logBase": 1, | |
"min": null, | |
"max": null, | |
"format": "ns" | |
}, | |
{ | |
"label": null, | |
"show": true, | |
"logBase": 1, | |
"min": null, | |
"max": null, | |
"format": "short" | |
} | |
], | |
"xaxis": { | |
"show": true | |
}, | |
"grid": { | |
"threshold1": null, | |
"threshold2": null, | |
"threshold1Color": "rgba(216, 200, 27, 0.27)", | |
"threshold2Color": "rgba(234, 112, 112, 0.22)" | |
}, | |
"lines": true, | |
"fill": 1, | |
"linewidth": 2, | |
"points": false, | |
"pointradius": 5, | |
"bars": false, | |
"stack": false, | |
"percentage": false, | |
"legend": { | |
"show": true, | |
"values": false, | |
"min": false, | |
"max": false, | |
"current": false, | |
"total": false, | |
"avg": false | |
}, | |
"nullPointMode": "connected", | |
"steppedLine": false, | |
"tooltip": { | |
"value_type": "cumulative", | |
"shared": true, | |
"msResolution": true | |
}, | |
"timeFrom": null, | |
"timeShift": null, | |
"aliasColors": {}, | |
"seriesOverrides": [ | |
{ | |
"alias": "active", | |
"yaxis": 2 | |
} | |
], | |
"links": [] | |
}, | |
{ | |
"title": "Writes", | |
"error": false, | |
"span": 12, | |
"editable": true, | |
"type": "graph", | |
"isNew": true, | |
"id": 3, | |
"targets": [ | |
{ | |
"policy": "default", | |
"dsType": "influxdb", | |
"resultFormat": "time_series", | |
"tags": [], | |
"groupBy": [ | |
{ | |
"type": "time", | |
"params": [ | |
"$interval" | |
] | |
}, | |
{ | |
"type": "fill", | |
"params": [ | |
"null" | |
] | |
} | |
], | |
"select": [ | |
[ | |
{ | |
"type": "field", | |
"params": [ | |
"pointReq" | |
] | |
}, | |
{ | |
"type": "mean", | |
"params": [] | |
}, | |
{ | |
"type": "derivative", | |
"params": [ | |
"10s" | |
] | |
} | |
] | |
], | |
"refId": "A", | |
"measurement": "write", | |
"alias": "writes" | |
} | |
], | |
"datasource": "internal", | |
"renderer": "flot", | |
"yaxes": [ | |
{ | |
"label": null, | |
"show": true, | |
"logBase": 1, | |
"min": null, | |
"max": null, | |
"format": "wps" | |
}, | |
{ | |
"label": null, | |
"show": true, | |
"logBase": 1, | |
"min": null, | |
"max": null, | |
"format": "short" | |
} | |
], | |
"xaxis": { | |
"show": true | |
}, | |
"grid": { | |
"threshold1": null, | |
"threshold2": null, | |
"threshold1Color": "rgba(216, 200, 27, 0.27)", | |
"threshold2Color": "rgba(234, 112, 112, 0.22)" | |
}, | |
"lines": true, | |
"fill": 1, | |
"linewidth": 2, | |
"points": false, | |
"pointradius": 5, | |
"bars": false, | |
"stack": false, | |
"percentage": false, | |
"legend": { | |
"show": true, | |
"values": false, | |
"min": false, | |
"max": false, | |
"current": false, | |
"total": false, | |
"avg": false | |
}, | |
"nullPointMode": "connected", | |
"steppedLine": false, | |
"tooltip": { | |
"value_type": "cumulative", | |
"shared": true, | |
"msResolution": true | |
}, | |
"timeFrom": null, | |
"timeShift": null, | |
"aliasColors": {}, | |
"seriesOverrides": [], | |
"links": [] | |
} | |
], | |
"title": "New row" | |
} | |
], | |
"time": { | |
"from": "now-1h", | |
"to": "now" | |
}, | |
"timepicker": { | |
"refresh_intervals": [ | |
"5s", | |
"10s", | |
"30s", | |
"1m", | |
"5m", | |
"15m", | |
"30m", | |
"1h", | |
"2h", | |
"1d" | |
], | |
"time_options": [ | |
"5m", | |
"15m", | |
"1h", | |
"6h", | |
"12h", | |
"24h", | |
"2d", | |
"7d", | |
"30d" | |
] | |
}, | |
"templating": { | |
"list": [] | |
}, | |
"annotations": { | |
"list": [] | |
}, | |
"refresh": false, | |
"schemaVersion": 12, | |
"version": 14, | |
"links": [] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment