8b29037cec
This is the action item to implement the spec: doc/source/specs/2025.1/chart_versioning.rst Also add overrides env variables - OSH_VALUES_OVERRIDES_PATH - OSH_INFRA_VALUES_OVERRIDES_PATH This commit temporarily disables all jobs that involve scripts in the OSH git repo because they need to be updated to work with the new values_overrides structure in the OSH-infra repo. Once this is merged I4974785c904cf7c8730279854e3ad9b6b7c35498 all these disabled test jobs must be enabled. Depends-On: I327103c18fc0e10e989a17f69b3bff9995c45eb4 Change-Id: I7bfdef3ea2128bbb4e26e3a00161fe30ce29b8e7
4166 lines
127 KiB
YAML
4166 lines
127 KiB
YAML
# NOTE(srwilkers): This overrides file provides a reference for dashboards for
|
|
# the openstack control plane as a whole, the individual openstack services, and
|
|
# rabbitmq
|
|
---
|
|
conf:
|
|
dashboards:
|
|
openstack:
|
|
rabbitmq: |-
|
|
{
|
|
"__inputs": [
|
|
{
|
|
"name": "DS_PROMETHEUS",
|
|
"label": "Prometheus",
|
|
"description": "",
|
|
"type": "datasource",
|
|
"pluginId": "prometheus",
|
|
"pluginName": "Prometheus"
|
|
}
|
|
],
|
|
"__requires": [
|
|
{
|
|
"type": "grafana",
|
|
"id": "grafana",
|
|
"name": "Grafana",
|
|
"version": "4.2.0"
|
|
},
|
|
{
|
|
"type": "panel",
|
|
"id": "graph",
|
|
"name": "Graph",
|
|
"version": ""
|
|
},
|
|
{
|
|
"type": "datasource",
|
|
"id": "prometheus",
|
|
"name": "Prometheus",
|
|
"version": "1.0.0"
|
|
},
|
|
{
|
|
"type": "panel",
|
|
"id": "singlestat",
|
|
"name": "Singlestat",
|
|
"version": ""
|
|
}
|
|
],
|
|
"annotations": {
|
|
"list": []
|
|
},
|
|
"editable": true,
|
|
"overwrite": true,
|
|
"gnetId": 2121,
|
|
"graphTooltip": 0,
|
|
"hideControls": false,
|
|
"id": null,
|
|
"links": [],
|
|
"refresh": "5s",
|
|
"rows": [
|
|
{
|
|
"collapse": false,
|
|
"height": 266,
|
|
"panels": [
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": true,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"rgba(50, 172, 45, 0.97)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(245, 54, 54, 0.9)"
|
|
],
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"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"
|
|
}
|
|
],
|
|
"span": 3,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"targets": [
|
|
{
|
|
"expr": "rabbitmq_up",
|
|
"intervalFactor": 2,
|
|
"metric": "rabbitmq_up",
|
|
"refId": "A",
|
|
"step": 2
|
|
}
|
|
],
|
|
"thresholds": "Up,Down",
|
|
"timeFrom": "30s",
|
|
"title": "RabbitMQ Server",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "Down",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "Up",
|
|
"value": "1"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"alert": {
|
|
"conditions": [
|
|
{
|
|
"evaluator": {
|
|
"params": [
|
|
1
|
|
],
|
|
"type": "lt"
|
|
},
|
|
"operator": {
|
|
"type": "and"
|
|
},
|
|
"query": {
|
|
"params": [
|
|
"A",
|
|
"10s",
|
|
"now"
|
|
]
|
|
},
|
|
"reducer": {
|
|
"params": [],
|
|
"type": "last"
|
|
},
|
|
"type": "query"
|
|
},
|
|
{
|
|
"evaluator": {
|
|
"params": [],
|
|
"type": "no_value"
|
|
},
|
|
"operator": {
|
|
"type": "and"
|
|
},
|
|
"query": {
|
|
"params": [
|
|
"A",
|
|
"10s",
|
|
"now"
|
|
]
|
|
},
|
|
"reducer": {
|
|
"params": [],
|
|
"type": "last"
|
|
},
|
|
"type": "query"
|
|
}
|
|
],
|
|
"executionErrorState": "alerting",
|
|
"frequency": "60s",
|
|
"handler": 1,
|
|
"message": "Some of the RabbitMQ node is down",
|
|
"name": "Node Stats alert",
|
|
"noDataState": "no_data",
|
|
"notifications": []
|
|
},
|
|
"aliasColors": {},
|
|
"bars": true,
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
"decimals": 0,
|
|
"fill": 1,
|
|
"id": 12,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": false,
|
|
"current": true,
|
|
"max": false,
|
|
"min": false,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": false,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "null",
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"span": 9,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"expr": "rabbitmq_running",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "{{node}}",
|
|
"metric": "rabbitmq_running",
|
|
"refId": "A",
|
|
"step": 2
|
|
}
|
|
],
|
|
"thresholds": [
|
|
{
|
|
"colorMode": "critical",
|
|
"fill": true,
|
|
"line": true,
|
|
"op": "lt",
|
|
"value": 1
|
|
}
|
|
],
|
|
"timeFrom": "30s",
|
|
"timeShift": null,
|
|
"title": "Node up Stats",
|
|
"tooltip": {
|
|
"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": null,
|
|
"show": true
|
|
},
|
|
{
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
"decimals": 0,
|
|
"fill": 1,
|
|
"id": 6,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": true,
|
|
"max": true,
|
|
"min": true,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "null",
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"span": 4,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"expr": "rabbitmq_exchangesTotal",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "{{instance}}:exchanges",
|
|
"metric": "rabbitmq_exchangesTotal",
|
|
"refId": "A",
|
|
"step": 2
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Exchanges",
|
|
"tooltip": {
|
|
"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": null,
|
|
"show": true
|
|
},
|
|
{
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
"decimals": 0,
|
|
"fill": 1,
|
|
"id": 4,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": true,
|
|
"max": true,
|
|
"min": true,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "null",
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"span": 4,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"expr": "rabbitmq_channelsTotal",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "{{instance}}:channels",
|
|
"metric": "rabbitmq_channelsTotal",
|
|
"refId": "A",
|
|
"step": 2
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Channels",
|
|
"tooltip": {
|
|
"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": null,
|
|
"show": true
|
|
},
|
|
{
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
"decimals": 0,
|
|
"fill": 1,
|
|
"id": 3,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": true,
|
|
"max": true,
|
|
"min": true,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "null",
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"span": 4,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"expr": "rabbitmq_consumersTotal",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "{{instance}}:consumers",
|
|
"metric": "rabbitmq_consumersTotal",
|
|
"refId": "A",
|
|
"step": 2
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Consumers",
|
|
"tooltip": {
|
|
"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": null,
|
|
"show": true
|
|
},
|
|
{
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
"decimals": 0,
|
|
"fill": 1,
|
|
"id": 5,
|
|
"legend": {
|
|
"avg": true,
|
|
"current": true,
|
|
"max": true,
|
|
"min": true,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "null",
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"span": 4,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"expr": "rabbitmq_connectionsTotal",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "{{instance}}:connections",
|
|
"metric": "rabbitmq_connectionsTotal",
|
|
"refId": "A",
|
|
"step": 2
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Connections",
|
|
"tooltip": {
|
|
"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": null,
|
|
"show": true
|
|
},
|
|
{
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
"fill": 1,
|
|
"id": 7,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": true,
|
|
"max": true,
|
|
"min": true,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "null",
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"span": 4,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"expr": "rabbitmq_queuesTotal",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "{{instance}}:queues",
|
|
"metric": "rabbitmq_queuesTotal",
|
|
"refId": "A",
|
|
"step": 2
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Queues",
|
|
"tooltip": {
|
|
"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": null,
|
|
"show": true
|
|
},
|
|
{
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
"decimals": 0,
|
|
"fill": 1,
|
|
"id": 8,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": true,
|
|
"max": true,
|
|
"min": true,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "null",
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"span": 6,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"expr": "sum by (vhost)(rabbitmq_queue_messages_ready)",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "{{vhost}}:ready",
|
|
"metric": "rabbitmq_queue_messages_ready",
|
|
"refId": "A",
|
|
"step": 2
|
|
},
|
|
{
|
|
"expr": "sum by (vhost)(rabbitmq_queue_messages_published_total)",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "{{vhost}}:published",
|
|
"metric": "rabbitmq_queue_messages_published_total",
|
|
"refId": "B",
|
|
"step": 2
|
|
},
|
|
{
|
|
"expr": "sum by (vhost)(rabbitmq_queue_messages_delivered_total)",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "{{vhost}}:delivered",
|
|
"metric": "rabbitmq_queue_messages_delivered_total",
|
|
"refId": "C",
|
|
"step": 2
|
|
},
|
|
{
|
|
"expr": "sum by (vhost)(rabbitmq_queue_messages_unacknowledged)",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "{{vhost}}:unack",
|
|
"metric": "ack",
|
|
"refId": "D",
|
|
"step": 2
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Messages/host",
|
|
"tooltip": {
|
|
"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": null,
|
|
"show": true
|
|
},
|
|
{
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
"decimals": 0,
|
|
"fill": 1,
|
|
"id": 2,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": false,
|
|
"current": true,
|
|
"max": false,
|
|
"min": false,
|
|
"rightSide": false,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "null",
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"span": 6,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"expr": "rabbitmq_queue_messages",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "{{queue}}:{{durable}}",
|
|
"metric": "rabbitmq_queue_messages",
|
|
"refId": "A",
|
|
"step": 2
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Messages / Queue",
|
|
"tooltip": {
|
|
"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": null,
|
|
"show": true
|
|
},
|
|
{
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
"fill": 1,
|
|
"id": 9,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": true,
|
|
"max": true,
|
|
"min": true,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "null",
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"span": 6,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"expr": "rabbitmq_node_mem_used",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "{{node}}:used",
|
|
"metric": "rabbitmq_node_mem_used",
|
|
"refId": "A",
|
|
"step": 2
|
|
},
|
|
{
|
|
"expr": "rabbitmq_node_mem_limit",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "{{node}}:limit",
|
|
"metric": "node_mem",
|
|
"refId": "B",
|
|
"step": 2
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Memory",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"mode": "time",
|
|
"name": null,
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"format": "decbytes",
|
|
"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": "${DS_PROMETHEUS}",
|
|
"fill": 1,
|
|
"id": 10,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": true,
|
|
"max": true,
|
|
"min": true,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "null",
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"span": 6,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"expr": "rabbitmq_fd_used",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "{{node}}:used",
|
|
"metric": "",
|
|
"refId": "A",
|
|
"step": 2
|
|
},
|
|
{
|
|
"expr": "rabbitmq_fd_total",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "{{node}}:total",
|
|
"metric": "node_mem",
|
|
"refId": "B",
|
|
"step": 2
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "FIle descriptors",
|
|
"tooltip": {
|
|
"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": null,
|
|
"show": true
|
|
},
|
|
{
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
"fill": 1,
|
|
"id": 11,
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": true,
|
|
"max": true,
|
|
"min": true,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "null",
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"span": 6,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"expr": "rabbitmq_sockets_used",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "{{node}}:used",
|
|
"metric": "",
|
|
"refId": "A",
|
|
"step": 2
|
|
},
|
|
{
|
|
"expr": "rabbitmq_sockets_total",
|
|
"intervalFactor": 2,
|
|
"legendFormat": "{{node}}:total",
|
|
"metric": "",
|
|
"refId": "B",
|
|
"step": 2
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Sockets",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "individual"
|
|
},
|
|
"transparent": false,
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"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
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"repeat": null,
|
|
"repeatIteration": null,
|
|
"repeatRowId": null,
|
|
"showTitle": false,
|
|
"title": "Dashboard Row",
|
|
"titleSize": "h6"
|
|
}
|
|
],
|
|
"schemaVersion": 14,
|
|
"style": "dark",
|
|
"tags": [],
|
|
"templating": {
|
|
"list": [
|
|
{
|
|
"current": {
|
|
"tags": [],
|
|
"text": "Prometheus",
|
|
"value": "Prometheus"
|
|
},
|
|
"hide": 0,
|
|
"label": null,
|
|
"name": "datasource",
|
|
"options": [],
|
|
"query": "prometheus",
|
|
"refresh": 1,
|
|
"regex": "",
|
|
"type": "datasource"
|
|
}
|
|
]
|
|
},
|
|
"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": "browser",
|
|
"title": "RabbitMQ Metrics",
|
|
"version": 17,
|
|
"description": "Basic rabbitmq host stats: Node Stats, Exchanges, Channels, Consumers, Connections, Queues, Messages, Messages per Queue, Memory, File Descriptors, Sockets."
|
|
}
|
|
openstack_control_plane: |-
|
|
{
|
|
"__inputs": [
|
|
{
|
|
"name": "DS_PROMETHEUS",
|
|
"label": "prometheus",
|
|
"description": "",
|
|
"type": "datasource",
|
|
"pluginId": "prometheus",
|
|
"pluginName": "Prometheus"
|
|
}
|
|
],
|
|
"__requires": [
|
|
{
|
|
"type": "grafana",
|
|
"id": "grafana",
|
|
"name": "Grafana",
|
|
"version": "4.5.2"
|
|
},
|
|
{
|
|
"type": "panel",
|
|
"id": "graph",
|
|
"name": "Graph",
|
|
"version": ""
|
|
},
|
|
{
|
|
"type": "datasource",
|
|
"id": "prometheus",
|
|
"name": "Prometheus",
|
|
"version": "1.0.0"
|
|
},
|
|
{
|
|
"type": "panel",
|
|
"id": "singlestat",
|
|
"name": "Singlestat",
|
|
"version": ""
|
|
},
|
|
{
|
|
"type": "panel",
|
|
"id": "text",
|
|
"name": "Text",
|
|
"version": ""
|
|
}
|
|
],
|
|
"annotations": {
|
|
"list": [
|
|
{
|
|
"builtIn": 1,
|
|
"datasource": "-- Grafana --",
|
|
"enable": true,
|
|
"hide": true,
|
|
"iconColor": "rgba(0, 211, 255, 1)",
|
|
"name": "Annotations & Alerts",
|
|
"type": "dashboard"
|
|
}
|
|
]
|
|
},
|
|
"editable": false,
|
|
"overwrite": true,
|
|
"gnetId": null,
|
|
"graphTooltip": 1,
|
|
"id": 11,
|
|
"links": [],
|
|
"panels": [
|
|
{
|
|
"collapsed": false,
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"id": 28,
|
|
"panels": [],
|
|
"repeat": null,
|
|
"title": "OpenStack Services",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": true,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"rgba(200, 54, 35, 0.88)",
|
|
"rgba(118, 245, 40, 0.73)",
|
|
"rgba(225, 177, 40, 0.59)"
|
|
],
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 2,
|
|
"x": 0,
|
|
"y": 1
|
|
},
|
|
"id": 24,
|
|
"interval": "> 60s",
|
|
"links": [
|
|
{
|
|
"dashboard": "Openstack Service",
|
|
"name": "Drilldown dashboard",
|
|
"params": "var-Service=keystone",
|
|
"title": "Openstack Service",
|
|
"type": "dashboard"
|
|
}
|
|
],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"options": {},
|
|
"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": [
|
|
{
|
|
"column": "value",
|
|
"condition": "",
|
|
"expr": "openstack_check_keystone_api{job=\"openstack-metrics\", region=\"$region\"}",
|
|
"fill": "",
|
|
"format": "time_series",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"groupby_field": "",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"policy": "default",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"step": 120
|
|
}
|
|
],
|
|
"thresholds": "1,2",
|
|
"title": "Keystone",
|
|
"type": "singlestat",
|
|
"valueFontSize": "50%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "no data",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "CRIT",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "OK",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "UNKW",
|
|
"value": "2"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": true,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"rgba(200, 54, 35, 0.88)",
|
|
"rgba(118, 245, 40, 0.73)",
|
|
"rgba(225, 177, 40, 0.59)"
|
|
],
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 2,
|
|
"x": 2,
|
|
"y": 1
|
|
},
|
|
"id": 23,
|
|
"interval": "> 60s",
|
|
"links": [
|
|
{
|
|
"dashboard": "Openstack Service",
|
|
"name": "Drilldown dashboard",
|
|
"params": "var-Service=glance",
|
|
"title": "Openstack Service",
|
|
"type": "dashboard"
|
|
}
|
|
],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"options": {},
|
|
"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": [
|
|
{
|
|
"column": "value",
|
|
"condition": "",
|
|
"expr": "openstack_check_glance_api{job=\"openstack-metrics\", region=\"$region\"}",
|
|
"fill": "",
|
|
"format": "time_series",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"groupby_field": "",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"policy": "default",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"step": 120
|
|
}
|
|
],
|
|
"thresholds": "1,2",
|
|
"title": "Glance",
|
|
"type": "singlestat",
|
|
"valueFontSize": "50%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "no data",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "CRIT",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "OK",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "UNKW",
|
|
"value": "2"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": true,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"rgba(202, 58, 40, 0.86)",
|
|
"rgba(118, 245, 40, 0.73)",
|
|
"rgba(225, 177, 40, 0.59)"
|
|
],
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 2,
|
|
"x": 4,
|
|
"y": 1
|
|
},
|
|
"id": 22,
|
|
"interval": "> 60s",
|
|
"links": [
|
|
{
|
|
"dashboard": "Openstack Service",
|
|
"name": "Drilldown dashboard",
|
|
"params": "var-Service=heat",
|
|
"title": "Openstack Service",
|
|
"type": "dashboard"
|
|
}
|
|
],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"options": {},
|
|
"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": [
|
|
{
|
|
"column": "value",
|
|
"condition": "",
|
|
"expr": "openstack_check_heat_api{job=\"openstack-metrics\", region=\"$region\"}",
|
|
"fill": "",
|
|
"format": "time_series",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"groupby_field": "",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"policy": "default",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"step": 120
|
|
}
|
|
],
|
|
"thresholds": "1,2",
|
|
"title": "Heat",
|
|
"type": "singlestat",
|
|
"valueFontSize": "50%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "no data",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "CRIT",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "OK",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "UNKW",
|
|
"value": "2"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": true,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"rgba(200, 54, 35, 0.88)",
|
|
"rgba(118, 245, 40, 0.73)",
|
|
"rgba(225, 177, 40, 0.59)"
|
|
],
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 2,
|
|
"x": 6,
|
|
"y": 1
|
|
},
|
|
"id": 21,
|
|
"interval": "> 60s",
|
|
"links": [
|
|
{
|
|
"dashboard": "Openstack Service",
|
|
"name": "Drilldown dashboard",
|
|
"params": "var-Service=neutron",
|
|
"title": "Openstack Service",
|
|
"type": "dashboard"
|
|
}
|
|
],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"options": {},
|
|
"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": [
|
|
{
|
|
"column": "value",
|
|
"condition": "",
|
|
"expr": "openstack_check_neutron_api{job=\"openstack-metrics\", region=\"$region\"}",
|
|
"fill": "",
|
|
"format": "time_series",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"groupby_field": "",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"policy": "default",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"step": 120
|
|
}
|
|
],
|
|
"thresholds": "1,2",
|
|
"title": "Neutron",
|
|
"type": "singlestat",
|
|
"valueFontSize": "50%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "no data",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "CRIT",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "OK",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "UNKW",
|
|
"value": "2"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": true,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"rgba(208, 53, 34, 0.82)",
|
|
"rgba(118, 245, 40, 0.73)",
|
|
"rgba(225, 177, 40, 0.59)"
|
|
],
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 2,
|
|
"x": 8,
|
|
"y": 1
|
|
},
|
|
"id": 20,
|
|
"interval": "> 60s",
|
|
"links": [
|
|
{
|
|
"dashboard": "Openstack Service",
|
|
"name": "Drilldown dashboard",
|
|
"params": "var-Service=nova",
|
|
"title": "Openstack Service",
|
|
"type": "dashboard"
|
|
}
|
|
],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"options": {},
|
|
"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": [
|
|
{
|
|
"column": "value",
|
|
"condition": "",
|
|
"expr": "openstack_check_nova_api{job=\"openstack-metrics\", region=\"$region\"}",
|
|
"fill": "",
|
|
"format": "time_series",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"groupby_field": "",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"policy": "default",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"step": 120
|
|
}
|
|
],
|
|
"thresholds": "1,2",
|
|
"title": "Nova",
|
|
"type": "singlestat",
|
|
"valueFontSize": "50%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "no data",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "CRIT",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "OK",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "UNKW",
|
|
"value": "2"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": true,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"rgba(200, 54, 35, 0.88)",
|
|
"rgba(118, 245, 40, 0.73)",
|
|
"rgba(225, 177, 40, 0.59)"
|
|
],
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 2,
|
|
"x": 10,
|
|
"y": 1
|
|
},
|
|
"id": 19,
|
|
"interval": "> 60s",
|
|
"links": [
|
|
{
|
|
"dashboard": "Openstack Service",
|
|
"name": "Drilldown dashboard",
|
|
"params": "var-Service=swift",
|
|
"title": "Openstack Service",
|
|
"type": "dashboard"
|
|
}
|
|
],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"options": {},
|
|
"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": [
|
|
{
|
|
"column": "value",
|
|
"condition": "",
|
|
"expr": "openstack_check_swift_api{job=\"openstack-metrics\", region=\"$region\"}",
|
|
"fill": "",
|
|
"format": "time_series",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"groupby_field": "",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"policy": "default",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"step": 120
|
|
}
|
|
],
|
|
"thresholds": "1,2",
|
|
"title": "Ceph",
|
|
"type": "singlestat",
|
|
"valueFontSize": "50%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "no data",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "CRIT",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "OK",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "UNKW",
|
|
"value": "2"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": true,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"rgba(200, 54, 35, 0.88)",
|
|
"rgba(118, 245, 40, 0.73)",
|
|
"rgba(225, 177, 40, 0.59)"
|
|
],
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 2,
|
|
"x": 12,
|
|
"y": 1
|
|
},
|
|
"id": 18,
|
|
"interval": "> 60s",
|
|
"links": [
|
|
{
|
|
"dashboard": "Openstack Service",
|
|
"name": "Drilldown dashboard",
|
|
"params": "var-Service=cinder",
|
|
"title": "Openstack Service",
|
|
"type": "dashboard"
|
|
}
|
|
],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"options": {},
|
|
"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": [
|
|
{
|
|
"column": "value",
|
|
"condition": "",
|
|
"expr": "openstack_check_cinder_api{job=\"openstack-metrics\", region=\"$region\"}",
|
|
"fill": "",
|
|
"format": "time_series",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"groupby_field": "",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"policy": "default",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"step": 120
|
|
}
|
|
],
|
|
"thresholds": "1,2",
|
|
"title": "Cinder",
|
|
"type": "singlestat",
|
|
"valueFontSize": "50%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "no data",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "CRIT",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "OK",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "UNKW",
|
|
"value": "2"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": true,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"rgba(200, 54, 35, 0.88)",
|
|
"rgba(118, 245, 40, 0.73)",
|
|
"rgba(225, 177, 40, 0.59)"
|
|
],
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 2,
|
|
"x": 14,
|
|
"y": 1
|
|
},
|
|
"id": 17,
|
|
"interval": "> 60s",
|
|
"links": [
|
|
{
|
|
"dashboard": "Openstack Service",
|
|
"name": "Drilldown dashboard",
|
|
"params": "var-Service=placement",
|
|
"title": "Openstack Service",
|
|
"type": "dashboard"
|
|
}
|
|
],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"options": {},
|
|
"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": [
|
|
{
|
|
"column": "value",
|
|
"condition": "",
|
|
"expr": "openstack_check_placement_api{job=\"openstack-metrics\", region=\"$region\"}",
|
|
"fill": "",
|
|
"format": "time_series",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"groupby_field": "",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"policy": "default",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"step": 120
|
|
}
|
|
],
|
|
"thresholds": "1,2",
|
|
"title": "Placement",
|
|
"type": "singlestat",
|
|
"valueFontSize": "50%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "no data",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "CRIT",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "OK",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "UNKW",
|
|
"value": "2"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": true,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"rgba(208, 53, 34, 0.82)",
|
|
"rgba(118, 245, 40, 0.73)",
|
|
"rgba(225, 177, 40, 0.59)"
|
|
],
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 2,
|
|
"x": 16,
|
|
"y": 1
|
|
},
|
|
"id": 16,
|
|
"interval": "> 60s",
|
|
"links": [
|
|
{
|
|
"dashboard": "RabbitMQ Metrics",
|
|
"name": "Drilldown dashboard",
|
|
"title": "RabbitMQ Metrics",
|
|
"type": "dashboard"
|
|
}
|
|
],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"options": {},
|
|
"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": [
|
|
{
|
|
"column": "value",
|
|
"condition": "",
|
|
"expr": "min(rabbitmq_up)",
|
|
"fill": "",
|
|
"format": "time_series",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"groupby_field": "",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"policy": "default",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"step": 120
|
|
}
|
|
],
|
|
"thresholds": "1,2",
|
|
"title": "RabbitMQ",
|
|
"type": "singlestat",
|
|
"valueFontSize": "50%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "no data",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "CRIT",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "OK",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "UNKW",
|
|
"value": "2"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": true,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"rgba(208, 53, 34, 0.82)",
|
|
"rgba(118, 245, 40, 0.73)",
|
|
"rgba(225, 177, 40, 0.59)"
|
|
],
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 2,
|
|
"x": 18,
|
|
"y": 1
|
|
},
|
|
"id": 15,
|
|
"interval": "> 60s",
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"options": {},
|
|
"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": [
|
|
{
|
|
"column": "value",
|
|
"condition": "",
|
|
"expr": "min(mysql_global_status_wsrep_ready)",
|
|
"fill": "",
|
|
"format": "time_series",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"groupby_field": "",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"policy": "default",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"step": 120
|
|
}
|
|
],
|
|
"thresholds": "1,2",
|
|
"title": "MariaDB",
|
|
"type": "singlestat",
|
|
"valueFontSize": "50%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "no data",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "CRIT",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "OK",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "UNKW",
|
|
"value": "2"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": true,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"rgba(225, 177, 40, 0.59)",
|
|
"rgba(208, 53, 34, 0.82)",
|
|
"rgba(118, 245, 40, 0.73)"
|
|
],
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 2,
|
|
"x": 20,
|
|
"y": 1
|
|
},
|
|
"id": 14,
|
|
"interval": "> 60s",
|
|
"links": [
|
|
{
|
|
"dashboard": "Nginx Stats",
|
|
"name": "Drilldown dashboard",
|
|
"title": "Nginx Stats",
|
|
"type": "dashboard"
|
|
}
|
|
],
|
|
"mappingType": 2,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"options": {},
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"rangeMaps": [
|
|
{
|
|
"from": "1",
|
|
"text": "OK",
|
|
"to": "99999999999999"
|
|
},
|
|
{
|
|
"from": "0",
|
|
"text": "CRIT",
|
|
"to": "0"
|
|
}
|
|
],
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"column": "value",
|
|
"condition": "",
|
|
"expr": "sum_over_time(nginx_connections_total{type=\"active\", namespace=\"openstack\"}[5m])",
|
|
"fill": "",
|
|
"format": "time_series",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"groupby_field": "",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"policy": "default",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"step": 120
|
|
}
|
|
],
|
|
"thresholds": "0,1",
|
|
"title": "Nginx",
|
|
"type": "singlestat",
|
|
"valueFontSize": "50%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": true,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"rgba(208, 53, 34, 0.82)",
|
|
"rgba(118, 245, 40, 0.73)",
|
|
"rgba(225, 177, 40, 0.59)"
|
|
],
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 2,
|
|
"x": 22,
|
|
"y": 1
|
|
},
|
|
"id": 13,
|
|
"interval": "> 60s",
|
|
"links": [
|
|
{
|
|
"dashboard": "Memcached",
|
|
"name": "Drilldown dashboard",
|
|
"title": "Memcached",
|
|
"type": "dashboard"
|
|
}
|
|
],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"options": {},
|
|
"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": [
|
|
{
|
|
"column": "value",
|
|
"condition": "",
|
|
"expr": "min(memcached_up)",
|
|
"fill": "",
|
|
"format": "time_series",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"groupby_field": "",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"policy": "default",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"step": 120
|
|
}
|
|
],
|
|
"thresholds": "1,2",
|
|
"title": "Memcached",
|
|
"type": "singlestat",
|
|
"valueFontSize": "50%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "no data",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "CRIT",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "OK",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "UNKW",
|
|
"value": "2"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
"editable": true,
|
|
"error": false,
|
|
"fill": 1,
|
|
"grid": {},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 2,
|
|
"x": 22,
|
|
"y": 8
|
|
},
|
|
"id": 13,
|
|
"interval": "> 60s",
|
|
"legend": {
|
|
"avg": false,
|
|
"current": false,
|
|
"max": false,
|
|
"min": false,
|
|
"show": false,
|
|
"total": false,
|
|
"values": false
|
|
},
|
|
"lines": true,
|
|
"linewidth": 3,
|
|
"links": [],
|
|
"nullPointMode": "connected",
|
|
"options": {},
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "free",
|
|
"column": "value",
|
|
"expr": "openstack_total_used_disk_GB{job=\"openstack-metrics\", region=\"$region\"} + openstack_total_free_disk_GB{job=\"openstack-metrics\", region=\"$region\"}",
|
|
"format": "time_series",
|
|
"function": "mean",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"0"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"intervalFactor": 2,
|
|
"policy": "default",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"step": 120
|
|
},
|
|
{
|
|
"alias": "used",
|
|
"column": "value",
|
|
"expr": "openstack_total_used_disk_GB{job=\"openstack-metrics\", region=\"$region\"}",
|
|
"format": "time_series",
|
|
"function": "mean",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"0"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"intervalFactor": 2,
|
|
"policy": "default",
|
|
"rawQuery": false,
|
|
"refId": "B",
|
|
"resultFormat": "time_series",
|
|
"step": 120
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeRegions": [],
|
|
"timeShift": null,
|
|
"title": "Disk (used vs total)",
|
|
"tooltip": {
|
|
"msResolution": false,
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "cumulative"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"mode": "time",
|
|
"name": null,
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"format": "gbytes",
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": 0,
|
|
"show": true
|
|
},
|
|
{
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false,
|
|
"alignLevel": null
|
|
}
|
|
},
|
|
{
|
|
"collapsed": false,
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 15
|
|
},
|
|
"id": 29,
|
|
"panels": [],
|
|
"repeat": null,
|
|
"title": "Virtual resources",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
"editable": true,
|
|
"error": false,
|
|
"fill": 1,
|
|
"grid": {},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 8,
|
|
"x": 0,
|
|
"y": 16
|
|
},
|
|
"id": 11,
|
|
"interval": "> 60s",
|
|
"legend": {
|
|
"avg": false,
|
|
"current": false,
|
|
"max": false,
|
|
"min": false,
|
|
"show": false,
|
|
"total": false,
|
|
"values": false
|
|
},
|
|
"lines": true,
|
|
"linewidth": 3,
|
|
"links": [],
|
|
"nullPointMode": "connected",
|
|
"options": {},
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "free",
|
|
"column": "value",
|
|
"expr": "openstack_total_used_vcpus{job=\"openstack-metrics\", region=\"$region\"} + openstack_total_free_vcpus{job=\"openstack-metrics\", region=\"$region\"}",
|
|
"format": "time_series",
|
|
"function": "min",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"0"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"intervalFactor": 2,
|
|
"policy": "default",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"step": 120
|
|
},
|
|
{
|
|
"alias": "used",
|
|
"column": "value",
|
|
"expr": "openstack_total_used_vcpus{job=\"openstack-metrics\", region=\"$region\"}",
|
|
"format": "time_series",
|
|
"function": "max",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"0"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"intervalFactor": 2,
|
|
"policy": "default",
|
|
"rawQuery": false,
|
|
"refId": "B",
|
|
"resultFormat": "time_series",
|
|
"step": 120
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeRegions": [],
|
|
"timeShift": null,
|
|
"title": "VCPUs (total vs used)",
|
|
"tooltip": {
|
|
"msResolution": false,
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "cumulative"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"mode": "time",
|
|
"name": null,
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": 0,
|
|
"show": true
|
|
},
|
|
{
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false,
|
|
"alignLevel": null
|
|
}
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
"editable": true,
|
|
"error": false,
|
|
"fill": 1,
|
|
"grid": {},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 8,
|
|
"x": 8,
|
|
"y": 16
|
|
},
|
|
"id": 12,
|
|
"interval": "> 60s",
|
|
"legend": {
|
|
"avg": false,
|
|
"current": false,
|
|
"max": false,
|
|
"min": false,
|
|
"show": false,
|
|
"total": false,
|
|
"values": false
|
|
},
|
|
"lines": true,
|
|
"linewidth": 3,
|
|
"links": [],
|
|
"nullPointMode": "connected",
|
|
"options": {},
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "free",
|
|
"column": "value",
|
|
"expr": "openstack_total_used_ram_MB{job=\"openstack-metrics\", region=\"$region\"} + openstack_total_free_ram_MB{job=\"openstack-metrics\", region=\"$region\"}",
|
|
"format": "time_series",
|
|
"function": "mean",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"0"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"intervalFactor": 2,
|
|
"policy": "default",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"step": 120
|
|
},
|
|
{
|
|
"alias": "used",
|
|
"column": "value",
|
|
"expr": "openstack_total_used_ram_MB{job=\"openstack-metrics\", region=\"$region\"}",
|
|
"format": "time_series",
|
|
"function": "mean",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"0"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"policy": "default",
|
|
"rawQuery": false,
|
|
"refId": "B",
|
|
"resultFormat": "time_series",
|
|
"step": 120
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeRegions": [],
|
|
"timeShift": null,
|
|
"title": "RAM (total vs used)",
|
|
"tooltip": {
|
|
"msResolution": false,
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "cumulative"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"mode": "time",
|
|
"name": null,
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"format": "mbytes",
|
|
"label": "",
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": 0,
|
|
"show": true
|
|
},
|
|
{
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false,
|
|
"alignLevel": null
|
|
}
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"dashes\"": false,
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
"editable": true,
|
|
"error": false,
|
|
"fill": 1,
|
|
"grid": {},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 8,
|
|
"x": 0,
|
|
"y": 23
|
|
},
|
|
"id": 27,
|
|
"interval": "> 60s",
|
|
"legend": {
|
|
"alignAsTable": false,
|
|
"avg": true,
|
|
"current": true,
|
|
"hideEmpty": true,
|
|
"hideZero": false,
|
|
"max": true,
|
|
"min": true,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 4,
|
|
"links": [],
|
|
"nullPointMode": null,
|
|
"options": {},
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "free",
|
|
"column": "value",
|
|
"expr": "sum(openstack_running_instances)",
|
|
"format": "time_series",
|
|
"function": "mean",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"0"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"interval": "15s",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "{{ running_vms }}",
|
|
"policy": "default",
|
|
"rawQuery": false,
|
|
"refID": "A",
|
|
"refId": "A",
|
|
"resultFormat": "time_series"
|
|
},
|
|
{
|
|
"alias": "used",
|
|
"column": "value",
|
|
"expr": "sum(openstack_total_running_instances)",
|
|
"format": "time_series",
|
|
"function": "mean",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"0"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"interval": "15s",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "{{ total_vms }}",
|
|
"policy": "default",
|
|
"rawQuery": false,
|
|
"refID": "B",
|
|
"refId": "B",
|
|
"resultFormat": "time_series",
|
|
"step": 120
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeRegions": [],
|
|
"timeShift": null,
|
|
"title": "OpenStack Instances",
|
|
"tooltip": {
|
|
"msResolution": false,
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "cumulative"
|
|
},
|
|
"transparent": true,
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"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
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false,
|
|
"alignLevel": null
|
|
}
|
|
}
|
|
],
|
|
"refresh": "5m",
|
|
"schemaVersion": 18,
|
|
"style": "dark",
|
|
"tags": [],
|
|
"templating": {
|
|
"list": [
|
|
{
|
|
"current": {
|
|
"text": "prometheus",
|
|
"value": "prometheus"
|
|
},
|
|
"hide": 0,
|
|
"includeAll": false,
|
|
"label": "Prometheus datasource",
|
|
"multi": false,
|
|
"name": "DS_PROMETHEUS",
|
|
"options": [],
|
|
"query": "prometheus",
|
|
"refresh": 1,
|
|
"regex": "",
|
|
"skipUrlSync": false,
|
|
"type": "datasource"
|
|
},
|
|
{
|
|
"allValue": null,
|
|
"current": {},
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
"definition": "",
|
|
"hide": 0,
|
|
"includeAll": false,
|
|
"label": null,
|
|
"multi": false,
|
|
"name": "region",
|
|
"options": [],
|
|
"query": "label_values(openstack_exporter_cache_refresh_duration_seconds, region)",
|
|
"refresh": 1,
|
|
"regex": "",
|
|
"skipUrlSync": false,
|
|
"sort": 0,
|
|
"tagValuesQuery": "",
|
|
"tags": [],
|
|
"tagsQuery": "",
|
|
"type": "query",
|
|
"useTags": false
|
|
}
|
|
]
|
|
},
|
|
"time": {
|
|
"from": "now-1h",
|
|
"to": "now"
|
|
},
|
|
"timepicker": {
|
|
"collapse": false,
|
|
"enable": true,
|
|
"notice": false,
|
|
"now": true,
|
|
"refresh_intervals": [
|
|
"5s",
|
|
"10s",
|
|
"30s",
|
|
"1m",
|
|
"5m",
|
|
"15m",
|
|
"30m",
|
|
"1h",
|
|
"2h",
|
|
"1d"
|
|
],
|
|
"status": "Stable",
|
|
"time_options": [
|
|
"5m",
|
|
"15m",
|
|
"1h",
|
|
"6h",
|
|
"12h",
|
|
"24h",
|
|
"2d",
|
|
"7d",
|
|
"30d"
|
|
],
|
|
"type": "timepicker"
|
|
},
|
|
"timezone": "browser",
|
|
"title": "OpenStack Metrics",
|
|
"version": 1
|
|
}
|
|
openstack-service: |-
|
|
{
|
|
"__inputs": [
|
|
{
|
|
"name": "DS_PROMETHEUS",
|
|
"label": "prometheus",
|
|
"description": "",
|
|
"type": "datasource",
|
|
"pluginId": "prometheus",
|
|
"pluginName": "Prometheus"
|
|
}
|
|
],
|
|
"__requires": [
|
|
{
|
|
"type": "grafana",
|
|
"id": "grafana",
|
|
"name": "Grafana",
|
|
"version": "4.5.2"
|
|
},
|
|
{
|
|
"type": "panel",
|
|
"id": "graph",
|
|
"name": "Graph",
|
|
"version": ""
|
|
},
|
|
{
|
|
"type": "datasource",
|
|
"id": "prometheus",
|
|
"name": "Prometheus",
|
|
"version": "1.0.0"
|
|
},
|
|
{
|
|
"type": "panel",
|
|
"id": "singlestat",
|
|
"name": "Singlestat",
|
|
"version": ""
|
|
}
|
|
],
|
|
"annotations": {
|
|
"enable": true,
|
|
"list": [
|
|
{
|
|
"builtIn": 1,
|
|
"datasource": "-- Grafana --",
|
|
"enable": true,
|
|
"hide": true,
|
|
"iconColor": "rgba(0, 211, 255, 1)",
|
|
"name": "Annotations & Alerts",
|
|
"type": "dashboard"
|
|
}
|
|
]
|
|
},
|
|
"editable": false,
|
|
"overwrite": true,
|
|
"gnetId": null,
|
|
"graphTooltip": 1,
|
|
"id": 29,
|
|
"links": [],
|
|
"panels": [
|
|
{
|
|
"collapsed": false,
|
|
"gridPos": {
|
|
"h": 1,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"id": 14,
|
|
"panels": [],
|
|
"repeat": null,
|
|
"title": "Service Status",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": true,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"rgba(225, 177, 40, 0.59)",
|
|
"rgba(200, 54, 35, 0.88)",
|
|
"rgba(118, 245, 40, 0.73)"
|
|
],
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 4,
|
|
"x": 0,
|
|
"y": 1
|
|
},
|
|
"id": 6,
|
|
"interval": "> 60s",
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"options": {},
|
|
"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": [
|
|
{
|
|
"column": "value",
|
|
"condition": "",
|
|
"expr": "openstack_check_[[Service]]_api{job=\"openstack-metrics\",region=\"$region\"}",
|
|
"fill": "",
|
|
"format": "time_series",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"groupby_field": "",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"policy": "default",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"step": 120
|
|
}
|
|
],
|
|
"thresholds": "0,1",
|
|
"title": "",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "CRITICAL",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "OK",
|
|
"value": "1"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"rgba(200, 54, 35, 0.88)",
|
|
"rgba(118, 245, 40, 0.73)",
|
|
"rgba(225, 177, 40, 0.59)"
|
|
],
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 4,
|
|
"x": 4,
|
|
"y": 1
|
|
},
|
|
"id": 13,
|
|
"interval": "> 60s",
|
|
"links": [],
|
|
"mappingType": 1,
|
|
"mappingTypes": [
|
|
{
|
|
"name": "value to text",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "range to text",
|
|
"value": 2
|
|
}
|
|
],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"options": {},
|
|
"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": true
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"column": "value",
|
|
"condition": "",
|
|
"expr": "sum(nginx_responses_total{server_zone=~\"[[Service]].*\", status_code=\"5xx\",region=\"$region\"})",
|
|
"fill": "",
|
|
"format": "time_series",
|
|
"function": "count",
|
|
"groupBy": [
|
|
{
|
|
"interval": "auto",
|
|
"params": [
|
|
"auto"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"0"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupby_field": "",
|
|
"interval": "",
|
|
"intervalFactor": 2,
|
|
"policy": "default",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"step": 120,
|
|
"tags": []
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"title": "HTTP 5xx errors",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "0",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
"editable": true,
|
|
"error": false,
|
|
"fill": 0,
|
|
"grid": {},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 16,
|
|
"x": 8,
|
|
"y": 1
|
|
},
|
|
"id": 7,
|
|
"interval": ">60s",
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": false,
|
|
"max": true,
|
|
"min": true,
|
|
"show": true,
|
|
"sortDesc": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "connected",
|
|
"options": {},
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"expr": "sum(nginx_upstream_response_msecs_avg{upstream=~\"openstack-[[Service]].*\",region=\"$region\"}) by (upstream)",
|
|
"format": "time_series",
|
|
"intervalFactor": 2,
|
|
"refId": "A",
|
|
"step": 120
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeRegions": [],
|
|
"timeShift": null,
|
|
"title": "HTTP response time",
|
|
"tooltip": {
|
|
"msResolution": false,
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "cumulative"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"mode": "time",
|
|
"name": null,
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"format": "s",
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": 0,
|
|
"show": true
|
|
},
|
|
{
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": 0,
|
|
"show": true
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false,
|
|
"alignLevel": null
|
|
}
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
"editable": true,
|
|
"error": false,
|
|
"fill": 1,
|
|
"grid": {},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 8,
|
|
"x": 0,
|
|
"y": 8
|
|
},
|
|
"id": 9,
|
|
"interval": "> 60s",
|
|
"legend": {
|
|
"avg": false,
|
|
"current": false,
|
|
"max": false,
|
|
"min": false,
|
|
"show": false,
|
|
"total": false,
|
|
"values": false
|
|
},
|
|
"lines": true,
|
|
"linewidth": 2,
|
|
"links": [],
|
|
"nullPointMode": "connected",
|
|
"options": {},
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": true,
|
|
"targets": [
|
|
{
|
|
"alias": "healthy",
|
|
"column": "value",
|
|
"expr": "openstack_check_[[Service]]_api{region=\"$region\"}",
|
|
"format": "time_series",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"0"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"intervalFactor": 2,
|
|
"policy": "default",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [],
|
|
"step": 120,
|
|
"tags": []
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeRegions": [],
|
|
"timeShift": null,
|
|
"title": "API Availability",
|
|
"tooltip": {
|
|
"msResolution": false,
|
|
"shared": false,
|
|
"sort": 0,
|
|
"value_type": "cumulative"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"mode": "time",
|
|
"name": null,
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"format": "none",
|
|
"label": "",
|
|
"logBase": 1,
|
|
"max": 1,
|
|
"min": 0,
|
|
"show": false
|
|
},
|
|
{
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": false
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false,
|
|
"alignLevel": null
|
|
}
|
|
},
|
|
{
|
|
"aliasColors": {
|
|
"{status_code=\"2xx\"}": "#629E51",
|
|
"{status_code=\"5xx\"}": "#BF1B00"
|
|
},
|
|
"bars": true,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": "${DS_PROMETHEUS}",
|
|
"editable": true,
|
|
"error": false,
|
|
"fill": 0,
|
|
"grid": {},
|
|
"gridPos": {
|
|
"h": 7,
|
|
"w": 16,
|
|
"x": 8,
|
|
"y": 8
|
|
},
|
|
"id": 8,
|
|
"interval": "> 60s",
|
|
"legend": {
|
|
"alignAsTable": false,
|
|
"avg": false,
|
|
"current": false,
|
|
"hideEmpty": false,
|
|
"max": false,
|
|
"min": false,
|
|
"rightSide": false,
|
|
"show": true,
|
|
"total": false,
|
|
"values": false
|
|
},
|
|
"lines": false,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "connected",
|
|
"options": {},
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": true,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"expr": "sum(nginx_responses_total{server_zone=~\"[[Service]].*\",region=\"$region\"}) by (status_code)",
|
|
"format": "time_series",
|
|
"intervalFactor": 2,
|
|
"refId": "A",
|
|
"step": 120
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeRegions": [],
|
|
"timeShift": null,
|
|
"title": "Number of HTTP responses",
|
|
"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",
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": 0,
|
|
"show": true
|
|
},
|
|
{
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
}
|
|
],
|
|
"yaxis": {
|
|
"align": false,
|
|
"alignLevel": null
|
|
}
|
|
}
|
|
],
|
|
"refresh": "5m",
|
|
"schemaVersion": 18,
|
|
"style": "dark",
|
|
"tags": [],
|
|
"templating": {
|
|
"list": [
|
|
{
|
|
"current": {
|
|
"text": "prometheus",
|
|
"value": "prometheus"
|
|
},
|
|
"hide": 0,
|
|
"includeAll": false,
|
|
"label": "Prometheus datasource",
|
|
"multi": false,
|
|
"name": "DS_PROMETHEUS",
|
|
"options": [],
|
|
"query": "prometheus",
|
|
"refresh": 1,
|
|
"regex": "",
|
|
"skipUrlSync": false,
|
|
"type": "datasource"
|
|
},
|
|
{
|
|
"allValue": null,
|
|
"current": {},
|
|
"datasource": "prometheus",
|
|
"definition": "",
|
|
"hide": 0,
|
|
"includeAll": false,
|
|
"label": "region",
|
|
"multi": false,
|
|
"name": "region",
|
|
"options": [],
|
|
"query": "label_values(openstack_exporter_cache_refresh_duration_seconds, region)",
|
|
"refresh": 1,
|
|
"regex": "",
|
|
"skipUrlSync": false,
|
|
"sort": 0,
|
|
"tagValuesQuery": "",
|
|
"tags": [],
|
|
"tagsQuery": "",
|
|
"type": "query",
|
|
"useTags": false
|
|
},
|
|
{
|
|
"allValue": null,
|
|
"current": {
|
|
"tags": [],
|
|
"text": "cinder",
|
|
"value": "cinder"
|
|
},
|
|
"hide": 0,
|
|
"includeAll": false,
|
|
"label": null,
|
|
"multi": false,
|
|
"name": "Service",
|
|
"options": [
|
|
{
|
|
"selected": false,
|
|
"text": "nova",
|
|
"value": "nova"
|
|
},
|
|
{
|
|
"selected": false,
|
|
"text": "glance",
|
|
"value": "glance"
|
|
},
|
|
{
|
|
"selected": false,
|
|
"text": "keystone",
|
|
"value": "keystone"
|
|
},
|
|
{
|
|
"selected": true,
|
|
"text": "cinder",
|
|
"value": "cinder"
|
|
},
|
|
{
|
|
"selected": false,
|
|
"text": "heat",
|
|
"value": "heat"
|
|
},
|
|
{
|
|
"selected": false,
|
|
"text": "placement",
|
|
"value": "placement"
|
|
},
|
|
{
|
|
"selected": false,
|
|
"text": "neutron",
|
|
"value": "neutron"
|
|
}
|
|
],
|
|
"query": "nova,glance,keystone,cinder,heat,placement,neutron",
|
|
"skipUrlSync": false,
|
|
"type": "custom"
|
|
}
|
|
]
|
|
},
|
|
"time": {
|
|
"from": "now-1h",
|
|
"to": "now"
|
|
},
|
|
"timepicker": {
|
|
"collapse": false,
|
|
"enable": true,
|
|
"notice": false,
|
|
"now": true,
|
|
"refresh_intervals": [
|
|
"5s",
|
|
"10s",
|
|
"30s",
|
|
"1m",
|
|
"5m",
|
|
"15m",
|
|
"30m",
|
|
"1h",
|
|
"2h",
|
|
"1d"
|
|
],
|
|
"status": "Stable",
|
|
"time_options": [
|
|
"5m",
|
|
"15m",
|
|
"1h",
|
|
"6h",
|
|
"12h",
|
|
"24h",
|
|
"2d",
|
|
"7d",
|
|
"30d"
|
|
],
|
|
"type": "timepicker"
|
|
},
|
|
"timezone": "browser",
|
|
"title": "Openstack Service",
|
|
"version": 1
|
|
}
|
|
...
|