1
0
Fork 0
mirror of synced 2024-11-26 10:45:36 -05:00
formula-grafana/grafana/files/dashboards/nova/nova_utilization_prometheus.json
Dmitry Kalashnik f26ff0fce5 Add all grafana dashboards into grafana formula
Change-Id: Iced67bc96c579883607bd446342132c0873148d7
PROD-Related: PROD-22139
2018-09-04 17:37:51 +04:00

2740 lines
71 KiB
JSON

{%- raw %}
{
"annotations": {
"list": [
{
"$$hashKey": "object:32922",
"builtIn": 1,
"datasource": "prometheus",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"limit": 100,
"name": "Annotations & Alerts",
"showIn": 0,
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"id": null,
"iteration": 1529670945678,
"links": [],
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 6,
"panels": [],
"title": "Total Utilization",
"type": "row"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": null,
"format": "percentunit",
"gauge": {
"maxValue": 1,
"minValue": 0,
"show": true,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 5,
"w": 5,
"x": 0,
"y": 1
},
"id": 12,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "sum(system_load15{environment=\"$environment\"} and on (host) label_replace(openstack_nova_vcpus{environment=\"$environment\"}, \"host\", \"$1\", \"hostname\", \"(.*)\")) / max(sum(openstack_nova_vcpus{environment=\"$environment\"}) by (instance))",
"format": "time_series",
"intervalFactor": 2,
"refId": "A"
}
],
"thresholds": "0.85,0.95",
"title": "CPU Usage",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fill": 1,
"gridPos": {
"h": 5,
"w": 14,
"x": 5,
"y": 1
},
"id": 8,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"hideEmpty": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"sort": "current",
"sortDesc": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"$$hashKey": "object:33652",
"expr": "max(sum(openstack_nova_vcpus{environment=\"$environment\"}) by (instance))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "total",
"refId": "A"
},
{
"$$hashKey": "object:33653",
"expr": "sum(system_load15{environment=\"$environment\"} and on (host) label_replace(openstack_nova_vcpus{environment=\"$environment\"}, \"host\", \"$1\", \"hostname\", \"(.*)\"))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "used",
"refId": "B"
},
{
"$$hashKey": "object:33654",
"expr": "max(sum(openstack_nova_used_vcpus{environment=\"$environment\"}) by (instance))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "allocated",
"refId": "C"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "CPU",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:33724",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"$$hashKey": "object:33725",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": null,
"decimals": 2,
"format": "none",
"gauge": {
"maxValue": 32,
"minValue": 0,
"show": true,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 5,
"w": 5,
"x": 19,
"y": 1
},
"id": 13,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "max(sum(openstack_nova_used_vcpus{environment=\"$environment\"}) by (instance)) / max(sum(openstack_nova_vcpus{environment=\"$environment\"}) by (instance))",
"format": "time_series",
"intervalFactor": 2,
"refId": "A"
}
],
"thresholds": "12,16",
"title": "Current CPU Allocation Ratio",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": null,
"format": "percentunit",
"gauge": {
"maxValue": 1,
"minValue": 0,
"show": true,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 5,
"w": 5,
"x": 0,
"y": 6
},
"id": 14,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "max(sum(openstack_nova_used_ram{environment=\"$environment\"}) by (instance)) / max(sum(openstack_nova_ram{environment=\"$environment\"}) by (instance))",
"format": "time_series",
"intervalFactor": 2,
"refId": "A"
}
],
"thresholds": "0.85,0.95",
"title": "RAM Usage",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fill": 1,
"gridPos": {
"h": 5,
"w": 14,
"x": 5,
"y": 6
},
"id": 9,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"$$hashKey": "object:33887",
"expr": "max(sum(openstack_nova_ram{environment=\"$environment\"}) by (instance))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "total",
"refId": "A"
},
{
"$$hashKey": "object:33888",
"expr": "max(sum(openstack_nova_used_ram{environment=\"$environment\"}) by (instance))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "used",
"refId": "B"
},
{
"$$hashKey": "object:33889",
"expr": "max(sum(openstack_nova_ram{environment=\"$environment\"} - openstack_nova_free_ram{environment=\"$environment\"}) by (instance))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "allocated",
"refId": "C"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "RAM",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:33959",
"format": "decmbytes",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"$$hashKey": "object:33960",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": null,
"decimals": 2,
"format": "none",
"gauge": {
"maxValue": 3,
"minValue": 0,
"show": true,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 5,
"w": 5,
"x": 19,
"y": 6
},
"id": 15,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "max(sum(openstack_nova_ram{environment=\"$environment\"} - openstack_nova_free_ram{environment=\"$environment\"}) by (instance)) / max(sum(openstack_nova_ram{environment=\"$environment\"}) by (instance))",
"format": "time_series",
"intervalFactor": 2,
"refId": "A"
}
],
"thresholds": "1,1.5",
"title": "Current RAM Allocation Ratio",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": null,
"format": "percentunit",
"gauge": {
"maxValue": 1,
"minValue": 0,
"show": true,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 5,
"w": 5,
"x": 0,
"y": 11
},
"id": 16,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
{%- endraw %}
{%- if parameters is defined and parameters.get('nova_compute_ceph_ephemeral', False) == True %}
"expr": "max(avg(openstack_nova_used_disk{environment=\"$environment\"}) by (instance)) / max(avg(openstack_nova_disk{environment=\"$environment\"}) by (instance))",
{%- else %}
"expr": "max(sum(openstack_nova_used_disk{environment=\"$environment\"}) by (instance)) / max(sum(openstack_nova_disk{environment=\"$environment\"}) by (instance))",
{%- endif %}
{%- raw %}
"format": "time_series",
"intervalFactor": 2,
"refId": "A"
}
],
"thresholds": "0.85,0.95",
"title": "Disk Usage",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fill": 1,
"gridPos": {
"h": 5,
"w": 14,
"x": 5,
"y": 11
},
"id": 10,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"$$hashKey": "object:33000",
{%- endraw %}
{%- if parameters is defined and parameters.get('nova_compute_ceph_ephemeral', False) == True %}
"expr": "max(avg(openstack_nova_disk{environment=\"$environment\"}) by (instance))",
{%- else %}
"expr": "max(sum(openstack_nova_disk{environment=\"$environment\"}) by (instance))",
{%- endif %}
{%- raw %}
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "total",
"refId": "A"
},
{
"$$hashKey": "object:33001",
{%- endraw %}
{%- if parameters is defined and parameters.get('nova_compute_ceph_ephemeral', False) == True %}
"expr": "max(avg(openstack_nova_used_disk{environment=\"$environment\"}) by (instance))",
{%- else %}
"expr": "max(sum(openstack_nova_used_disk{environment=\"$environment\"}) by (instance))",
{%- endif %}
{%- raw %}
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "used",
"refId": "B"
},
{
"$$hashKey": "object:33002",
{%- endraw %}
{%- if parameters is defined and parameters.get('nova_compute_ceph_ephemeral', False) == True %}
"expr": "max(avg(openstack_nova_used_disk{environment=\"$environment\"}) by (instance))",
{%- else %}
"expr": "max(sum(openstack_nova_disk{environment=\"$environment\"} - openstack_nova_disk_available{environment=\"$environment\"}) by (instance))",
{%- endif %}
{%- raw %}
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "allocated",
"refId": "C"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Disk",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "decgbytes",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": null,
"decimals": 2,
"format": "none",
"gauge": {
"maxValue": 2,
"minValue": 0,
"show": true,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 5,
"w": 5,
"x": 19,
"y": 11
},
"id": 17,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"$$hashKey": "object:33092",
{%- endraw %}
{%- if parameters is defined and parameters.get('nova_compute_ceph_ephemeral', False) == True %}
"expr": "max(avg(openstack_nova_used_disk{environment=\"$environment\"}) by (instance)) / max(avg(openstack_nova_disk{environment=\"$environment\"}) by (instance))",
{%- else %}
"expr": "max(sum(openstack_nova_disk{environment=\"$environment\"} - openstack_nova_disk_available{environment=\"$environment\"}) by (instance)) / max(sum(openstack_nova_disk{environment=\"$environment\"}) by (instance))",
{%- endif %}
{%- raw %}
"format": "time_series",
"intervalFactor": 2,
"refId": "A"
}
],
"thresholds": "0.9,1",
"title": "Current Disk Allocation Ratio",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 16
},
"id": 4,
"panels": [
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": null,
"format": "none",
"gauge": {
"maxValue": 1,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 5,
"w": 5,
"x": 0,
"y": 17
},
"id": 18,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"scopedVars": {
"aggregate": {
"selected": true,
"text": "infra-dev",
"value": "infra-dev"
}
},
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": true
},
"tableColumn": "",
"targets": [
{
"expr": "max(openstack_nova_aggregate_running_instances{environment=\"$environment\", aggregate=\"$aggregate\"})",
"format": "time_series",
"intervalFactor": 2,
"refId": "A"
}
],
"thresholds": "",
"title": "Running Instances",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fill": 1,
"gridPos": {
"h": 5,
"w": 14,
"x": 5,
"y": 17
},
"id": 19,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"hideEmpty": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"sort": "current",
"sortDesc": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"scopedVars": {
"aggregate": {
"selected": true,
"text": "infra-dev",
"value": "infra-dev"
}
},
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"$$hashKey": "object:34227",
"expr": "max(openstack_nova_aggregate_vcpus{environment=\"$environment\", aggregate=\"$aggregate\"})",
"format": "time_series",
"instant": false,
"intervalFactor": 2,
"legendFormat": "total",
"refId": "A"
},
{
"$$hashKey": "object:34228",
"expr": "max(openstack_nova_aggregate_used_vcpus{environment=\"$environment\", aggregate=\"$aggregate\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "allocated",
"refId": "C"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "CPU",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"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
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": null,
"decimals": 2,
"format": "none",
"gauge": {
"maxValue": 32,
"minValue": 0,
"show": true,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 5,
"w": 5,
"x": 19,
"y": 17
},
"id": 21,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"scopedVars": {
"aggregate": {
"selected": true,
"text": "infra-dev",
"value": "infra-dev"
}
},
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "max(openstack_nova_aggregate_used_vcpus{environment=\"$environment\", aggregate=\"$aggregate\"} / openstack_nova_aggregate_vcpus{environment=\"$environment\", aggregate=\"$aggregate\"})",
"format": "time_series",
"intervalFactor": 2,
"refId": "A"
}
],
"thresholds": "12,16",
"title": "Current CPU Allocation Ratio",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": null,
"format": "percentunit",
"gauge": {
"maxValue": 1,
"minValue": 0,
"show": true,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 5,
"w": 5,
"x": 0,
"y": 22
},
"id": 23,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"scopedVars": {
"aggregate": {
"selected": true,
"text": "infra-dev",
"value": "infra-dev"
}
},
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "max(openstack_nova_aggregate_used_ram{environment=\"$environment\", aggregate=\"$aggregate\"} / openstack_nova_aggregate_ram{environment=\"$environment\", aggregate=\"$aggregate\"})",
"format": "time_series",
"intervalFactor": 2,
"refId": "A"
}
],
"thresholds": "0.85,0.95",
"title": "RAM Usage",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fill": 1,
"gridPos": {
"h": 5,
"w": 14,
"x": 5,
"y": 22
},
"id": 22,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"scopedVars": {
"aggregate": {
"selected": true,
"text": "infra-dev",
"value": "infra-dev"
}
},
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"$$hashKey": "object:34328",
"expr": "max(openstack_nova_aggregate_ram{environment=\"$environment\", aggregate=\"$aggregate\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "total",
"refId": "A"
},
{
"$$hashKey": "object:34329",
"expr": "max(openstack_nova_aggregate_used_ram{environment=\"$environment\", aggregate=\"$aggregate\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "used",
"refId": "B"
},
{
"$$hashKey": "object:34330",
"expr": "max(openstack_nova_aggregate_ram{environment=\"$environment\", aggregate=\"$aggregate\"} - openstack_nova_aggregate_free_ram{environment=\"$environment\", aggregate=\"$aggregate\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "allocated",
"refId": "C"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "RAM",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "decmbytes",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": null,
"decimals": 2,
"format": "none",
"gauge": {
"maxValue": 3,
"minValue": 0,
"show": true,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 5,
"w": 5,
"x": 19,
"y": 22
},
"id": 24,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"scopedVars": {
"aggregate": {
"selected": true,
"text": "infra-dev",
"value": "infra-dev"
}
},
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "max((openstack_nova_aggregate_ram{environment=\"$environment\", aggregate=\"$aggregate\"} - openstack_nova_aggregate_free_ram{environment=\"$environment\", aggregate=\"$aggregate\"}) / openstack_nova_aggregate_ram{environment=\"$environment\", aggregate=\"$aggregate\"})",
"format": "time_series",
"intervalFactor": 2,
"refId": "A"
}
],
"thresholds": "1,1.5",
"title": "Current RAM Allocation Ratio",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": null,
"format": "percentunit",
"gauge": {
"maxValue": 1,
"minValue": 0,
"show": true,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 5,
"w": 5,
"x": 0,
"y": 27
},
"id": 26,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"scopedVars": {
"aggregate": {
"selected": true,
"text": "infra-dev",
"value": "infra-dev"
}
},
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "max(openstack_nova_aggregate_used_disk{environment=\"$environment\", aggregate=\"$aggregate\"} / openstack_nova_aggregate_disk{environment=\"$environment\", aggregate=\"$aggregate\"})",
"format": "time_series",
"intervalFactor": 2,
"refId": "A"
}
],
"thresholds": "0.85,0.95",
"title": "Disk Usage",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fill": 1,
"gridPos": {
"h": 5,
"w": 14,
"x": 5,
"y": 27
},
"id": 25,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"scopedVars": {
"aggregate": {
"selected": true,
"text": "infra-dev",
"value": "infra-dev"
}
},
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"$$hashKey": "object:33182",
"expr": "max(openstack_nova_aggregate_disk{environment=\"$environment\", aggregate=\"$aggregate\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "total",
"refId": "A"
},
{
"$$hashKey": "object:33183",
"expr": "max(openstack_nova_aggregate_used_disk{environment=\"$environment\", aggregate=\"$aggregate\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "used",
"refId": "B"
},
{
"$$hashKey": "object:33184",
"expr": "max(openstack_nova_aggregate_disk{environment=\"$environment\", aggregate=\"$aggregate\"} - openstack_nova_aggregate_disk_available{environment=\"$environment\", aggregate=\"$aggregate\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "allocated",
"refId": "C"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Disk",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "decgbytes",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": null,
"decimals": 2,
"format": "none",
"gauge": {
"maxValue": 2,
"minValue": 0,
"show": true,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 5,
"w": 5,
"x": 19,
"y": 27
},
"id": 27,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"scopedVars": {
"aggregate": {
"selected": true,
"text": "infra-dev",
"value": "infra-dev"
}
},
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"$$hashKey": "object:33274",
"expr": "max((openstack_nova_aggregate_disk{environment=\"$environment\", aggregate=\"$aggregate\"} - openstack_nova_aggregate_disk_available{environment=\"$environment\", aggregate=\"$aggregate\"}) / openstack_nova_aggregate_disk{environment=\"$environment\", aggregate=\"$aggregate\"})",
"format": "time_series",
"intervalFactor": 2,
"refId": "A"
}
],
"thresholds": "0.9,1",
"title": "Current Disk Allocation Ratio",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
}
],
"repeat": "aggregate",
"scopedVars": {
"aggregate": {
"$$hashKey": "object:33592",
"selected": true,
"text": "infra-dev",
"value": "infra-dev"
}
},
"title": "Aggregate Utilization @$aggregate",
"type": "row"
},
{
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 17
},
"id": 2,
"panels": [
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": null,
"format": "percentunit",
"gauge": {
"maxValue": 1,
"minValue": 0,
"show": true,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 5,
"w": 5,
"x": 0,
"y": 33
},
"id": 28,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"scopedVars": {
"host": {
"selected": true,
"text": "cmp002",
"value": "cmp002"
}
},
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "scalar(system_load15{environment=\"$environment\", host=\"$host\"}) / max(openstack_nova_vcpus{environment=\"$environment\", hostname=\"$host\"})",
"format": "time_series",
"intervalFactor": 2,
"refId": "A"
}
],
"thresholds": "0.85,0.95",
"title": "CPU Usage",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fill": 1,
"gridPos": {
"h": 5,
"w": 14,
"x": 5,
"y": 33
},
"id": 29,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"hideEmpty": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"sort": "current",
"sortDesc": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"scopedVars": {
"host": {
"selected": true,
"text": "cmp002",
"value": "cmp002"
}
},
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"$$hashKey": "object:34607",
"expr": "max(openstack_nova_vcpus{environment=\"$environment\", hostname=\"$host\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "total",
"refId": "A"
},
{
"$$hashKey": "object:34608",
"expr": "scalar(system_load15{environment=\"$environment\", host=\"$host\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "used",
"refId": "B"
},
{
"$$hashKey": "object:34609",
"expr": "max(openstack_nova_used_vcpus{environment=\"$environment\", hostname=\"$host\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "allocated",
"refId": "C"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "CPU",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"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
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": null,
"decimals": 2,
"format": "none",
"gauge": {
"maxValue": 32,
"minValue": 0,
"show": true,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 5,
"w": 5,
"x": 19,
"y": 33
},
"id": 30,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"scopedVars": {
"host": {
"selected": true,
"text": "cmp002",
"value": "cmp002"
}
},
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "max(openstack_nova_used_vcpus{environment=\"$environment\", hostname=\"$host\"} / openstack_nova_vcpus{environment=\"$environment\", hostname=\"$host\"})",
"format": "time_series",
"intervalFactor": 2,
"refId": "A"
}
],
"thresholds": "12,16",
"title": "Current CPU Allocation Ratio",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": null,
"format": "percentunit",
"gauge": {
"maxValue": 1,
"minValue": 0,
"show": true,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 5,
"w": 5,
"x": 0,
"y": 38
},
"id": 31,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"scopedVars": {
"host": {
"selected": true,
"text": "cmp002",
"value": "cmp002"
}
},
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "max(openstack_nova_used_ram{environment=\"$environment\", hostname=\"$host\"} / openstack_nova_ram{environment=\"$environment\", hostname=\"$host\"})",
"format": "time_series",
"intervalFactor": 2,
"refId": "A"
}
],
"thresholds": "0.85,0.95",
"title": "RAM Usage",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fill": 1,
"gridPos": {
"h": 5,
"w": 14,
"x": 5,
"y": 38
},
"id": 32,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"scopedVars": {
"host": {
"selected": true,
"text": "cmp002",
"value": "cmp002"
}
},
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"$$hashKey": "object:34730",
"expr": "max(openstack_nova_ram{environment=\"$environment\", hostname=\"$host\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "total",
"refId": "A"
},
{
"$$hashKey": "object:34731",
"expr": "max(openstack_nova_used_ram{environment=\"$environment\", hostname=\"$host\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "used",
"refId": "B"
},
{
"$$hashKey": "object:34732",
"expr": "max(openstack_nova_ram{environment=\"$environment\", hostname=\"$host\"} - openstack_nova_free_ram{environment=\"$environment\", hostname=\"$host\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "allocated",
"refId": "C"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "RAM",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "decmbytes",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": null,
"decimals": 2,
"format": "none",
"gauge": {
"maxValue": 3,
"minValue": 0,
"show": true,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 5,
"w": 5,
"x": 19,
"y": 38
},
"id": 33,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"scopedVars": {
"host": {
"selected": true,
"text": "cmp002",
"value": "cmp002"
}
},
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "max((openstack_nova_ram{environment=\"$environment\", hostname=\"$host\"} - openstack_nova_free_ram{environment=\"$environment\", hostname=\"$host\"}) / openstack_nova_ram{environment=\"$environment\", hostname=\"$host\"})",
"format": "time_series",
"intervalFactor": 2,
"refId": "A"
}
],
"thresholds": "1,1.5",
"title": "Current RAM Allocation Ratio",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": null,
"format": "percentunit",
"gauge": {
"maxValue": 1,
"minValue": 0,
"show": true,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 5,
"w": 5,
"x": 0,
"y": 43
},
"id": 34,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"scopedVars": {
"host": {
"selected": true,
"text": "cmp002",
"value": "cmp002"
}
},
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "max(openstack_nova_used_disk{environment=\"$environment\", hostname=\"$host\"} / openstack_nova_disk{environment=\"$environment\", hostname=\"$host\"})",
"format": "time_series",
"intervalFactor": 2,
"refId": "A"
}
],
"thresholds": "0.85,0.95",
"title": "Disk Usage",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fill": 1,
"gridPos": {
"h": 5,
"w": 14,
"x": 5,
"y": 43
},
"id": 35,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"scopedVars": {
"host": {
"selected": true,
"text": "cmp002",
"value": "cmp002"
}
},
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"$$hashKey": "object:33364",
"expr": "max(openstack_nova_disk{environment=\"$environment\", hostname=\"$host\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "total",
"refId": "A"
},
{
"$$hashKey": "object:33365",
"expr": "max(openstack_nova_used_disk{environment=\"$environment\", hostname=\"$host\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "used",
"refId": "B"
},
{
"$$hashKey": "object:33366",
"expr": "max(openstack_nova_disk{environment=\"$environment\", hostname=\"$host\"} - openstack_nova_disk_available{environment=\"$environment\", hostname=\"$host\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "allocated",
"refId": "C"
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Disk",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "decgbytes",
"label": null,
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": null,
"decimals": 2,
"format": "none",
"gauge": {
"maxValue": 2,
"minValue": 0,
"show": true,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 5,
"w": 5,
"x": 19,
"y": 43
},
"id": 36,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"scopedVars": {
"host": {
"selected": true,
"text": "cmp002",
"value": "cmp002"
}
},
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "max((openstack_nova_disk{environment=\"$environment\", hostname=\"$host\"} - openstack_nova_disk_available{environment=\"$environment\", hostname=\"$host\"}) / openstack_nova_disk{environment=\"$environment\", hostname=\"$host\"})",
"format": "time_series",
"intervalFactor": 2,
"refId": "A"
}
],
"thresholds": "0.9,1",
"title": "Current Disk Allocation Ratio",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
}
],
"repeat": "host",
"scopedVars": {
"host": {
"$$hashKey": "object:33433",
"selected": true,
"text": "cmp002",
"value": "cmp002"
}
},
"title": "Hypervisors Utilization @$host",
"type": "row"
}
],
"refresh": "1m",
"schemaVersion": 16,
"style": "dark",
"tags": [
"openstack"
],
"templating": {
"list": [
{
"allValue": null,
"current": null,
"datasource": "prometheus",
"hide": 0,
"includeAll": false,
"label": null,
"multi": false,
"name": "environment",
"options": [],
"query": "label_values(environment)",
"refresh": 1,
"regex": "",
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {
"text": "infra-dev",
"value": [
"infra-dev"
]
},
"datasource": "prometheus",
"hide": 0,
"includeAll": false,
"label": null,
"multi": true,
"name": "aggregate",
"options": [],
"query": "label_values(openstack_nova_aggregate_running_instances{environment=\"$environment\"}, aggregate)",
"refresh": 1,
"regex": "",
"sort": 1,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {
"text": "cmp002",
"value": [
"cmp002"
]
},
"datasource": "prometheus",
"hide": 0,
"includeAll": false,
"label": null,
"multi": true,
"name": "host",
"options": [],
"query": "label_values(openstack_nova_running_instances{environment=\"$environment\"}, hostname)",
"refresh": 1,
"regex": "",
"sort": 1,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"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"
]
},
"timezone": "",
"title": "Nova - Utilization",
"uid": null,
"version": 1
}
{%- endraw %}