Add aggregates memory tables in Nova dashboard

Reintegration of SL1.0 work.
Note that this requires:
https://github.com/tcpcloud/salt-formula-heka/pull/115
https://github.com/tcpcloud/salt-formula-collectd/pull/50

Change-Id: Iba01212ee983e8aff7c43f7743e3d6ac43fdb388
This commit is contained in:
Olivier Bourdon 2017-01-23 09:09:35 +01:00
parent ef81d50cfc
commit dff30bf081
1 changed files with 779 additions and 51 deletions

View File

@ -5306,17 +5306,44 @@
"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": 104,
"isNew": true,
"links": [],
"mode": "html",
"span": 4,
"title": "",
"type": "text"
},
{
"cacheTimeout": null,
"colorBackground": false,
@ -5365,7 +5392,7 @@
"to": "null"
}
],
"span": 2,
"span": 4,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
@ -5423,7 +5450,7 @@
}
],
"thresholds": "",
"title": "Virtual CPU",
"title": "Used",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
@ -5445,6 +5472,7 @@
"rgba(50, 172, 45, 0.97)"
],
"datasource": null,
"decimals": 2,
"editable": true,
"error": false,
"format": "gbytes",
@ -5483,7 +5511,7 @@
"to": "null"
}
],
"span": 2,
"span": 4,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
@ -5541,7 +5569,7 @@
}
],
"thresholds": "",
"title": "Virtual Disks",
"title": "Used",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
@ -5563,6 +5591,7 @@
"rgba(50, 172, 45, 0.97)"
],
"datasource": null,
"decimals": 2,
"editable": true,
"error": false,
"format": "mbytes",
@ -5601,7 +5630,7 @@
"to": "null"
}
],
"span": 2,
"span": 4,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
@ -5659,7 +5688,7 @@
}
],
"thresholds": "",
"title": "Virtual RAM",
"title": "Used",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
@ -5671,30 +5700,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,
@ -5743,7 +5748,7 @@
"to": "null"
}
],
"span": 2,
"span": 4,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
@ -5801,7 +5806,7 @@
}
],
"thresholds": "",
"title": "",
"title": "Free",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
@ -5823,6 +5828,7 @@
"rgba(50, 172, 45, 0.97)"
],
"datasource": null,
"decimals": 2,
"editable": true,
"error": false,
"format": "gbytes",
@ -5861,7 +5867,7 @@
"to": "null"
}
],
"span": 2,
"span": 4,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
@ -5919,7 +5925,7 @@
}
],
"thresholds": "",
"title": "",
"title": "Free",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
@ -5941,6 +5947,7 @@
"rgba(50, 172, 45, 0.97)"
],
"datasource": null,
"decimals": 2,
"editable": true,
"error": false,
"format": "mbytes",
@ -5979,7 +5986,7 @@
"to": "null"
}
],
"span": 2,
"span": 4,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
@ -6037,7 +6044,7 @@
}
],
"thresholds": "",
"title": "",
"title": "Free",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
@ -6048,22 +6055,743 @@
}
],
"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,
"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": 105,
"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",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "environment_label",
"operator": "=~",
"value": "/^$environment$/"
}
]
}
],
"timeFrom": null,
"timeShift": null,
"title": "Free VCPUs",
"tooltip": {
"msResolution": false,
"shared": true,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"show": true
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": 0,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": null,
"decimals": 2,
"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": 106,
"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",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "environment_label",
"operator": "=~",
"value": "/^$environment$/"
}
]
}
],
"timeFrom": null,
"timeShift": null,
"title": "Free Disk Space",
"tooltip": {
"msResolution": false,
"shared": true,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"show": true
},
"yaxes": [
{
"format": "gbytes",
"label": null,
"logBase": 1,
"max": null,
"min": 0,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": null,
"decimals": 2,
"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": 107,
"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",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "environment_label",
"operator": "=~",
"value": "/^$environment$/"
}
]
}
],
"timeFrom": null,
"timeShift": null,
"title": "Free RAM",
"tooltip": {
"msResolution": false,
"shared": true,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"show": true
},
"yaxes": [
{
"format": "mbytes",
"label": null,
"logBase": 1,
"max": null,
"min": 0,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": null,
"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": 108,
"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",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "environment_label",
"operator": "=~",
"value": "/^$environment$/"
}
]
}
],
"timeFrom": null,
"timeShift": null,
"title": "Used VCPUs",
"tooltip": {
"msResolution": false,
"shared": true,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"show": true
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": 0,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": null,
"decimals": 2,
"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": 109,
"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",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "environment_label",
"operator": "=~",
"value": "/^$environment$/"
}
]
}
],
"timeFrom": null,
"timeShift": null,
"title": "Used Disk Space",
"tooltip": {
"msResolution": false,
"shared": true,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"show": true
},
"yaxes": [
{
"format": "gbytes",
"label": null,
"logBase": 1,
"max": null,
"min": 0,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": null,
"decimals": 2,
"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": 110,
"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",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "environment_label",
"operator": "=~",
"value": "/^$environment$/"
}
]
}
],
"timeFrom": null,
"timeShift": null,
"title": "Used RAM",
"tooltip": {
"msResolution": false,
"shared": true,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"show": true
},
"yaxes": [
{
"format": "mbytes",
"label": null,
"logBase": 1,
"max": null,
"min": 0,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
}
],
"showTitle": true,
"title": "Resources per Aggregates"
}
],
"schemaVersion": 12,
@ -6140,5 +6868,5 @@
},
"timezone": "browser",
"title": "Nova",
"version": 4
"version": 5
}