Skip to content

Instantly share code, notes, and snippets.

@aryulianto
Created December 12, 2018 07:58
Show Gist options
  • Save aryulianto/6f93e3fc526ef7a0d59508b7ae93b673 to your computer and use it in GitHub Desktop.
Save aryulianto/6f93e3fc526ef7a0d59508b7ae93b673 to your computer and use it in GitHub Desktop.
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"hideControls": false,
"id": 13,
"links": [],
"refresh": false,
"rows": [
{
"collapse": true,
"height": 109,
"panels": [
{
"content": "# Openstack dashboard: mycloud\n\n* openstack data is cached, currently refreshed every 5 minutes\n* The VM creation / teardown graph doesn't show the values for the builders in scalingstacks because they happen a lot faster than our scrape interval\n* \"Free IPs\" are not owned by any tenant and available for allocation\n* \"Unused IPs\" are owned by a tenant but not currently associated with an instance",
"editable": true,
"error": false,
"height": "200px",
"id": 26,
"links": [],
"mode": "markdown",
"span": 6,
"title": "",
"type": "text"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "OpenStack",
"editable": true,
"error": false,
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"id": 117,
"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"
}
],
"span": 2,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "sum(neutron_net_size{network_name=\"ext_net\",cloud=\"mycloud\"}) - sum(neutron_public_ip_usage{subnet_name=\"ext_net\",cloud=\"mycloud\"})",
"intervalFactor": 2,
"legendFormat": "",
"metric": "",
"refId": "A",
"step": 1800
}
],
"thresholds": "",
"title": "Free IPs (ext_net)",
"type": "singlestat",
"valueFontSize": "100%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "OpenStack",
"editable": true,
"error": false,
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"id": 138,
"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"
}
],
"span": 2,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "(sum(neutron_net_size{network_name=\"ext_net\",cloud=\"mycloud\"}) - sum(neutron_public_ip_usage{subnet_name=\"ext_net\",cloud=\"mycloud\",ip_status=\"ACTIVE\"})) - (sum(neutron_net_size{network_name=\"ext_net\",cloud=\"mycloud\"}) - sum(neutron_public_ip_usage{subnet_name=\"ext_net\",cloud=\"mycloud\"}))",
"intervalFactor": 2,
"legendFormat": "",
"metric": "",
"refId": "A",
"step": 1800
}
],
"thresholds": "",
"title": "Unused IPs (ext_net)",
"type": "singlestat",
"valueFontSize": "100%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "OpenStack",
"editable": true,
"error": false,
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"id": 118,
"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"
}
],
"span": 2,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "sum(hypervisor_schedulable_instances{nova_service_status=\"enabled\",cloud=\"mycloud\"})",
"intervalFactor": 2,
"legendFormat": "",
"metric": "",
"refId": "A",
"step": 1800
}
],
"thresholds": "",
"title": "Schedulable cpu2-ram4-disk20 instances",
"type": "singlestat",
"valueFontSize": "100%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "OpenStack",
"editable": true,
"error": false,
"format": "bytes",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"id": 120,
"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"
}
],
"span": 3,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "sum(swift_disk_usage_bytes{type=\"size\",cloud=\"mycloud\"}) - sum(swift_disk_usage_bytes{type=\"used\",cloud=\"mycloud\"})",
"intervalFactor": 2,
"legendFormat": "",
"metric": "",
"refId": "A",
"step": 1800
}
],
"thresholds": "",
"title": "Free swift space - raw",
"type": "singlestat",
"valueFontSize": "100%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "OpenStack",
"editable": true,
"error": false,
"format": "bytes",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"id": 121,
"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"
}
],
"span": 3,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "(sum(swift_disk_usage_bytes{type=\"size\",cloud=\"mycloud\"}) - sum(swift_disk_usage_bytes{type=\"used\",cloud=\"mycloud\"})) /3",
"intervalFactor": 2,
"legendFormat": "",
"metric": "",
"refId": "A",
"step": 1800
}
],
"thresholds": "",
"title": "Free swift space -usable (rf=3)",
"type": "singlestat",
"valueFontSize": "100%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
}
],
"repeat": null,
"repeatIteration": null,
"repeatRowId": null,
"showTitle": true,
"title": "Info",
"titleSize": "h6"
},
{
"collapse": false,
"height": 250,
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "OpenStack",
"editable": true,
"error": false,
"fill": 4,
"id": 141,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": 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,
"span": 6,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "(sum(swift_disk_usage_bytes{type=\"size\",cloud=\"mycloud\"}) - sum(swift_disk_usage_bytes{type=\"used\",cloud=\"mycloud\"}))/3",
"intervalFactor": 2,
"legendFormat": "Free usable space",
"refId": "A",
"step": 2400
}
],
"thresholds": [],
"timeFrom": "14d",
"timeShift": null,
"title": "Swift - usable free space",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "bytes",
"label": "",
"logBase": 1,
"max": null,
"min": "0",
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "OpenStack",
"editable": true,
"error": false,
"fill": 4,
"id": 142,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": 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,
"span": 6,
"stack": true,
"steppedLine": false,
"targets": [
{
"expr": "sum(hypervisor_schedulable_instances{cloud=\"mycloud\",nova_service_status=\"enabled\"}) by (aggregate)",
"intervalFactor": 2,
"legendFormat": "{{aggregate}}",
"refId": "A",
"step": 2400
}
],
"thresholds": [],
"timeFrom": "14d",
"timeShift": null,
"title": "Schedulable cpu2-ram4-disk20 instances",
"tooltip": {
"msResolution": false,
"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": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "OpenStack",
"editable": true,
"error": false,
"fill": 4,
"id": 143,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "{}",
"color": "#64B0C8"
}
],
"spaceLength": 10,
"span": 5,
"stack": true,
"steppedLine": false,
"targets": [
{
"expr": "sum(neutron_net_size{network_name=\"ext_net\",cloud=\"mycloud\"}) - sum(neutron_public_ip_usage{subnet_name=\"ext_net\",cloud=\"mycloud\"})",
"intervalFactor": 2,
"legendFormat": "",
"refId": "A",
"step": 3600
}
],
"thresholds": [],
"timeFrom": "14d",
"timeShift": null,
"title": "Free production floating IPs",
"tooltip": {
"msResolution": false,
"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": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "OpenStack",
"editable": true,
"error": false,
"format": "s",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"id": 145,
"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"
}
],
"span": 2,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "((swift_disk_usage_bytes:sum:by_cloud_type{type=\"size\",cloud=\"mycloud\"} - on(cloud) swift_disk_usage_bytes:sum:by_cloud_type{type=\"used\",cloud=\"mycloud\"}) / on () deriv(swift_disk_usage_bytes:sum:by_cloud_type{type=\"used\",cloud=\"mycloud\"}[14d])) >0",
"hide": false,
"intervalFactor": 2,
"legendFormat": "",
"refId": "B",
"step": 1800
}
],
"thresholds": "",
"title": "Time until swift full (based on last 14 days)",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A space growing?",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "OpenStack",
"editable": true,
"error": false,
"format": "s",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"id": 146,
"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"
}
],
"span": 2,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "hypervisor_schedulable_instances:sum:by_cloud_status{cloud=\"mycloud\",nova_service_status=\"enabled\"} / -deriv(hypervisor_schedulable_instances:sum:by_cloud_status{cloud=\"mycloud\",nova_service_status=\"enabled\"}[14d]) >0",
"intervalFactor": 2,
"refId": "B",
"step": 1800
}
],
"thresholds": "",
"title": "Time until compute full",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A space growing?",
"value": "null"
}
],
"valueName": "current"
},
{
"columns": [
{
"text": "Current",
"value": "current"
}
],
"datasource": "OpenStack",
"editable": true,
"error": false,
"fontSize": "100%",
"id": 150,
"links": [],
"pageSize": null,
"scroll": true,
"showHeader": true,
"sort": {
"col": 1,
"desc": true
},
"span": 3,
"styles": [
{
"colorMode": "row",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"decimals": 2,
"pattern": "Current",
"thresholds": [
"8",
"16"
],
"type": "number",
"unit": "none"
}
],
"targets": [
{
"expr": "topk(3,hypervisor_schedulable_instances{cloud=\"mycloud\",aggregate=~\"$aggregate\",nova_service_status=\"enabled\"})",
"intervalFactor": 2,
"legendFormat": "{{hypervisor_hostname}}",
"refId": "A",
"step": 240
}
],
"title": "Top compute with cpu2-ram4-disk20 space",
"transform": "timeseries_aggregations",
"type": "table"
}
],
"repeat": null,
"repeatIteration": null,
"repeatRowId": null,
"showTitle": true,
"title": "KPI graphs - 14 days",
"titleSize": "h6"
},
{
"collapse": true,
"height": "250px",
"panels": [
{
"aliasColors": {},
"bars": false,
"datasource": "OpenStack",
"editable": true,
"error": false,
"fill": 3,
"grid": {},
"id": 61,
"legend": {
"avg": false,
"current": true,
"max": false,
"min": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"minSpan": null,
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"repeat": "neutron_net",
"scopedVars": {
"neutron_net": {
"selected": false,
"text": "Public_Network",
"value": "Public_Network"
}
},
"seriesOverrides": [
{
"alias": "Free",
"color": "#BF1B00",
"linewidth": 4
}
],
"span": 6,
"stack": true,
"steppedLine": false,
"targets": [
{
"expr": "sum(neutron_public_ip_usage{subnet_name=\"$neutron_net\",ip_type=\"floatingip\",cloud=\"mycloud\"})",
"hide": false,
"interval": "",
"intervalFactor": 2,
"legendFormat": "Floating IPs",
"refId": "A",
"step": 240
},
{
"expr": "sum(neutron_public_ip_usage{subnet_name=\"$neutron_net\",ip_type=\"routerip\",cloud=\"mycloud\"})",
"hide": false,
"interval": "",
"intervalFactor": 2,
"legendFormat": "Router IPs",
"refId": "B",
"step": 240
},
{
"expr": "sum(neutron_net_size{network_name=\"$neutron_net\",cloud=\"mycloud\"}) - sum(neutron_public_ip_usage{subnet_name=\"$neutron_net\",cloud=\"mycloud\"})",
"interval": "",
"intervalFactor": 2,
"legendFormat": "Free",
"refId": "C",
"step": 240
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "IPs in $neutron_net",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"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": false
}
]
},
{
"columns": [
{
"text": "Current",
"value": "current"
}
],
"datasource": "OpenStack",
"editable": true,
"error": false,
"fontSize": "80%",
"id": 6,
"links": [],
"minSpan": 3,
"pageSize": null,
"repeat": "neutron_net",
"scopedVars": {
"neutron_net": {
"selected": false,
"text": "Public_Network",
"value": "Public_Network"
}
},
"scroll": true,
"showHeader": true,
"sort": {
"col": 1,
"desc": true
},
"span": 6,
"styles": [
{
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "date"
},
{
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "number",
"unit": "none"
}
],
"targets": [
{
"expr": "neutron_public_ip_usage{subnet_name=\"$neutron_net\",ip_type=\"floatingip\", ip_status=\"DOWN\",tenant=~\".+\",cloud=\"mycloud\"}",
"intervalFactor": 2,
"legendFormat": "{{tenant}}",
"refId": "A",
"step": 240
}
],
"title": "Tenants with unused IPs in $neutron_net",
"transform": "timeseries_aggregations",
"type": "table"
},
{
"columns": [
{
"text": "Current",
"value": "current"
}
],
"datasource": "OpenStack",
"editable": true,
"error": false,
"fontSize": "80%",
"id": 5,
"links": [],
"minSpan": 3,
"pageSize": null,
"repeat": "neutron_net",
"scopedVars": {
"neutron_net": {
"selected": false,
"text": "Public_Network",
"value": "Public_Network"
}
},
"scroll": true,
"showHeader": true,
"sort": {
"col": 1,
"desc": true
},
"span": 6,
"styles": [
{
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "date"
},
{
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "number",
"unit": "none"
}
],
"targets": [
{
"expr": "topk(10, neutron_public_ip_usage{subnet_name=\"$neutron_net\",ip_type=\"floatingip\",tenant=~\".+\",cloud=\"mycloud\"})",
"intervalFactor": 2,
"legendFormat": "{{tenant}}",
"refId": "A",
"step": 240
}
],
"title": "Tenants using most IPs in $neutron_net",
"transform": "timeseries_aggregations",
"type": "table"
},
{
"aliasColors": {},
"bars": false,
"datasource": "OpenStack",
"editable": true,
"error": false,
"fill": 3,
"grid": {},
"id": 151,
"legend": {
"avg": false,
"current": true,
"max": false,
"min": false,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 2,
"links": [],
"minSpan": null,
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"repeat": null,
"repeatIteration": 1544600233795,
"repeatPanelId": 61,
"scopedVars": {
"neutron_net": {
"selected": false,
"text": "Region_Network",
"value": "Region_Network"
}
},
"seriesOverrides": [
{
"alias": "Free",
"color": "#BF1B00",
"linewidth": 4
}
],
"span": 6,
"stack": true,
"steppedLine": false,
"targets": [
{
"expr": "sum(neutron_public_ip_usage{subnet_name=\"$neutron_net\",ip_type=\"floatingip\",cloud=\"mycloud\"})",
"hide": false,
"interval": "",
"intervalFactor": 2,
"legendFormat": "Floating IPs",
"refId": "A",
"step": 240
},
{
"expr": "sum(neutron_public_ip_usage{subnet_name=\"$neutron_net\",ip_type=\"routerip\",cloud=\"mycloud\"})",
"hide": false,
"interval": "",
"intervalFactor": 2,
"legendFormat": "Router IPs",
"refId": "B",
"step": 240
},
{
"expr": "sum(neutron_net_size{network_name=\"$neutron_net\",cloud=\"mycloud\"}) - sum(neutron_public_ip_usage{subnet_name=\"$neutron_net\",cloud=\"mycloud\"})",
"interval": "",
"intervalFactor": 2,
"legendFormat": "Free",
"refId": "C",
"step": 240
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "IPs in $neutron_net",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"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": false
}
]
},
{
"columns": [
{
"text": "Current",
"value": "current"
}
],
"datasource": "OpenStack",
"editable": true,
"error": false,
"fontSize": "80%",
"id": 152,
"links": [],
"minSpan": 3,
"pageSize": null,
"repeat": null,
"repeatIteration": 1544600233795,
"repeatPanelId": 6,
"scopedVars": {
"neutron_net": {
"selected": false,
"text": "Region_Network",
"value": "Region_Network"
}
},
"scroll": true,
"showHeader": true,
"sort": {
"col": 1,
"desc": true
},
"span": 6,
"styles": [
{
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "date"
},
{
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "number",
"unit": "none"
}
],
"targets": [
{
"expr": "neutron_public_ip_usage{subnet_name=\"$neutron_net\",ip_type=\"floatingip\", ip_status=\"DOWN\",tenant=~\".+\",cloud=\"mycloud\"}",
"intervalFactor": 2,
"legendFormat": "{{tenant}}",
"refId": "A",
"step": 240
}
],
"title": "Tenants with unused IPs in $neutron_net",
"transform": "timeseries_aggregations",
"type": "table"
},
{
"columns": [
{
"text": "Current",
"value": "current"
}
],
"datasource": "OpenStack",
"editable": true,
"error": false,
"fontSize": "80%",
"id": 153,
"links": [],
"minSpan": 3,
"pageSize": null,
"repeat": null,
"repeatIteration": 1544600233795,
"repeatPanelId": 5,
"scopedVars": {
"neutron_net": {
"selected": false,
"text": "Region_Network",
"value": "Region_Network"
}
},
"scroll": true,
"showHeader": true,
"sort": {
"col": 1,
"desc": true
},
"span": 6,
"styles": [
{
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "date"
},
{
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "number",
"unit": "none"
}
],
"targets": [
{
"expr": "topk(10, neutron_public_ip_usage{subnet_name=\"$neutron_net\",ip_type=\"floatingip\",tenant=~\".+\",cloud=\"mycloud\"})",
"intervalFactor": 2,
"legendFormat": "{{tenant}}",
"refId": "A",
"step": 240
}
],
"title": "Tenants using most IPs in $neutron_net",
"transform": "timeseries_aggregations",
"type": "table"
}
],
"repeat": null,
"repeatIteration": null,
"repeatRowId": null,
"showTitle": true,
"title": "Neutron",
"titleSize": "h6"
},
{
"collapse": false,
"height": "350px",
"panels": [
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "OpenStack",
"editable": true,
"error": false,
"format": "mbytes",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"height": "100px",
"id": 8,
"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"
}
],
"span": 2,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "(sum(hypervisor_memory_mbs_total{cloud=\"mycloud\"}) * sum(openstack_allocation_ratio{cloud=\"mycloud\",resource=\"ram\"}) - sum(hypervisor_memory_mbs_used{cloud=\"mycloud\",nova_service_status=\"enabled\"}))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "",
"refId": "A",
"step": 1800
}
],
"thresholds": "",
"title": "Free memory",
"type": "singlestat",
"valueFontSize": "100%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "OpenStack",
"editable": true,
"error": false,
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"height": "100px",
"id": 11,
"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"
}
],
"span": 2,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "sum(hypervisor_vcpus_total{cloud=\"mycloud\",nova_service_status=\"enabled\"})*sum(openstack_allocation_ratio{cloud=\"mycloud\",resource=\"vcpu\"}) - sum(hypervisor_vcpus_used{cloud=\"mycloud\",nova_service_status=\"enabled\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "",
"metric": "hypervisor_disk_gbs_total",
"refId": "A",
"step": 1800
}
],
"thresholds": "",
"title": "Free vCPUs",
"type": "singlestat",
"valueFontSize": "100%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "OpenStack",
"editable": true,
"error": false,
"format": "gbytes",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"height": "100px",
"id": 10,
"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"
}
],
"span": 2,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "sum(hypervisor_disk_gbs_total{cloud=\"mycloud\",nova_service_status=\"enabled\"}) * sum(openstack_allocation_ratio{cloud=\"mycloud\",resource=\"disk\"}) - sum(hypervisor_disk_gbs_used{cloud=\"mycloud\",nova_service_status=\"enabled\"})",
"intervalFactor": 2,
"legendFormat": "",
"metric": "hypervisor_disk_gbs_total",
"refId": "A",
"step": 1800
}
],
"thresholds": "",
"title": "Free disk",
"type": "singlestat",
"valueFontSize": "100%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "OpenStack",
"decimals": 1,
"editable": true,
"error": false,
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"height": "100px",
"id": 51,
"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"
}
],
"span": 2,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "openstack_allocation_ratio{cloud=\"mycloud\",resource=\"vcpu\"}",
"format": "time_series",
"hide": false,
"intervalFactor": 2,
"legendFormat": "Openstack CPU allocation ratio",
"refId": "A",
"step": 1800
}
],
"thresholds": "",
"title": "CPU Overcommit ratio",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "OpenStack",
"editable": true,
"error": false,
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"height": "100px",
"id": 52,
"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"
}
],
"span": 2,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "openstack_allocation_ratio{cloud=\"mycloud\",resource=\"ram\"}",
"intervalFactor": 2,
"legendFormat": "RAM allocation ratio",
"refId": "A",
"step": 1800
}
],
"thresholds": "",
"title": "RAM Overcommit ratio",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "OpenStack",
"editable": true,
"error": false,
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"height": "100px",
"id": 53,
"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"
}
],
"span": 2,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "openstack_allocation_ratio{cloud=\"mycloud\",resource=\"disk\"}",
"intervalFactor": 2,
"legendFormat": "Disk Overcommit ratio",
"refId": "A",
"step": 1800
}
],
"thresholds": "",
"title": "Disk Overcommit ratio",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "OpenStack",
"editable": true,
"error": false,
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"height": "150px",
"id": 110,
"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"
}
],
"span": 2,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "sum(hypervisor_schedulable_instances{nova_service_status=\"enabled\",cloud=\"mycloud\",aggregate=~\"$aggregate\"})",
"intervalFactor": 2,
"legendFormat": "Schedulable instances",
"refId": "A",
"step": 1800
}
],
"thresholds": "",
"title": "Schedulable cpu2-ram4-disk20 instances ($aggregate)",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "OpenStack",
"editable": true,
"error": false,
"fill": 1,
"grid": {},
"height": "200px",
"id": 98,
"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": [],
"spaceLength": 10,
"span": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"expr": "sum(hypervisor_schedulable_instances{cloud=\"mycloud\",nova_service_status=\"enabled\"}) by (aggregate)",
"intervalFactor": 2,
"legendFormat": "{{aggregate}}",
"refId": "A",
"step": 240
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Schedulable cpu2-ram4-disk20 instances",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "none",
"label": null,
"logBase": 1,
"max": null,
"min": 0,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "OpenStack",
"editable": true,
"error": false,
"fill": 1,
"grid": {},
"height": "200px",
"id": 15,
"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": [],
"spaceLength": 10,
"span": 6,
"stack": true,
"steppedLine": false,
"targets": [
{
"expr": "(sum(hypervisor_vcpus_total{aggregate=~\".+\",cloud=\"mycloud\",nova_service_status=\"enabled\"} * on(cloud) group_left openstack_allocation_ratio{cloud=\"mycloud\",resource=\"vcpu\"}) by(aggregate)) - (sum(hypervisor_vcpus_used{aggregate=~\".+\",cloud=\"mycloud\",nova_service_status=\"enabled\"}) by(aggregate))",
"intervalFactor": 2,
"legendFormat": "{{aggregate}}",
"refId": "A",
"step": 240
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Free vCPUs",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": false,
"values": []
},
"yaxes": [
{
"format": "short",
"label": "",
"logBase": 1,
"max": null,
"min": 0,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "OpenStack",
"editable": true,
"error": false,
"fill": 1,
"grid": {},
"height": "200px",
"id": 14,
"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": [],
"spaceLength": 10,
"span": 6,
"stack": true,
"steppedLine": false,
"targets": [
{
"expr": "(sum(hypervisor_disk_gbs_total{aggregate=~\".+\",cloud=\"mycloud\",nova_service_status=\"enabled\"} * on(cloud) group_left openstack_allocation_ratio{cloud=\"mycloud\",resource=\"disk\"}) by(aggregate)) - (sum(hypervisor_disk_gbs_used{aggregate=~\".+\",cloud=\"mycloud\",nova_service_status=\"enabled\"}) by(aggregate))",
"intervalFactor": 2,
"legendFormat": "{{aggregate}}",
"refId": "A",
"step": 240
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Free Disk",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "gbytes",
"label": null,
"logBase": 1,
"max": null,
"min": 0,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "OpenStack",
"editable": true,
"error": false,
"fill": 1,
"grid": {},
"height": "200px",
"id": 13,
"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": [],
"spaceLength": 10,
"span": 6,
"stack": true,
"steppedLine": false,
"targets": [
{
"expr": "(sum(hypervisor_memory_mbs_total{aggregate=~\".+\",cloud=\"mycloud\",nova_service_status=\"enabled\"} * on(cloud) group_left openstack_allocation_ratio{cloud=\"mycloud\",resource=\"ram\"}) by(aggregate)) - (sum(hypervisor_memory_mbs_used{aggregate=~\".+\",cloud=\"mycloud\",nova_service_status=\"enabled\"}) by(aggregate))",
"intervalFactor": 2,
"legendFormat": "{{aggregate}}",
"refId": "A",
"step": 240
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Free memory",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "mbytes",
"label": null,
"logBase": 1,
"max": null,
"min": 0,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "OpenStack",
"editable": true,
"error": false,
"fill": 1,
"grid": {},
"height": "200px",
"id": 16,
"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": [],
"spaceLength": 10,
"span": 6,
"stack": true,
"steppedLine": false,
"targets": [
{
"expr": "sum(hypervisor_running_vms{aggregate=~\".+\",cloud=\"mycloud\"}) by (aggregate)",
"intervalFactor": 2,
"legendFormat": "{{aggregate}}",
"refId": "A",
"step": 240
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Running VMs",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "none",
"label": null,
"logBase": 1,
"max": null,
"min": 0,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
},
{
"columns": [
{
"text": "Current",
"value": "current"
}
],
"datasource": "OpenStack",
"editable": true,
"error": false,
"fontSize": "100%",
"hideTimeOverride": true,
"id": 85,
"links": [],
"pageSize": null,
"scroll": true,
"showHeader": true,
"sort": {
"col": 1,
"desc": true
},
"span": 3,
"styles": [
{
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "date"
},
{
"colorMode": "cell",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [
"8",
"16"
],
"type": "number",
"unit": "none"
}
],
"targets": [
{
"expr": "hypervisor_schedulable_instances{cloud=\"mycloud\",aggregate=~\"$aggregate\"}",
"hide": false,
"intervalFactor": 2,
"legendFormat": "{{hypervisor_hostname}} ({{nova_service_status}})",
"refId": "A",
"step": 4
},
{
"expr": "",
"intervalFactor": 2,
"legendFormat": "",
"refId": "B"
}
],
"timeFrom": "20m",
"title": "Schedulable cpu2-ram4-disk20 instances ($aggregate)",
"transform": "timeseries_aggregations",
"type": "table"
},
{
"columns": [
{
"text": "Current",
"value": "current"
}
],
"datasource": "OpenStack",
"editable": true,
"error": false,
"fontSize": "100%",
"hideTimeOverride": true,
"id": 99,
"links": [],
"pageSize": null,
"scroll": true,
"showHeader": true,
"sort": {
"col": 1,
"desc": false
},
"span": 3,
"styles": [
{
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "date"
},
{
"colorMode": "cell",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [
"8",
"16"
],
"type": "number",
"unit": "none"
}
],
"targets": [
{
"expr": "(hypervisor_vcpus_total{cloud=\"mycloud\",aggregate=~\"$aggregate\"} * on(cloud) group_left openstack_allocation_ratio{cloud=\"mycloud\",resource=\"vcpu\"}) - on(cloud,hypervisor_hostname,nova_service_status) hypervisor_vcpus_used{cloud=\"mycloud\",aggregate=~\"$aggregate\"}",
"hide": false,
"intervalFactor": 2,
"legendFormat": "{{hypervisor_hostname}} ({{nova_service_status}})",
"refId": "A",
"step": 4
}
],
"timeFrom": "20m",
"title": "Free vCPU per host ($aggregate)",
"transform": "timeseries_aggregations",
"type": "table"
},
{
"columns": [
{
"text": "Current",
"value": "current"
}
],
"datasource": "OpenStack",
"editable": true,
"error": false,
"fontSize": "100%",
"hideTimeOverride": true,
"id": 28,
"links": [],
"pageSize": null,
"scroll": true,
"showHeader": true,
"sort": {
"col": 1,
"desc": false
},
"span": 3,
"styles": [
{
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "date"
},
{
"colorMode": "cell",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 0,
"pattern": "/.*/",
"thresholds": [
"16",
"32"
],
"type": "number",
"unit": "none"
}
],
"targets": [
{
"expr": "((hypervisor_memory_mbs_total{cloud=\"mycloud\",aggregate=~\"$aggregate\"} * on(cloud) group_left openstack_allocation_ratio{cloud=\"mycloud\",resource=\"ram\"}) - on(cloud,hypervisor_hostname,nova_service_status) hypervisor_memory_mbs_used{cloud=\"mycloud\",aggregate=~\"$aggregate\"}) / 1024",
"hide": false,
"intervalFactor": 2,
"legendFormat": "{{hypervisor_hostname}} ({{nova_service_status}})",
"refId": "A",
"step": 4
}
],
"timeFrom": "20m",
"title": "Free RAM GBs per host ($aggregate)",
"transform": "timeseries_aggregations",
"type": "table"
},
{
"columns": [
{
"text": "Current",
"value": "current"
}
],
"datasource": "OpenStack",
"editable": true,
"error": false,
"fontSize": "100%",
"hideTimeOverride": true,
"id": 29,
"links": [],
"pageSize": null,
"scroll": true,
"showHeader": true,
"sort": {
"col": 1,
"desc": false
},
"span": 3,
"styles": [
{
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "date"
},
{
"colorMode": "cell",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 0,
"pattern": "/.*/",
"thresholds": [
"100",
"200"
],
"type": "number",
"unit": "none"
}
],
"targets": [
{
"expr": "(hypervisor_disk_gbs_total{cloud=\"mycloud\",aggregate=~\"$aggregate\"} * on(cloud) group_left openstack_allocation_ratio{cloud=\"mycloud\",resource=\"disk\"}) - on(cloud,hypervisor_hostname,nova_service_status) hypervisor_disk_gbs_used{cloud=\"mycloud\",aggregate=~\"$aggregate\"}",
"hide": false,
"intervalFactor": 2,
"legendFormat": "{{hypervisor_hostname}} ({{nova_service_status}})",
"refId": "A",
"step": 4
}
],
"timeFrom": "20m",
"title": "Free disk GBs per host ($aggregate)",
"transform": "timeseries_aggregations",
"type": "table"
}
],
"repeat": null,
"repeatIteration": null,
"repeatRowId": null,
"showTitle": true,
"title": "Compute",
"titleSize": "h6"
},
{
"collapse": true,
"height": "250px",
"panels": [
{
"aliasColors": {},
"bars": false,
"datasource": "OpenStack",
"editable": true,
"error": false,
"fill": 10,
"grid": {},
"height": "250px",
"id": 32,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 0,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 7,
"stack": true,
"steppedLine": false,
"targets": [
{
"expr": "sum(swift_disk_usage_bytes{type=\"used\",cloud=\"mycloud\"}) by (hostname)",
"intervalFactor": 2,
"legendFormat": "{{hostname}}",
"refId": "A",
"step": 240
},
{
"expr": "sum(swift_disk_usage_bytes{type=\"size\",cloud=\"mycloud\"}) - sum(swift_disk_usage_bytes{type=\"used\",cloud=\"mycloud\"})",
"intervalFactor": 2,
"legendFormat": "Free",
"refId": "B",
"step": 240
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Swift disk space",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "bytes",
"label": null,
"logBase": 1,
"max": null,
"min": 0,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
},
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"datasource": "OpenStack",
"editable": true,
"error": false,
"format": "bytes",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"height": "250px",
"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"
}
],
"span": 2,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"targets": [
{
"expr": "sum(swift_disk_usage_bytes{type=\"size\",cloud=\"mycloud\"}) - sum(swift_disk_usage_bytes{type=\"used\",cloud=\"mycloud\"})",
"intervalFactor": 2,
"legendFormat": "",
"refId": "A",
"step": 1800
}
],
"thresholds": "",
"title": "Free space (raw)",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "current"
},
{
"columns": [
{
"text": "Current",
"value": "current"
}
],
"datasource": "OpenStack",
"editable": true,
"error": false,
"fontSize": "100%",
"id": 49,
"links": [],
"pageSize": null,
"scroll": true,
"showHeader": true,
"sort": {
"col": 1,
"desc": false
},
"span": 3,
"styles": [
{
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "date"
},
{
"colorMode": null,
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "number",
"unit": "bytes"
}
],
"targets": [
{
"expr": "bottomk(10, sum(swift_disk_usage_bytes{type=\"size\",cloud=\"mycloud\"}) by (hostname, device) - sum(swift_disk_usage_bytes{type=\"used\",cloud=\"mycloud\"}) by (hostname, device))",
"intervalFactor": 2,
"legendFormat": "{{hostname}} {{device}}",
"refId": "A",
"step": 600
}
],
"title": "Disk with least space free",
"transform": "timeseries_aggregations",
"type": "table"
},
{
"aliasColors": {},
"bars": false,
"datasource": "OpenStack",
"editable": true,
"error": false,
"fill": 0,
"grid": {},
"id": 34,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 4,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "swift_replication_duration_seconds{ring=\"object\",cloud=\"mycloud\"}",
"intervalFactor": 2,
"legendFormat": "{{hostname}}",
"refId": "A",
"step": 240
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Object replication duration",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"label": null,
"logBase": 1,
"max": null,
"min": 0,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": "OpenStack",
"editable": true,
"error": false,
"fill": 0,
"grid": {},
"id": 36,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 4,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "swift_replication_duration_seconds{ring=\"container\",cloud=\"mycloud\"}",
"intervalFactor": 2,
"legendFormat": "{{hostname}}",
"refId": "A",
"step": 240
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Container replication duration",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"label": null,
"logBase": 1,
"max": null,
"min": 0,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": "OpenStack",
"editable": true,
"error": false,
"fill": 0,
"grid": {},
"id": 35,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 4,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "swift_replication_duration_seconds{ring=\"account\",cloud=\"mycloud\"}",
"intervalFactor": 2,
"legendFormat": "{{hostname}}",
"refId": "A",
"step": 240
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Account replication duration",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"label": null,
"logBase": 1,
"max": null,
"min": 0,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": "OpenStack",
"editable": true,
"error": false,
"fill": 1,
"grid": {},
"height": "250px",
"id": 54,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"minSpan": 2,
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"repeat": "swifthost",
"seriesOverrides": [],
"span": 2,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "swift_replication_stats{hostname=~\"$swifthost\", ring=\"container\", cloud=\"mycloud\"}",
"interval": "5m",
"intervalFactor": 2,
"legendFormat": "{{type}}",
"refId": "A",
"step": 600
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "$swifthost container replication",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 2,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": "OpenStack",
"editable": true,
"error": false,
"fill": 1,
"grid": {},
"height": "250px",
"id": 60,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"minSpan": 2,
"nullPointMode": "connected",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"repeat": "swifthost",
"seriesOverrides": [],
"span": 2,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "swift_replication_stats{hostname=~\"$swifthost\", ring=\"account\", cloud=\"mycloud\"}",
"interval": "5m",
"intervalFactor": 2,
"legendFormat": "{{type}}",
"refId": "A",
"step": 600
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "$swifthost account replication",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 2,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
}
],
"repeat": null,
"repeatIteration": null,
"repeatRowId": null,
"showTitle": true,
"title": "Swift",
"titleSize": "h6"
},
{
"collapse": true,
"height": "250px",
"panels": [
{
"aliasColors": {},
"bars": false,
"datasource": "OpenStack",
"decimals": 0,
"editable": true,
"error": false,
"fill": 1,
"grid": {},
"id": 30,
"legend": {
"avg": false,
"current": false,
"hideEmpty": false,
"hideZero": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "null as zero",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 12,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "nova_instances{instance_state=\"ERROR\",cloud=\"mycloud\"}",
"intervalFactor": 2,
"legendFormat": "{{tenant}}",
"refId": "A",
"step": 120
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Instances in ERROR state",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "none",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": "OpenStack",
"editable": true,
"error": false,
"fill": 0,
"grid": {},
"id": 19,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "null as zero",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 6,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "topk(10, nova_resources_disk_gbs{cloud=\"mycloud\"})",
"intervalFactor": 2,
"legendFormat": "{{tenant}}",
"refId": "A",
"step": 240
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Top disk users",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "gbytes",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": "OpenStack",
"editable": true,
"error": false,
"fill": 0,
"grid": {},
"id": 20,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "null as zero",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 6,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "topk(10, nova_resources_ram_mbs{cloud=\"mycloud\"})",
"intervalFactor": 2,
"legendFormat": "{{tenant}}",
"refId": "A",
"step": 240
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Top RAM users",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "mbytes",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": "OpenStack",
"editable": true,
"error": false,
"fill": 0,
"grid": {},
"id": 18,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "null as zero",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 6,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "topk(10, nova_resources_vcpus{cloud=\"mycloud\"})",
"intervalFactor": 2,
"legendFormat": "{{tenant}}",
"refId": "A",
"step": 240
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Top vCPU users",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "none",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": "OpenStack",
"editable": true,
"error": false,
"fill": 0,
"grid": {},
"id": 21,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 2,
"links": [],
"nullPointMode": "null as zero",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 6,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "topk(10, nova_instances{cloud=\"mycloud\"})",
"intervalFactor": 2,
"legendFormat": "{{tenant}}",
"refId": "A",
"step": 240
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Top instance owners",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "none",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
}
],
"repeat": null,
"repeatIteration": null,
"repeatRowId": null,
"showTitle": true,
"title": "Instances",
"titleSize": "h6"
},
{
"collapse": true,
"height": "250px",
"panels": [
{
"aliasColors": {},
"bars": false,
"datasource": "OpenStack",
"editable": true,
"error": false,
"fill": 1,
"grid": {},
"height": "140px",
"id": 22,
"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": 12,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "openstack_exporter_cache_age_seconds{cloud=\"mycloud\"}",
"intervalFactor": 2,
"legendFormat": "Cache age",
"metric": "",
"refId": "A",
"step": 120
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Cache age",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"type": "graph",
"xaxis": {
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": "OpenStack",
"editable": true,
"error": false,
"fill": 1,
"grid": {},
"height": "140px",
"id": 23,
"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": 12,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "openstack_exporter_cache_refresh_duration_seconds{cloud=\"mycloud\"}",
"intervalFactor": 2,
"legendFormat": "Refresh duration",
"metric": "openstack_exporter_cache_refresh_duration_seconds",
"refId": "A",
"step": 120
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Cache refresh duration",
"tooltip": {
"msResolution": true,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"label": null,
"logBase": 1,
"max": null,
"min": 0,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
},
{
"aliasColors": {},
"bars": false,
"datasource": "OpenStack",
"editable": true,
"error": false,
"fill": 1,
"grid": {},
"height": "140px",
"id": 50,
"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": 12,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "scrape_duration_seconds{instance=\"$instance\"}",
"intervalFactor": 2,
"legendFormat": "Scrape duration",
"metric": "openstack_exporter_cache_refresh_duration_seconds",
"refId": "A",
"step": 120
}
],
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Scrape duration",
"tooltip": {
"msResolution": false,
"shared": true,
"sort": 0,
"value_type": "cumulative"
},
"transparent": false,
"type": "graph",
"xaxis": {
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"label": null,
"logBase": 1,
"max": null,
"min": 0,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
]
}
],
"repeat": null,
"repeatIteration": null,
"repeatRowId": null,
"showTitle": true,
"title": "Openstack Exporter Stats",
"titleSize": "h6"
}
],
"schemaVersion": 14,
"style": "dark",
"tags": [
"is-infra"
],
"templating": {
"list": [
{
"allValue": null,
"current": {
"text": "west-java-1",
"value": "west-java-1"
},
"datasource": "OpenStack",
"hide": 0,
"includeAll": false,
"label": null,
"multi": false,
"name": "cloud",
"options": [],
"query": "openstack_exporter_cache_age_seconds",
"refresh": 1,
"regex": ".*cloud=\"([^\"]+).*",
"sort": 0,
"tagValuesQuery": null,
"tags": [],
"tagsQuery": null,
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {
"text": "10.10.22.173:9183",
"value": "10.10.22.173:9183"
},
"datasource": "OpenStack",
"hide": 2,
"includeAll": false,
"label": null,
"multi": false,
"name": "instance",
"options": [],
"query": "openstack_exporter_cache_refresh_duration_seconds{cloud=\"mycloud\"}",
"refresh": 1,
"regex": ".*instance=\"([^\"]+).*",
"sort": 0,
"tagValuesQuery": null,
"tags": [],
"tagsQuery": null,
"type": "query",
"useTags": false
},
{
"allValue": "",
"current": {
"text": "All",
"value": "$__all"
},
"datasource": "OpenStack",
"hide": 2,
"includeAll": true,
"label": null,
"multi": true,
"name": "swifthost",
"options": [],
"query": "swift_disk_usage_bytes{type=\"used\",cloud=\"mycloud\"}",
"refresh": 1,
"regex": ".*hostname=\"([^\"]+).*",
"sort": 0,
"tagValuesQuery": null,
"tags": [],
"tagsQuery": null,
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {
"text": "All",
"value": "$__all"
},
"datasource": "OpenStack",
"hide": 2,
"includeAll": true,
"label": "External networks",
"multi": false,
"name": "neutron_net",
"options": [],
"query": "neutron_public_ip_usage{cloud=\"mycloud\",ip_type=\"routerip\"}",
"refresh": 1,
"regex": ".*subnet_name=\"([^\"]+).*",
"sort": 0,
"tagValuesQuery": null,
"tags": [],
"tagsQuery": null,
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {
"text": "All",
"value": "$__all"
},
"datasource": "OpenStack",
"hide": 2,
"includeAll": true,
"label": null,
"multi": false,
"name": "hypervisor",
"options": [],
"query": "hypervisor_vcpus_total{cloud=\"mycloud\"}",
"refresh": 1,
"regex": ".*hypervisor_hostname=\"([^\"]+).*",
"sort": 0,
"tagValuesQuery": null,
"tags": [],
"tagsQuery": null,
"type": "query",
"useTags": false
},
{
"allValue": ".*",
"current": {
"text": "All",
"value": "$__all"
},
"datasource": "OpenStack",
"hide": 2,
"includeAll": true,
"label": null,
"multi": false,
"name": "hypervisor_status",
"options": [],
"query": "hypervisor_vcpus_total{cloud=\"mycloud\",hypervisor_hostname=\"$hypervisor\"}",
"refresh": 1,
"regex": ".*nova_service_status=\"([^\"]+).*",
"sort": 0,
"tagValuesQuery": null,
"tags": [],
"tagsQuery": null,
"type": "query",
"useTags": false
},
{
"allValue": ".*",
"current": {
"text": "All",
"value": "$__all"
},
"datasource": "OpenStack",
"hide": 0,
"includeAll": true,
"label": "availability zone",
"multi": false,
"name": "aggregate",
"options": [],
"query": "hypervisor_vcpus_total{cloud=\"mycloud\"}",
"refresh": 1,
"regex": ".*aggregate=\"([^\"]+).*",
"sort": 0,
"tagValuesQuery": null,
"tags": [],
"tagsQuery": null,
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-24h",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
]
},
"timezone": "browser",
"title": "Openstack clouds",
"version": 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment