Add aggregates memory tables in Nova dashboard

Change-Id: I8f0d964e1495d03b4070014c3672cd009f554f05
Depends-On: I6647600d73991bfbfc7b7c199a7f9b90b9294f68
(cherry picked from commit ba2c8bd276)
This commit is contained in:
Olivier Bourdon 2017-01-16 08:48:44 +01:00
parent 11f79d60b6
commit 47e9a3ce7e
1 changed files with 682 additions and 52 deletions

View File

@ -4635,13 +4635,41 @@
"height": "250px",
"panels": [
{
"content": "<br />\n<br />\n<br />\n<br />\n<br />\n<h3 align=\"center\">Used</h3>",
"content": "<h3 align=\"center\">Virtual CPUs</h3>",
"editable": true,
"error": false,
"height": "10px",
"id": 34,
"links": [],
"mode": "html",
"span": 2,
"span": 4,
"style": {},
"title": "",
"type": "text"
},
{
"content": "<h3 align=\"center\">Virtual Disks</h3>",
"editable": true,
"error": false,
"height": "10px",
"id": 38,
"links": [],
"mode": "html",
"span": 4,
"style": {},
"title": "",
"type": "text"
},
{
"content": "<h3 align=\"center\">Virtual RAM</h3>",
"editable": true,
"error": false,
"height": "10px",
"id": 105,
"isNew": true,
"links": [],
"mode": "html",
"span": 4,
"style": {},
"title": "",
"type": "text"
@ -4669,7 +4697,7 @@
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"span": 2,
"span": 4,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
@ -4727,7 +4755,7 @@
}
],
"thresholds": "",
"title": "Virtual CPU",
"title": "Used",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
@ -4762,7 +4790,7 @@
"postfixFontSize": "80%",
"prefix": "",
"prefixFontSize": "50%",
"span": 2,
"span": 4,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
@ -4820,7 +4848,7 @@
}
],
"thresholds": "",
"title": "Virtual Disks",
"title": "Used",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
@ -4855,7 +4883,7 @@
"postfixFontSize": "80%",
"prefix": "",
"prefixFontSize": "50%",
"span": 2,
"span": 4,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
@ -4913,7 +4941,7 @@
}
],
"thresholds": "",
"title": "Virtual RAM",
"title": "Used",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
@ -4925,30 +4953,6 @@
],
"valueName": "current"
},
{
"content": "",
"editable": true,
"error": false,
"id": 66,
"links": [],
"mode": "markdown",
"span": 4,
"style": {},
"title": "",
"type": "text"
},
{
"content": "<br />\n<br />\n<br />\n<br />\n<br />\n<h3 align=\"center\">Available</h3>",
"editable": true,
"error": false,
"id": 38,
"links": [],
"mode": "html",
"span": 2,
"style": {},
"title": "",
"type": "text"
},
{
"cacheTimeout": null,
"colorBackground": false,
@ -4972,7 +4976,7 @@
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"span": 2,
"span": 4,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
@ -5030,7 +5034,7 @@
}
],
"thresholds": "",
"title": "",
"title": "Free",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
@ -5065,7 +5069,7 @@
"postfixFontSize": "80%",
"prefix": "",
"prefixFontSize": "50%",
"span": 2,
"span": 4,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
@ -5123,7 +5127,7 @@
}
],
"thresholds": "",
"title": "",
"title": "Free",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
@ -5158,7 +5162,7 @@
"postfixFontSize": "80%",
"prefix": "",
"prefixFontSize": "50%",
"span": 2,
"span": 4,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
@ -5216,7 +5220,7 @@
}
],
"thresholds": "",
"title": "",
"title": "Free",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
@ -5227,22 +5231,648 @@
}
],
"valueName": "current"
},
{
"content": "",
"editable": true,
"error": false,
"id": 67,
"links": [],
"mode": "markdown",
"span": 4,
"style": {},
"title": "",
"type": "text"
}
],
"showTitle": true,
"title": "Resources"
},
{
"collapse": false,
"editable": true,
"height": "250px",
"panels": [
{
"aliasColors": {},
"bars": false,
"datasource": null,
"decimals": 0,
"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": 99,
"interval": ">60s",
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": false,
"min": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 4,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_aggregate",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"aggregate"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "openstack_nova_aggregate_free_vcpus",
"query": "SELECT mean(\"value\") FROM \"openstack_nova_aggregate_free_vcpus\" WHERE $timeFilter GROUP BY time($interval), \"aggregate\" fill(null)",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"timeFrom": null,
"timeShift": null,
"title": "Free VCPUs",
"tooltip": {
"shared": true,
"value_type": "cumulative"
},
"type": "graph",
"x-axis": true,
"y-axis": true,
"y_formats": [
"short",
"short"
]
},
{
"aliasColors": {},
"bars": false,
"datasource": null,
"decimals": 2,
"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": 100,
"interval": ">60s",
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": false,
"min": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 4,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_aggregate",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"aggregate"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "openstack_nova_aggregate_free_disk",
"query": "SELECT mean(\"value\") FROM \"openstack_nova_aggregate_free_disk\" WHERE $timeFilter GROUP BY time($interval), \"aggregate\" fill(null)",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"timeFrom": null,
"timeShift": null,
"title": "Free DIsk Space",
"tooltip": {
"shared": true,
"value_type": "cumulative"
},
"type": "graph",
"x-axis": true,
"y-axis": true,
"y_formats": [
"gbytes",
"short"
]
},
{
"aliasColors": {},
"bars": false,
"datasource": null,
"decimals": 2,
"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": 101,
"interval": ">60s",
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": false,
"min": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 4,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_aggregate",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"aggregate"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "openstack_nova_aggregate_free_ram",
"query": "SELECT mean(\"value\") FROM \"openstack_nova_aggregate_free_ram\" WHERE $timeFilter GROUP BY time($interval), \"aggregate\" fill(null)",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"timeFrom": null,
"timeShift": null,
"title": "Free RAM",
"tooltip": {
"shared": true,
"value_type": "cumulative"
},
"type": "graph",
"x-axis": true,
"y-axis": true,
"y_formats": [
"mbytes",
"short"
]
},
{
"aliasColors": {},
"bars": false,
"datasource": null,
"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": 102,
"interval": ">60s",
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": false,
"min": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 4,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_aggregate",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"aggregate"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "openstack_nova_aggregate_used_vcpus",
"query": "SELECT mean(\"value\") FROM \"openstack_nova_aggregate_used_vcpus\" WHERE $timeFilter GROUP BY time($interval), \"aggregate\" fill(null)",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"timeFrom": null,
"timeShift": null,
"title": "Used VCPUs",
"tooltip": {
"shared": true,
"value_type": "cumulative"
},
"type": "graph",
"x-axis": true,
"y-axis": true,
"y_formats": [
"short",
"short"
]
},
{
"aliasColors": {},
"bars": false,
"datasource": null,
"decimals": 2,
"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": 103,
"interval": ">60s",
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": false,
"min": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 4,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_aggregate",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"aggregate"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "openstack_nova_aggregate_used_disk",
"query": "SELECT mean(\"value\") FROM \"openstack_nova_aggregate_used_disk\" WHERE $timeFilter GROUP BY time($interval), \"aggregate\" fill(null)",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"timeFrom": null,
"timeShift": null,
"title": "Used Disk Space",
"tooltip": {
"shared": true,
"value_type": "cumulative"
},
"type": "graph",
"x-axis": true,
"y-axis": true,
"y_formats": [
"gbytes",
"short"
]
},
{
"aliasColors": {},
"bars": false,
"datasource": null,
"decimals": 2,
"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": 104,
"interval": ">60s",
"isNew": true,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": false,
"min": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 4,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_aggregate",
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"aggregate"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "openstack_nova_aggregate_used_ram",
"query": "SELECT mean(\"value\") FROM \"openstack_nova_aggregate_used_ram\" WHERE $timeFilter GROUP BY time($interval), \"aggregate\" fill(null)",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"timeFrom": null,
"timeShift": null,
"title": "Used RAM",
"tooltip": {
"shared": true,
"value_type": "cumulative"
},
"type": "graph",
"x-axis": true,
"y-axis": true,
"y_formats": [
"mbytes",
"short"
]
}
],
"showTitle": true,
"title": "Resources per Aggregates"
}
],
"schemaVersion": 8,
@ -5317,5 +5947,5 @@
},
"timezone": "browser",
"title": "Nova",
"version": 10
}
"version": 11
}