Updated the grafana dash boards

Change-Id: Ic5b87e62d830f8d77d39af97bd17966b6bb1e038
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
Kevin Carter 2016-09-18 10:14:09 -05:00
parent 6d4557e55f
commit 4da4287b14
3 changed files with 1264 additions and 474 deletions

View File

@ -1,446 +0,0 @@
{
"__inputs": [
{
"name": "DS_OSIC_INFLUXDB",
"label": "OSIC InfluxDB",
"description": "",
"type": "datasource",
"pluginId": "influxdb",
"pluginName": "InfluxDB"
}
],
"__requires": [
{
"type": "panel",
"id": "singlestat",
"name": "Singlestat",
"version": ""
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "3.1.1"
},
{
"type": "datasource",
"id": "influxdb",
"name": "InfluxDB",
"version": "1.0.0"
}
],
"id": null,
"title": "OpenStack Compute Aggregates",
"tags": [],
"style": "dark",
"timezone": "browser",
"editable": true,
"hideControls": false,
"sharedCrosshair": false,
"rows": [
{
"collapse": false,
"editable": true,
"height": "250px",
"panels": [
{
"cacheTimeout": null,
"colorBackground": true,
"colorValue": false,
"colors": [
"rgba(204, 85, 16, 0.97)",
"rgba(4, 133, 3, 0.89)",
"rgba(245, 54, 54, 0.9)"
],
"datasource": "${DS_OSIC_INFLUXDB}",
"editable": true,
"error": false,
"format": "bytes",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"height": "10px",
"id": 3,
"interval": null,
"isNew": true,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"minSpan": 6,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "RAM:",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"span": 12,
"sparkline": {
"fillColor": "rgba(189, 188, 31, 0.18)",
"full": true,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"targets": [
{
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"policy": "default",
"query": "SELECT sum(total) as total FROM \"mem\" WHERE host =~ /comp/ AND $timeFilter GROUP BY time($interval)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"thresholds": "",
"title": "Compute node total Memory",
"type": "singlestat",
"valueFontSize": "70%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"aliasColors": {},
"bars": false,
"datasource": "${DS_OSIC_INFLUXDB}",
"editable": true,
"error": false,
"fill": 1,
"grid": {
"threshold1": null,
"threshold1Color": "rgba(27, 42, 216, 0.27)",
"threshold2": null,
"threshold2Color": "rgba(167, 0, 0, 0.22)",
"thresholdLine": false
},
"height": "250px",
"id": 2,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"sideWidth": 15,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"minSpan": 6,
"nullPointMode": "connected",
"percentage": false,
"pointradius": 1,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 6,
"stack": false,
"steppedLine": false,
"targets": [
{
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"policy": "default",
"query": "SELECT sum(used) as used FROM \"mem\" WHERE host =~ /$compute_node$/ AND $timeFilter GROUP BY time($interval)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"timeFrom": null,
"timeShift": null,
"title": "Compute Node Used Memory",
"tooltip": {
"msResolution": true,
"shared": false,
"sort": 0,
"value_type": "cumulative"
},
"transparent": true,
"type": "graph",
"xaxis": {
"show": true
},
"yaxes": [
{
"format": "bytes",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "bytes",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": "${DS_OSIC_INFLUXDB}",
"editable": true,
"error": false,
"fill": 1,
"grid": {
"threshold1": null,
"threshold1Color": "rgba(27, 42, 216, 0.27)",
"threshold2": null,
"threshold2Color": "rgba(167, 0, 0, 0.22)",
"thresholdLine": false
},
"height": "250px",
"id": 1,
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
"sideWidth": 15,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"minSpan": 6,
"nullPointMode": "connected",
"percentage": false,
"pointradius": 1,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 6,
"stack": false,
"steppedLine": false,
"targets": [
{
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"policy": "default",
"query": "SELECT sum(available) as available FROM \"mem\" WHERE host =~ /$compute_node$/ AND $timeFilter GROUP BY time($interval)",
"rawQuery": true,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"timeFrom": null,
"timeShift": null,
"title": "Compute Node Available Memory",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"transparent": true,
"type": "graph",
"xaxis": {
"show": true
},
"yaxes": [
{
"format": "bytes",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "bytes",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
}
],
"showTitle": true,
"title": "Memory"
}
],
"time": {
"from": "now/d",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"15s",
"1m",
"15m",
"1h"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"templating": {
"list": [
{
"current": {},
"datasource": "${DS_OSIC_INFLUXDB}",
"hide": 0,
"includeAll": true,
"label": "compute node",
"multi": false,
"name": "compute_node",
"options": [],
"query": "SHOW TAG VALUES FROM system WITH KEY=host",
"refresh": 1,
"regex": "/comp/",
"type": "query"
}
]
},
"annotations": {
"list": []
},
"schemaVersion": 12,
"version": 43,
"links": [],
"gnetId": null
}

File diff suppressed because it is too large Load Diff

View File

@ -1,9 +1,9 @@
{
"__inputs": [
{
"name": "DS_OSIC_INFLUXDB",
"label": "OSIC InfluxDB",
"description": "",
"name": "DS_INFLUXDB",
"label": "InfluxDB",
"description": "Influx DB data source",
"type": "datasource",
"pluginId": "influxdb",
"pluginName": "InfluxDB"
@ -62,7 +62,7 @@
"rgba(40, 147, 237, 0.89)",
"rgba(40, 147, 237, 0.89)"
],
"datasource": "${DS_OSIC_INFLUXDB}",
"datasource": "${DS_INFLUXDB}",
"editable": true,
"error": false,
"format": "s",
@ -175,7 +175,7 @@
"rgba(40, 147, 237, 0.89)",
"rgba(40, 147, 237, 0.89)"
],
"datasource": "${DS_OSIC_INFLUXDB}",
"datasource": "${DS_INFLUXDB}",
"editable": true,
"error": false,
"format": "bytes",
@ -289,7 +289,7 @@
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "${DS_OSIC_INFLUXDB}",
"datasource": "${DS_INFLUXDB}",
"editable": true,
"error": false,
"format": "percent",
@ -405,7 +405,7 @@
{
"aliasColors": {},
"bars": false,
"datasource": "${DS_OSIC_INFLUXDB}",
"datasource": "${DS_INFLUXDB}",
"editable": true,
"error": false,
"fill": 1,
@ -578,7 +578,7 @@
{
"aliasColors": {},
"bars": true,
"datasource": "${DS_OSIC_INFLUXDB}",
"datasource": "${DS_INFLUXDB}",
"editable": true,
"error": false,
"fill": 1,
@ -752,7 +752,7 @@
{
"aliasColors": {},
"bars": true,
"datasource": "${DS_OSIC_INFLUXDB}",
"datasource": "${DS_INFLUXDB}",
"editable": true,
"error": false,
"fill": 1,
@ -921,7 +921,7 @@
{
"aliasColors": {},
"bars": true,
"datasource": "${DS_OSIC_INFLUXDB}",
"datasource": "${DS_INFLUXDB}",
"editable": true,
"error": false,
"fill": 1,
@ -1099,7 +1099,7 @@
{
"aliasColors": {},
"bars": false,
"datasource": "${DS_OSIC_INFLUXDB}",
"datasource": "${DS_INFLUXDB}",
"editable": true,
"error": false,
"fill": 0,
@ -1210,7 +1210,7 @@
{
"aliasColors": {},
"bars": false,
"datasource": "${DS_OSIC_INFLUXDB}",
"datasource": "${DS_INFLUXDB}",
"editable": true,
"error": false,
"fill": 1,
@ -1331,7 +1331,7 @@
{
"aliasColors": {},
"bars": false,
"datasource": "${DS_OSIC_INFLUXDB}",
"datasource": "${DS_INFLUXDB}",
"editable": true,
"error": false,
"fill": 1,
@ -1447,7 +1447,7 @@
{
"aliasColors": {},
"bars": false,
"datasource": "${DS_OSIC_INFLUXDB}",
"datasource": "${DS_INFLUXDB}",
"editable": true,
"error": false,
"fill": 1,
@ -1575,7 +1575,7 @@
{
"aliasColors": {},
"bars": false,
"datasource": "${DS_OSIC_INFLUXDB}",
"datasource": "${DS_INFLUXDB}",
"editable": true,
"error": false,
"fill": 1,
@ -1708,7 +1708,7 @@
{
"aliasColors": {},
"bars": false,
"datasource": "${DS_OSIC_INFLUXDB}",
"datasource": "${DS_INFLUXDB}",
"editable": true,
"error": false,
"fill": 1,
@ -1885,7 +1885,7 @@
{
"aliasColors": {},
"bars": false,
"datasource": "${DS_OSIC_INFLUXDB}",
"datasource": "${DS_INFLUXDB}",
"editable": true,
"error": false,
"fill": 1,
@ -2062,7 +2062,7 @@
{
"aliasColors": {},
"bars": false,
"datasource": "${DS_OSIC_INFLUXDB}",
"datasource": "${DS_INFLUXDB}",
"editable": true,
"error": false,
"fill": 1,
@ -2239,7 +2239,7 @@
{
"aliasColors": {},
"bars": false,
"datasource": "${DS_OSIC_INFLUXDB}",
"datasource": "${DS_INFLUXDB}",
"editable": true,
"error": false,
"fill": 1,
@ -2358,7 +2358,7 @@
{
"aliasColors": {},
"bars": false,
"datasource": "${DS_OSIC_INFLUXDB}",
"datasource": "${DS_INFLUXDB}",
"editable": true,
"error": false,
"fill": 1,
@ -2477,7 +2477,7 @@
{
"aliasColors": {},
"bars": false,
"datasource": "${DS_OSIC_INFLUXDB}",
"datasource": "${DS_INFLUXDB}",
"editable": true,
"error": false,
"fill": 1,
@ -2622,18 +2622,18 @@
{
"allFormat": "glob",
"current": {
"text": "OSIC InfluxDB",
"value": "OSIC InfluxDB"
"text": "InfluxDB",
"value": "InfluxDB"
},
"datasource": "OSIC InfluxDB",
"datasource": "InfluxDB",
"hide": 0,
"includeAll": false,
"multi": false,
"name": "datasource",
"options": [
{
"text": "OSIC InfluxDB",
"value": "OSIC InfluxDB",
"text": "InfluxDB",
"value": "InfluxDB",
"selected": true
},
{
@ -2649,7 +2649,7 @@
},
{
"current": {},
"datasource": "${DS_OSIC_INFLUXDB}",
"datasource": "${DS_INFLUXDB}",
"hide": 0,
"includeAll": false,
"label": "Server",