Skip to content

Instantly share code, notes, and snippets.

@jessetan
Last active April 7, 2016 11:52
Show Gist options
  • Select an option

  • Save jessetan/b81f455838cfdc026d93002f7457d8c2 to your computer and use it in GitHub Desktop.

Select an option

Save jessetan/b81f455838cfdc026d93002f7457d8c2 to your computer and use it in GitHub Desktop.
Grafana 2.6 Dashboard for InfluxDB 0.10.3 _internal database
{
"id": 7,
"title": "InfluxDB internals",
"originalTitle": "InfluxDB internals",
"tags": [],
"style": "dark",
"timezone": "browser",
"editable": true,
"hideControls": false,
"sharedCrosshair": false,
"rows": [
{
"collapse": false,
"editable": true,
"height": "250px",
"panels": [
{
"aliasColors": {},
"bars": false,
"datasource": "InfluxDB-internal",
"editable": true,
"error": false,
"fill": 1,
"grid": {
"leftLogBase": 1,
"leftMax": null,
"leftMin": null,
"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,
"isNew": true,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 3,
"stack": false,
"steppedLine": false,
"targets": [
{
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "httpd",
"query": "SELECT derivative(mean(\"pointsWrittenOK\"), 10s) FROM \"httpd\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"pointsWrittenOK"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"10s"
],
"type": "derivative"
}
]
],
"tags": []
}
],
"timeFrom": null,
"timeShift": null,
"title": "Points written OK",
"tooltip": {
"shared": true,
"value_type": "cumulative"
},
"type": "graph",
"x-axis": true,
"y-axis": true,
"y_formats": [
"short",
"short"
]
},
{
"aliasColors": {},
"bars": false,
"datasource": "InfluxDB-internal",
"editable": true,
"error": false,
"fill": 1,
"grid": {
"leftLogBase": 1,
"leftMax": null,
"leftMin": null,
"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": 2,
"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": 3,
"stack": false,
"steppedLine": false,
"targets": [
{
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "httpd",
"query": "SELECT derivative(mean(\"queryReq\"), 1s) FROM \"httpd\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"queryReq"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "derivative"
}
]
],
"tags": [],
"alias": "Queries/s"
},
{
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "httpd",
"query": "SELECT derivative(mean(\"writeReq\"), 1s) FROM \"httpd\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"writeReq"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "derivative"
}
]
],
"tags": [],
"alias": "Writes/s"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Query & Write requests",
"tooltip": {
"shared": true,
"value_type": "cumulative"
},
"type": "graph",
"x-axis": true,
"y-axis": true,
"y_formats": [
"short",
"none"
]
},
{
"aliasColors": {},
"bars": false,
"datasource": "InfluxDB-internal",
"editable": true,
"error": false,
"fill": 1,
"grid": {
"leftLogBase": 1,
"leftMax": null,
"leftMin": null,
"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": 3,
"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": 3,
"stack": false,
"steppedLine": false,
"targets": [
{
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "httpd",
"query": "SELECT derivative(mean(\"queryRespBytes\"), 1s) FROM \"httpd\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
"refId": "C",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"queryRespBytes"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "derivative"
}
]
],
"tags": [],
"alias": "Query returned bytes/s"
},
{
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "httpd",
"query": "SELECT derivative(mean(\"writeReqBytes\"), 1s) FROM \"httpd\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
"refId": "D",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"writeReqBytes"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "derivative"
}
]
],
"tags": [],
"alias": "Bytes written/s"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Query & Write traffic",
"tooltip": {
"shared": true,
"value_type": "cumulative"
},
"type": "graph",
"x-axis": true,
"y-axis": true,
"y_formats": [
"Bps",
"none"
]
},
{
"aliasColors": {},
"bars": false,
"datasource": "InfluxDB-internal",
"editable": true,
"error": false,
"fill": 1,
"grid": {
"leftLogBase": 1,
"leftMax": null,
"leftMin": 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": 4,
"isNew": true,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 3,
"stack": false,
"steppedLine": false,
"targets": [
{
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "httpd",
"query": "SELECT derivative(mean(\"pingReq\"), 10s) FROM \"httpd\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"pingReq"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"10s"
],
"type": "derivative"
}
]
],
"tags": []
}
],
"timeFrom": null,
"timeShift": null,
"title": "Ping requests",
"tooltip": {
"shared": true,
"value_type": "cumulative"
},
"type": "graph",
"x-axis": true,
"y-axis": true,
"y_formats": [
"short",
"short"
]
}
],
"showTitle": true,
"title": "httpd"
},
{
"title": "Go Runtime",
"height": "250px",
"editable": true,
"collapse": false,
"panels": [
{
"title": "Heap",
"error": false,
"span": 4,
"editable": true,
"type": "graph",
"isNew": true,
"id": 5,
"datasource": "InfluxDB-internal",
"renderer": "flot",
"x-axis": true,
"y-axis": true,
"y_formats": [
"bytes",
"short"
],
"grid": {
"leftLogBase": 1,
"leftMax": null,
"rightMax": null,
"leftMin": null,
"rightMin": null,
"rightLogBase": 1,
"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": true,
"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
},
"timeFrom": null,
"timeShift": null,
"targets": [
{
"refId": "B",
"dsType": "influxdb",
"resultFormat": "time_series",
"tags": [],
"groupBy": [
{
"type": "time",
"params": [
"$interval"
]
},
{
"type": "fill",
"params": [
"null"
]
}
],
"select": [
[
{
"type": "field",
"params": [
"HeapIdle"
]
},
{
"type": "mean",
"params": []
}
]
],
"measurement": "runtime",
"query": "SELECT mean(\"HeapIdle\") FROM \"runtime\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
"alias": "Idle"
},
{
"refId": "C",
"dsType": "influxdb",
"resultFormat": "time_series",
"tags": [],
"groupBy": [
{
"type": "time",
"params": [
"$interval"
]
},
{
"type": "fill",
"params": [
"null"
]
}
],
"select": [
[
{
"type": "field",
"params": [
"HeapInUse"
]
},
{
"type": "mean",
"params": []
}
]
],
"measurement": "runtime",
"query": "SELECT mean(\"HeapInUse\") FROM \"runtime\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
"alias": "In use"
}
],
"aliasColors": {},
"seriesOverrides": [],
"links": []
},
{
"title": "Garbage Collection count",
"error": false,
"span": 4,
"editable": true,
"type": "graph",
"isNew": true,
"id": 8,
"datasource": "InfluxDB-internal",
"renderer": "flot",
"x-axis": true,
"y-axis": true,
"y_formats": [
"none",
"short"
],
"grid": {
"leftLogBase": 1,
"leftMax": null,
"rightMax": null,
"leftMin": null,
"rightMin": null,
"rightLogBase": 1,
"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": true,
"percentage": false,
"legend": {
"show": false,
"values": false,
"min": false,
"max": false,
"current": false,
"total": false,
"avg": false
},
"nullPointMode": "connected",
"steppedLine": true,
"tooltip": {
"value_type": "cumulative",
"shared": true
},
"timeFrom": null,
"timeShift": null,
"targets": [
{
"refId": "B",
"dsType": "influxdb",
"resultFormat": "time_series",
"tags": [],
"groupBy": [
{
"type": "time",
"params": [
"$interval"
]
},
{
"type": "fill",
"params": [
"null"
]
}
],
"select": [
[
{
"type": "field",
"params": [
"NumGC"
]
},
{
"type": "mean",
"params": []
},
{
"type": "derivative",
"params": [
"1m"
]
}
]
],
"measurement": "runtime",
"query": "SELECT derivative(mean(\"NumGC\"), 1m) FROM \"runtime\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
"alias": ""
}
],
"aliasColors": {},
"seriesOverrides": [],
"links": []
},
{
"title": "Number of Go Routines",
"error": false,
"span": 4,
"editable": true,
"type": "graph",
"isNew": true,
"id": 9,
"datasource": "InfluxDB-internal",
"renderer": "flot",
"x-axis": true,
"y-axis": true,
"y_formats": [
"none",
"short"
],
"grid": {
"leftLogBase": 1,
"leftMax": null,
"rightMax": null,
"leftMin": null,
"rightMin": null,
"rightLogBase": 1,
"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": true,
"percentage": false,
"legend": {
"show": false,
"values": false,
"min": false,
"max": false,
"current": false,
"total": false,
"avg": false
},
"nullPointMode": "connected",
"steppedLine": true,
"tooltip": {
"value_type": "cumulative",
"shared": true
},
"timeFrom": null,
"timeShift": null,
"targets": [
{
"refId": "B",
"dsType": "influxdb",
"resultFormat": "time_series",
"tags": [],
"groupBy": [
{
"type": "time",
"params": [
"$interval"
]
},
{
"type": "fill",
"params": [
"null"
]
}
],
"select": [
[
{
"type": "field",
"params": [
"NumGoroutine"
]
},
{
"type": "mean",
"params": []
}
]
],
"measurement": "runtime",
"query": "SELECT mean(\"NumGoroutine\") FROM \"runtime\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
"alias": ""
}
],
"aliasColors": {},
"seriesOverrides": [],
"links": []
}
],
"showTitle": true
},
{
"title": "Shard",
"height": "250px",
"editable": true,
"collapse": false,
"panels": [
{
"title": "Points written",
"error": false,
"span": 6,
"editable": true,
"type": "graph",
"isNew": true,
"id": 6,
"datasource": "InfluxDB-internal",
"renderer": "flot",
"x-axis": true,
"y-axis": true,
"y_formats": [
"none",
"short"
],
"grid": {
"leftLogBase": 1,
"leftMax": null,
"rightMax": null,
"leftMin": null,
"rightMin": null,
"rightLogBase": 1,
"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": true,
"percentage": false,
"legend": {
"show": false,
"values": false,
"min": false,
"max": false,
"current": false,
"total": false,
"avg": false
},
"nullPointMode": "connected",
"steppedLine": false,
"tooltip": {
"value_type": "cumulative",
"shared": true
},
"timeFrom": null,
"timeShift": null,
"targets": [
{
"refId": "B",
"dsType": "influxdb",
"resultFormat": "time_series",
"tags": [],
"groupBy": [
{
"type": "time",
"params": [
"$interval"
]
},
{
"type": "fill",
"params": [
"null"
]
}
],
"select": [
[
{
"type": "field",
"params": [
"writePointsOk"
]
},
{
"type": "mean",
"params": []
},
{
"type": "derivative",
"params": [
"10s"
]
}
]
],
"measurement": "shard",
"query": "SELECT derivative(mean(\"writePointsOk\"), 10s) FROM \"shard\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
"alias": ""
}
],
"aliasColors": {},
"seriesOverrides": [],
"links": []
},
{
"title": "Fields & Series created",
"error": false,
"span": 6,
"editable": true,
"type": "graph",
"isNew": true,
"id": 7,
"datasource": "InfluxDB-internal",
"renderer": "flot",
"x-axis": true,
"y-axis": true,
"y_formats": [
"none",
"short"
],
"grid": {
"leftLogBase": 1,
"leftMax": null,
"rightMax": null,
"leftMin": 0,
"rightMin": null,
"rightLogBase": 1,
"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": true,
"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
},
"timeFrom": null,
"timeShift": null,
"targets": [
{
"refId": "B",
"dsType": "influxdb",
"resultFormat": "time_series",
"tags": [],
"groupBy": [
{
"type": "time",
"params": [
"$interval"
]
},
{
"type": "fill",
"params": [
"null"
]
}
],
"select": [
[
{
"type": "field",
"params": [
"fieldsCreate"
]
},
{
"type": "mean",
"params": []
},
{
"type": "derivative",
"params": [
"10s"
]
}
]
],
"measurement": "shard",
"query": "SELECT derivative(mean(\"fieldsCreate\"), 10s) FROM \"shard\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
"alias": "Fields"
},
{
"refId": "A",
"dsType": "influxdb",
"resultFormat": "time_series",
"tags": [],
"groupBy": [
{
"type": "time",
"params": [
"$interval"
]
},
{
"type": "fill",
"params": [
"null"
]
}
],
"select": [
[
{
"type": "field",
"params": [
"seriesCreate"
]
},
{
"type": "mean",
"params": []
},
{
"type": "derivative",
"params": [
"10s"
]
}
]
],
"measurement": "shard",
"query": "SELECT derivative(mean(\"seriesCreate\"), 10s) FROM \"shard\" WHERE $timeFilter GROUP BY time($interval) fill(null)",
"alias": "Series"
}
],
"aliasColors": {},
"seriesOverrides": [],
"links": []
}
],
"showTitle": true
}
],
"time": {
"from": "now-6h",
"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": []
},
"schemaVersion": 8,
"version": 1,
"links": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment