70ca667e57
This patch adds the possibility to add StackLight dashboards when installing grafana. By default they are not installed.
5544 lines
No EOL
156 KiB
JSON
5544 lines
No EOL
156 KiB
JSON
{
|
|
"annotations": {
|
|
"enable": true,
|
|
"list": [
|
|
{
|
|
"datasource": "lma",
|
|
"enable": true,
|
|
"iconColor": "#C0C6BE",
|
|
"iconSize": 13,
|
|
"lineColor": "rgba(255, 96, 96, 0.592157)",
|
|
"name": "Status",
|
|
"query": "select title,tags,text from annotations where $timeFilter and cluster = 'nova'",
|
|
"showLine": true,
|
|
"tagsColumn": "tags",
|
|
"textColumn": "text",
|
|
"titleColumn": "title"
|
|
}
|
|
]
|
|
},
|
|
"editable": true,
|
|
"hideControls": false,
|
|
"id": null,
|
|
"links": [],
|
|
"originalTitle": "Nova",
|
|
"refresh": "1m",
|
|
"rows": [
|
|
{
|
|
"collapse": false,
|
|
"editable": true,
|
|
"height": "250px",
|
|
"panels": [
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": true,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"rgba(71, 212, 59, 0.4)",
|
|
"rgba(241, 181, 37, 0.73)",
|
|
"rgba(225, 40, 40, 0.59)"
|
|
],
|
|
"datasource": null,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"height": "",
|
|
"id": 6,
|
|
"interval": "> 60s",
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"span": 1,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"targets": [
|
|
{
|
|
"column": "value",
|
|
"condition": "",
|
|
"dsType": "influxdb",
|
|
"fill": "",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"groupby_field": "",
|
|
"interval": "",
|
|
"measurement": "cluster_status",
|
|
"policy": "default",
|
|
"query": "SELECT last(\"value\") FROM \"cluster_status\" WHERE \"environment_label\" = '$environment' AND \"cluster_name\" = 'nova' AND $timeFilter GROUP BY time($interval) fill(null)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "cluster_name",
|
|
"operator": "=",
|
|
"value": "nova-control-plane"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "1,3",
|
|
"title": "control plane",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "no data",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "OKAY",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "WARN",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "UNKW",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "CRIT",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "DOWN",
|
|
"value": "4"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": true,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"rgba(71, 212, 59, 0.4)",
|
|
"rgba(241, 181, 37, 0.73)",
|
|
"rgba(225, 40, 40, 0.59)"
|
|
],
|
|
"datasource": null,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"height": "",
|
|
"id": 99,
|
|
"interval": "> 60s",
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"span": 1,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"targets": [
|
|
{
|
|
"column": "value",
|
|
"condition": "",
|
|
"dsType": "influxdb",
|
|
"fill": "",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"groupby_field": "",
|
|
"interval": "",
|
|
"measurement": "cluster_status",
|
|
"policy": "default",
|
|
"query": "SELECT last(\"value\") FROM \"cluster_status\" WHERE \"environment_label\" = '$environment' AND \"cluster_name\" = 'nova' AND $timeFilter GROUP BY time($interval) fill(null)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "cluster_name",
|
|
"operator": "=",
|
|
"value": "nova-data-plane"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "1,3",
|
|
"title": "data plane",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "no data",
|
|
"value": "null"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "OKAY",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "WARN",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "UNKW",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "CRIT",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "DOWN",
|
|
"value": "4"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"rgba(71, 212, 59, 0.4)",
|
|
"rgba(245, 150, 40, 0.73)",
|
|
"rgba(225, 40, 40, 0.59)"
|
|
],
|
|
"datasource": null,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"id": 13,
|
|
"interval": "> 60s",
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"span": 2,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": true
|
|
},
|
|
"targets": [
|
|
{
|
|
"column": "value",
|
|
"condition": "",
|
|
"dsType": "influxdb",
|
|
"function": "count",
|
|
"groupBy": [
|
|
{
|
|
"interval": "auto",
|
|
"params": [
|
|
"auto"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"0"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupby_field": "",
|
|
"interval": "",
|
|
"measurement": "openstack_nova_http_response_times",
|
|
"policy": "default",
|
|
"query": "SELECT sum(\"count\") FROM \"openstack_nova_http_response_times\" WHERE \"hostname\" =~ /$server/ AND \"http_status\" = '5xx' AND $timeFilter GROUP BY time($interval) fill(0)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"count"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "sum"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "hostname",
|
|
"operator": "=~",
|
|
"value": "/$server/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "http_status",
|
|
"operator": "=",
|
|
"value": "5xx"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "0,1",
|
|
"title": "HTTP 5xx errors",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "0",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"datasource": null,
|
|
"editable": true,
|
|
"error": false,
|
|
"fill": 0,
|
|
"grid": {
|
|
"threshold1": null,
|
|
"threshold1Color": "rgba(216, 200, 27, 0.27)",
|
|
"threshold2": null,
|
|
"threshold2Color": "rgba(234, 112, 112, 0.22)"
|
|
},
|
|
"id": 7,
|
|
"interval": ">60s",
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": true,
|
|
"current": false,
|
|
"max": true,
|
|
"min": true,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "connected",
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"span": 8,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "GET",
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"function": "mean",
|
|
"groupBy": [
|
|
{
|
|
"interval": "auto",
|
|
"params": [
|
|
"auto"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"0"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"hide": false,
|
|
"interval": "",
|
|
"measurement": "openstack_nova_http_response_times",
|
|
"policy": "default",
|
|
"query": "SELECT max(\"upper_90\") FROM \"openstack_nova_http_response_times\" WHERE \"hostname\" =~ /$server/ AND \"http_method\" = 'GET' AND $timeFilter GROUP BY time($interval) fill(0)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"upper_90"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "max"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "hostname",
|
|
"operator": "=~",
|
|
"value": "/$server/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "http_method",
|
|
"operator": "=",
|
|
"value": "GET"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "POST",
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"function": "mean",
|
|
"groupBy": [
|
|
{
|
|
"interval": "auto",
|
|
"params": [
|
|
"auto"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"0"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"hide": false,
|
|
"interval": "",
|
|
"measurement": "openstack_nova_http_response_times",
|
|
"policy": "default",
|
|
"query": "SELECT max(\"upper_90\") FROM \"openstack_nova_http_response_times\" WHERE \"hostname\" =~ /$server/ AND \"http_method\" = 'POST' AND $timeFilter GROUP BY time($interval) fill(0)",
|
|
"rawQuery": false,
|
|
"refId": "B",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"upper_90"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "max"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "hostname",
|
|
"operator": "=~",
|
|
"value": "/$server/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "http_method",
|
|
"operator": "=",
|
|
"value": "POST"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "PUT",
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"function": "mean",
|
|
"groupBy": [
|
|
{
|
|
"interval": "auto",
|
|
"params": [
|
|
"auto"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"0"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"hide": false,
|
|
"interval": "",
|
|
"measurement": "openstack_nova_http_response_times",
|
|
"policy": "default",
|
|
"query": "SELECT max(\"upper_90\") FROM \"openstack_nova_http_response_times\" WHERE \"hostname\" =~ /$server/ AND \"http_method\" = 'PUT' AND $timeFilter GROUP BY time($interval) fill(0)",
|
|
"rawQuery": false,
|
|
"refId": "C",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"upper_90"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "max"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "hostname",
|
|
"operator": "=~",
|
|
"value": "/$server/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "http_method",
|
|
"operator": "=",
|
|
"value": "PUT"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "DELETE",
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"function": "mean",
|
|
"groupBy": [
|
|
{
|
|
"interval": "auto",
|
|
"params": [
|
|
"auto"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"0"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"hide": false,
|
|
"interval": "",
|
|
"measurement": "openstack_nova_http_response_times",
|
|
"policy": "default",
|
|
"query": "SELECT max(\"upper_90\") FROM \"openstack_nova_http_response_times\" WHERE \"hostname\" =~ /$server/ AND \"http_method\" = 'DELETE' AND $timeFilter GROUP BY time($interval) fill(0)",
|
|
"rawQuery": false,
|
|
"refId": "D",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"upper_90"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "max"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "hostname",
|
|
"operator": "=~",
|
|
"value": "/$server/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "http_method",
|
|
"operator": "=",
|
|
"value": "DELETE"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "HTTP response time on $server",
|
|
"tooltip": {
|
|
"msResolution": false,
|
|
"shared": true,
|
|
"value_type": "cumulative"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"show": true
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"format": "s",
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": 0,
|
|
"show": true
|
|
},
|
|
{
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": 0,
|
|
"show": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"datasource": null,
|
|
"editable": true,
|
|
"error": false,
|
|
"fill": 1,
|
|
"grid": {
|
|
"threshold1": null,
|
|
"threshold1Color": "rgba(216, 200, 27, 0.27)",
|
|
"threshold2": null,
|
|
"threshold2Color": "rgba(234, 112, 112, 0.22)",
|
|
"thresholdLine": false
|
|
},
|
|
"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",
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"span": 4,
|
|
"stack": false,
|
|
"steppedLine": true,
|
|
"targets": [
|
|
{
|
|
"alias": "healthy",
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"0"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"measurement": "openstack_check_api",
|
|
"policy": "default",
|
|
"query": "SELECT last(\"value\") FROM \"openstack_check_api\" WHERE \"environment_label\" = '$environment' AND \"service\" = 'nova-api' AND $timeFilter GROUP BY time($interval) fill(0)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "environment_label",
|
|
"operator": "=",
|
|
"value": "$environment"
|
|
},
|
|
{
|
|
"key": "service",
|
|
"operator": "=",
|
|
"value": "nova-api"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "API Availability",
|
|
"tooltip": {
|
|
"msResolution": false,
|
|
"shared": false,
|
|
"value_type": "cumulative"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"show": true
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"format": "none",
|
|
"label": "",
|
|
"logBase": 1,
|
|
"max": 1,
|
|
"min": 0,
|
|
"show": false
|
|
},
|
|
{
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": true,
|
|
"datasource": null,
|
|
"editable": true,
|
|
"error": false,
|
|
"fill": 0,
|
|
"grid": {
|
|
"threshold1": null,
|
|
"threshold1Color": "rgba(216, 200, 27, 0.27)",
|
|
"threshold2": null,
|
|
"threshold2Color": "rgba(234, 112, 112, 0.22)",
|
|
"thresholdLine": false
|
|
},
|
|
"id": 8,
|
|
"interval": "> 60s",
|
|
"legend": {
|
|
"alignAsTable": true,
|
|
"avg": false,
|
|
"current": false,
|
|
"hideEmpty": false,
|
|
"max": true,
|
|
"min": true,
|
|
"rightSide": false,
|
|
"show": true,
|
|
"total": true,
|
|
"values": true
|
|
},
|
|
"lines": false,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "connected",
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"span": 8,
|
|
"stack": true,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "2xx",
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"function": "count",
|
|
"groupBy": [
|
|
{
|
|
"interval": "auto",
|
|
"params": [
|
|
"auto"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"0"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"interval": "",
|
|
"measurement": "openstack_nova_http_response_times",
|
|
"policy": "default",
|
|
"query": "SELECT sum(\"count\") FROM \"openstack_nova_http_response_times\" WHERE \"hostname\" =~ /$server/ AND \"http_status\" = '2xx' AND $timeFilter GROUP BY time($interval) fill(0)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"count"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "sum"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "hostname",
|
|
"operator": "=~",
|
|
"value": "/$server/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "http_status",
|
|
"operator": "=",
|
|
"value": "2xx"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "1xx",
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"function": "count",
|
|
"groupBy": [
|
|
{
|
|
"interval": "auto",
|
|
"params": [
|
|
"auto"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"0"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"hide": false,
|
|
"interval": "",
|
|
"measurement": "openstack_nova_http_response_times",
|
|
"policy": "default",
|
|
"query": "SELECT sum(\"count\") FROM \"openstack_nova_http_response_times\" WHERE \"hostname\" =~ /$server/ AND \"http_status\" = '1xx' AND $timeFilter GROUP BY time($interval) fill(0)",
|
|
"rawQuery": false,
|
|
"refId": "B",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"count"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "sum"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "hostname",
|
|
"operator": "=~",
|
|
"value": "/$server/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "http_status",
|
|
"operator": "=",
|
|
"value": "1xx"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "3xx",
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"function": "count",
|
|
"groupBy": [
|
|
{
|
|
"interval": "auto",
|
|
"params": [
|
|
"auto"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"0"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"hide": false,
|
|
"interval": "",
|
|
"measurement": "openstack_nova_http_response_times",
|
|
"policy": "default",
|
|
"query": "SELECT sum(\"count\") FROM \"openstack_nova_http_response_times\" WHERE \"hostname\" =~ /$server/ AND \"http_status\" = '3xx' AND $timeFilter GROUP BY time($interval) fill(0)",
|
|
"rawQuery": false,
|
|
"refId": "C",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"count"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "sum"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "hostname",
|
|
"operator": "=~",
|
|
"value": "/$server/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "http_status",
|
|
"operator": "=",
|
|
"value": "3xx"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "4xx",
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"function": "count",
|
|
"groupBy": [
|
|
{
|
|
"interval": "auto",
|
|
"params": [
|
|
"auto"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"0"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"hide": false,
|
|
"interval": "",
|
|
"measurement": "openstack_nova_http_response_times",
|
|
"policy": "default",
|
|
"query": "SELECT sum(\"count\") FROM \"openstack_nova_http_response_times\" WHERE \"hostname\" =~ /$server/ AND \"http_status\" = '4xx' AND $timeFilter GROUP BY time($interval) fill(0)",
|
|
"rawQuery": false,
|
|
"refId": "D",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"count"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "sum"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "hostname",
|
|
"operator": "=~",
|
|
"value": "/$server/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "http_status",
|
|
"operator": "=",
|
|
"value": "4xx"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "5xx",
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"function": "count",
|
|
"groupBy": [
|
|
{
|
|
"interval": "auto",
|
|
"params": [
|
|
"auto"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"0"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"hide": false,
|
|
"interval": "",
|
|
"measurement": "openstack_nova_http_response_times",
|
|
"policy": "default",
|
|
"query": "SELECT sum(\"count\") FROM \"openstack_nova_http_response_times\" WHERE \"hostname\" =~ /$server/ AND \"http_status\" = '5xx' AND $timeFilter GROUP BY time($interval) fill(0)",
|
|
"rawQuery": false,
|
|
"refId": "E",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"count"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "sum"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "hostname",
|
|
"operator": "=~",
|
|
"value": "/$server/"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "http_status",
|
|
"operator": "=",
|
|
"value": "5xx"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Number of HTTP responses on $server",
|
|
"tooltip": {
|
|
"msResolution": false,
|
|
"shared": true,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"show": true
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": 0,
|
|
"show": true
|
|
},
|
|
{
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"showTitle": true,
|
|
"title": "Service Status"
|
|
},
|
|
{
|
|
"collapse": false,
|
|
"editable": true,
|
|
"height": "100px",
|
|
"panels": [
|
|
{
|
|
"content": "<br />\n<h3 align=\"center\"> Up </h3>\n",
|
|
"editable": true,
|
|
"error": false,
|
|
"id": 57,
|
|
"links": [],
|
|
"mode": "html",
|
|
"span": 2,
|
|
"style": {},
|
|
"title": "",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"rgba(71, 212, 59, 0.4)",
|
|
"rgba(245, 150, 40, 0.73)",
|
|
"rgba(225, 40, 40, 0.59)"
|
|
],
|
|
"datasource": null,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"id": 52,
|
|
"interval": "> 60s",
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"span": 2,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"targets": [
|
|
{
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"fill": "",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"measurement": "haproxy_backend_servers",
|
|
"policy": "default",
|
|
"query": "SELECT last(\"value\") FROM \"haproxy_backend_servers\" WHERE \"environment_label\" = '$environment' AND \"backend\" = 'nova-api' AND \"state\" = 'up' AND $timeFilter GROUP BY time($interval) fill(null)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "environment_label",
|
|
"operator": "=",
|
|
"value": "$environment"
|
|
},
|
|
{
|
|
"key": "backend",
|
|
"value": "nova-api"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "state",
|
|
"value": "up"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "1,1",
|
|
"title": "OpenStack",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"rgba(71, 212, 59, 0.4)",
|
|
"rgba(245, 150, 40, 0.73)",
|
|
"rgba(225, 40, 40, 0.59)"
|
|
],
|
|
"datasource": null,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"id": 54,
|
|
"interval": "> 60s",
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"span": 2,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"targets": [
|
|
{
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"fill": "",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"measurement": "haproxy_backend_servers",
|
|
"policy": "default",
|
|
"query": "SELECT last(\"value\") FROM \"haproxy_backend_servers\" WHERE \"environment_label\" = '$environment' AND \"backend\" = 'nova-metadata-api' AND \"state\" = 'up' AND $timeFilter GROUP BY time($interval) fill(null)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "environment_label",
|
|
"operator": "=",
|
|
"value": "$environment"
|
|
},
|
|
{
|
|
"key": "backend",
|
|
"value": "nova-metadata-api"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "state",
|
|
"value": "up"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "1,1",
|
|
"title": "Metadata",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"rgba(71, 212, 59, 0.4)",
|
|
"rgba(245, 150, 40, 0.73)",
|
|
"rgba(225, 40, 40, 0.59)"
|
|
],
|
|
"datasource": null,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"id": 55,
|
|
"interval": "> 60s",
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"span": 2,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"targets": [
|
|
{
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"fill": "",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"measurement": "haproxy_backend_servers",
|
|
"policy": "default",
|
|
"query": "SELECT last(\"value\") FROM \"haproxy_backend_servers\" WHERE \"environment_label\" = '$environment' AND \"backend\" = 'nova-novncproxy-websocket' AND \"state\" = 'up' AND $timeFilter GROUP BY time($interval) fill(null)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "environment_label",
|
|
"operator": "=",
|
|
"value": "$environment"
|
|
},
|
|
{
|
|
"key": "backend",
|
|
"value": "nova-novncproxy-websocket"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "state",
|
|
"value": "up"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "1,1",
|
|
"title": "NoVNC proxy",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"content": "<br />\n<h3 align=\"center\"> </h3>",
|
|
"editable": true,
|
|
"error": false,
|
|
"id": 56,
|
|
"links": [],
|
|
"mode": "html",
|
|
"span": 4,
|
|
"style": {},
|
|
"title": "",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"content": "<br />\n<h3 align=\"center\"> Down </h3>\n",
|
|
"editable": true,
|
|
"error": false,
|
|
"id": 58,
|
|
"links": [],
|
|
"mode": "html",
|
|
"span": 2,
|
|
"style": {},
|
|
"title": "",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"rgba(255, 255, 255, 0.97)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(245, 54, 54, 0.9)"
|
|
],
|
|
"datasource": null,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"id": 59,
|
|
"interval": "> 60s",
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"span": 2,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"targets": [
|
|
{
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"fill": "",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"measurement": "haproxy_backend_servers",
|
|
"policy": "default",
|
|
"query": "SELECT last(\"value\") FROM \"haproxy_backend_servers\" WHERE \"environment_label\" = '$environment' AND \"backend\" = 'nova-api' AND \"state\" = 'down' AND $timeFilter GROUP BY time($interval) fill(null)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "environment_label",
|
|
"operator": "=",
|
|
"value": "$environment"
|
|
},
|
|
{
|
|
"key": "backend",
|
|
"value": "nova-api"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "state",
|
|
"value": "down"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "1,1",
|
|
"title": "",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"rgba(255, 255, 255, 0.97)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(245, 54, 54, 0.9)"
|
|
],
|
|
"datasource": null,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"id": 61,
|
|
"interval": "> 60s",
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"span": 2,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"targets": [
|
|
{
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"fill": "",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"measurement": "haproxy_backend_servers",
|
|
"policy": "default",
|
|
"query": "SELECT last(\"value\") FROM \"haproxy_backend_servers\" WHERE \"environment_label\" = '$environment' AND \"backend\" = 'nova-metadata-api' AND \"state\" = 'down' AND $timeFilter GROUP BY time($interval) fill(null)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "environment_label",
|
|
"operator": "=",
|
|
"value": "$environment"
|
|
},
|
|
{
|
|
"key": "backend",
|
|
"value": "nova-metadata-api"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "state",
|
|
"value": "down"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "1,1",
|
|
"title": "",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"rgba(255, 255, 255, 0.97)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(245, 54, 54, 0.9)"
|
|
],
|
|
"datasource": null,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"id": 62,
|
|
"interval": "> 60s",
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"span": 2,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"targets": [
|
|
{
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"fill": "",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"measurement": "haproxy_backend_servers",
|
|
"policy": "default",
|
|
"query": "SELECT last(\"value\") FROM \"haproxy_backend_servers\" WHERE \"environment_label\" = '$environment' AND \"backend\" = 'nova-novncproxy-websocket' AND \"state\" = 'down' AND $timeFilter GROUP BY time($interval) fill(null)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "environment_label",
|
|
"operator": "=",
|
|
"value": "$environment"
|
|
},
|
|
{
|
|
"key": "backend",
|
|
"value": "nova-novncproxy-websocket"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "state",
|
|
"value": "down"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "1,1",
|
|
"title": "",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"content": "<br />\n<h3 align=\"center\"> </h3>",
|
|
"editable": true,
|
|
"error": false,
|
|
"id": 63,
|
|
"links": [],
|
|
"mode": "html",
|
|
"span": 4,
|
|
"style": {},
|
|
"title": "",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"showTitle": true,
|
|
"title": "Nova API"
|
|
},
|
|
{
|
|
"collapse": false,
|
|
"editable": true,
|
|
"height": "250px",
|
|
"panels": [
|
|
{
|
|
"content": "<br />\n<h3 align=\"center\"> Compute nodes </h3>",
|
|
"editable": true,
|
|
"error": false,
|
|
"id": 69,
|
|
"links": [],
|
|
"mode": "html",
|
|
"span": 2,
|
|
"style": {},
|
|
"title": "",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"rgba(71, 212, 59, 0.4)",
|
|
"rgba(245, 150, 40, 0.73)",
|
|
"rgba(225, 40, 40, 0.59)"
|
|
],
|
|
"datasource": null,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"id": 70,
|
|
"interval": "> 60s",
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"span": 1,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"targets": [
|
|
{
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"fill": "",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"interval": "auto",
|
|
"params": [
|
|
"auto"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "openstack_nova_services",
|
|
"policy": "default",
|
|
"query": "SELECT last(\"value\") FROM \"openstack_nova_services\" WHERE \"environment_label\" = '$environment' AND \"service\" = 'compute' AND \"state\" = 'disabled' AND $timeFilter GROUP BY time($interval) fill(null)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "environment_label",
|
|
"operator": "=",
|
|
"value": "$environment"
|
|
},
|
|
{
|
|
"key": "service",
|
|
"operator": "=",
|
|
"value": "compute"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "state",
|
|
"operator": "=",
|
|
"value": "disabled"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "1,1",
|
|
"title": "Disabled",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(239, 56, 56, 0.89)",
|
|
"rgba(255, 255, 255, 0.97)"
|
|
],
|
|
"datasource": null,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"id": 71,
|
|
"interval": "> 60s",
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"span": 1,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"targets": [
|
|
{
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"fill": "",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"interval": "auto",
|
|
"params": [
|
|
"auto"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "openstack_nova_services",
|
|
"policy": "default",
|
|
"query": "SELECT last(\"value\") FROM \"openstack_nova_services\" WHERE \"environment_label\" = '$environment' AND \"service\" = 'compute' AND \"state\" = 'up' AND $timeFilter GROUP BY time($interval) fill(null)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "environment_label",
|
|
"operator": "=",
|
|
"value": "$environment"
|
|
},
|
|
{
|
|
"key": "service",
|
|
"operator": "=",
|
|
"value": "compute"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "state",
|
|
"operator": "=",
|
|
"value": "up"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "0,1",
|
|
"title": "Up",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(255, 255, 255, 0.89)",
|
|
"rgba(255, 255, 255, 0.97)"
|
|
],
|
|
"datasource": null,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"id": 72,
|
|
"interval": "> 60s",
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"span": 1,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"targets": [
|
|
{
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"fill": "",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"interval": "auto",
|
|
"params": [
|
|
"auto"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "openstack_nova_services",
|
|
"policy": "default",
|
|
"query": "SELECT last(\"value\") FROM \"openstack_nova_services\" WHERE \"environment_label\" = '$environment' AND \"service\" = 'compute' AND \"state\" = 'down' AND $timeFilter GROUP BY time($interval) fill(null)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "environment_label",
|
|
"operator": "=",
|
|
"value": "$environment"
|
|
},
|
|
{
|
|
"key": "service",
|
|
"operator": "=",
|
|
"value": "compute"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "state",
|
|
"operator": "=",
|
|
"value": "down"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "0,0",
|
|
"title": "Down",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"columns": [],
|
|
"editable": true,
|
|
"error": false,
|
|
"fontSize": "100%",
|
|
"hideTimeOverride": false,
|
|
"id": 73,
|
|
"interval": ">60s",
|
|
"isNew": true,
|
|
"links": [],
|
|
"pageSize": null,
|
|
"scroll": true,
|
|
"showHeader": true,
|
|
"sort": {
|
|
"col": 0,
|
|
"desc": true
|
|
},
|
|
"span": 7,
|
|
"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": "string",
|
|
"unit": "short"
|
|
}
|
|
],
|
|
"targets": [
|
|
{
|
|
"alias": "",
|
|
"dsType": "influxdb",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "openstack_nova_service",
|
|
"policy": "default",
|
|
"query": "SELECT state, last(value) FROM \"openstack_nova_service\" WHERE $timeFilter AND \"environment_label\" = '$environment'and service = 'compute' GROUP BY time($interval), hostname",
|
|
"rawQuery": true,
|
|
"refId": "A",
|
|
"resultFormat": "table",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "mean"
|
|
}
|
|
]
|
|
],
|
|
"tags": []
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "History",
|
|
"transform": "table",
|
|
"type": "table"
|
|
},
|
|
{
|
|
"content": "<br />\n<h3 align=\"center\"> Schedulers </h3>",
|
|
"editable": true,
|
|
"error": false,
|
|
"id": 75,
|
|
"links": [],
|
|
"mode": "html",
|
|
"span": 2,
|
|
"style": {},
|
|
"title": "",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"rgba(255, 255, 255, 0.97)",
|
|
"rgba(255, 255, 255, 0.89)",
|
|
"rgba(255, 255, 255, 0.9)"
|
|
],
|
|
"datasource": null,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"id": 76,
|
|
"interval": "> 60s",
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"span": 1,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"targets": [
|
|
{
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"fill": "",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"interval": "auto",
|
|
"params": [
|
|
"auto"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "openstack_nova_services",
|
|
"policy": "default",
|
|
"query": "SELECT last(\"value\") FROM \"openstack_nova_services\" WHERE \"environment_label\" = '$environment' AND \"service\" = 'scheduler' AND \"state\" = 'disabled' AND $timeFilter GROUP BY time($interval) fill(null)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "environment_label",
|
|
"operator": "=",
|
|
"value": "$environment"
|
|
},
|
|
{
|
|
"key": "service",
|
|
"operator": "=",
|
|
"value": "scheduler"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "state",
|
|
"operator": "=",
|
|
"value": "disabled"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "0,1",
|
|
"title": "",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(255, 255, 255, 0.97)"
|
|
],
|
|
"datasource": null,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"id": 77,
|
|
"interval": "> 60s",
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"span": 1,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"targets": [
|
|
{
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"fill": "",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"interval": "auto",
|
|
"params": [
|
|
"auto"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "openstack_nova_services",
|
|
"policy": "default",
|
|
"query": "SELECT last(\"value\") FROM \"openstack_nova_services\" WHERE \"environment_label\" = '$environment' AND \"service\" = 'scheduler' AND \"state\" = 'up' AND $timeFilter GROUP BY time($interval) fill(null)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "environment_label",
|
|
"operator": "=",
|
|
"value": "$environment"
|
|
},
|
|
{
|
|
"key": "service",
|
|
"operator": "=",
|
|
"value": "scheduler"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "state",
|
|
"operator": "=",
|
|
"value": "up"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "0,1",
|
|
"title": "",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(255, 255, 255, 0.89)",
|
|
"rgba(255, 255, 255, 0.97)"
|
|
],
|
|
"datasource": null,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"id": 78,
|
|
"interval": "> 60s",
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"span": 1,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"targets": [
|
|
{
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"fill": "",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"interval": "auto",
|
|
"params": [
|
|
"auto"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "openstack_nova_services",
|
|
"policy": "default",
|
|
"query": "SELECT last(\"value\") FROM \"openstack_nova_services\" WHERE \"environment_label\" = '$environment' AND \"service\" = 'scheduler' AND \"state\" = 'down' AND $timeFilter GROUP BY time($interval) fill(null)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "environment_label",
|
|
"operator": "=",
|
|
"value": "$environment"
|
|
},
|
|
{
|
|
"key": "service",
|
|
"operator": "=",
|
|
"value": "scheduler"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "state",
|
|
"operator": "=",
|
|
"value": "down"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "0,0",
|
|
"title": "",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"columns": [],
|
|
"editable": true,
|
|
"error": false,
|
|
"fontSize": "100%",
|
|
"hideTimeOverride": false,
|
|
"id": 82,
|
|
"interval": ">60s",
|
|
"isNew": true,
|
|
"links": [],
|
|
"pageSize": null,
|
|
"scroll": true,
|
|
"showHeader": true,
|
|
"sort": {
|
|
"col": 1,
|
|
"desc": true
|
|
},
|
|
"span": 7,
|
|
"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": "string",
|
|
"unit": "short"
|
|
}
|
|
],
|
|
"targets": [
|
|
{
|
|
"alias": "",
|
|
"dsType": "influxdb",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "openstack_nova_service",
|
|
"policy": "default",
|
|
"query": "SELECT state, last(value) FROM \"openstack_nova_service\" WHERE $timeFilter AND \"environment_label\" = '$environment'and service = 'scheduler' GROUP BY time($interval), hostname",
|
|
"rawQuery": true,
|
|
"refId": "A",
|
|
"resultFormat": "table",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "mean"
|
|
}
|
|
]
|
|
],
|
|
"tags": []
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "",
|
|
"transform": "table",
|
|
"type": "table"
|
|
},
|
|
{
|
|
"content": "<br />\n<h3 align=\"center\"> Conductors </h3>",
|
|
"editable": true,
|
|
"error": false,
|
|
"id": 83,
|
|
"links": [],
|
|
"mode": "html",
|
|
"span": 2,
|
|
"style": {},
|
|
"title": "",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"rgba(255, 255, 255, 0.97)",
|
|
"rgba(255, 255, 255, 0.89)",
|
|
"rgba(245, 54, 54, 0.9)"
|
|
],
|
|
"datasource": null,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"id": 84,
|
|
"interval": "> 60s",
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"span": 1,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"targets": [
|
|
{
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"fill": "",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"interval": "auto",
|
|
"params": [
|
|
"auto"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "openstack_nova_services",
|
|
"policy": "default",
|
|
"query": "SELECT last(\"value\") FROM \"openstack_nova_services\" WHERE \"environment_label\" = '$environment' AND \"service\" = 'conductor' AND \"state\" = 'disabled' AND $timeFilter GROUP BY time($interval) fill(null)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "environment_label",
|
|
"operator": "=",
|
|
"value": "$environment"
|
|
},
|
|
{
|
|
"key": "service",
|
|
"operator": "=",
|
|
"value": "conductor"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "state",
|
|
"operator": "=",
|
|
"value": "disabled"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "0,1",
|
|
"title": "",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(255, 255, 255, 0.97)"
|
|
],
|
|
"datasource": null,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"id": 85,
|
|
"interval": "> 60s",
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"span": 1,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"targets": [
|
|
{
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"fill": "",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"interval": "auto",
|
|
"params": [
|
|
"auto"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "openstack_nova_services",
|
|
"policy": "default",
|
|
"query": "SELECT last(\"value\") FROM \"openstack_nova_services\" WHERE \"environment_label\" = '$environment' AND \"service\" = 'conductor' AND \"state\" = 'up' AND $timeFilter GROUP BY time($interval) fill(null)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "environment_label",
|
|
"operator": "=",
|
|
"value": "$environment"
|
|
},
|
|
{
|
|
"key": "service",
|
|
"operator": "=",
|
|
"value": "conductor"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "state",
|
|
"operator": "=",
|
|
"value": "up"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "0,1",
|
|
"title": "",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(255, 255, 255, 0.89)",
|
|
"rgba(255, 255, 255, 0.97)"
|
|
],
|
|
"datasource": null,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"id": 86,
|
|
"interval": "> 60s",
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"span": 1,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"targets": [
|
|
{
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"fill": "",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"interval": "auto",
|
|
"params": [
|
|
"auto"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "openstack_nova_services",
|
|
"policy": "default",
|
|
"query": "SELECT last(\"value\") FROM \"openstack_nova_services\" WHERE \"environment_label\" = '$environment' AND \"service\" = 'conductor' AND \"state\" = 'down' AND $timeFilter GROUP BY time($interval) fill(null)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "environment_label",
|
|
"operator": "=",
|
|
"value": "$environment"
|
|
},
|
|
{
|
|
"key": "service",
|
|
"operator": "=",
|
|
"value": "conductor"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "state",
|
|
"operator": "=",
|
|
"value": "down"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "0,0",
|
|
"title": "",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"columns": [],
|
|
"editable": true,
|
|
"error": false,
|
|
"fontSize": "100%",
|
|
"hideTimeOverride": false,
|
|
"id": 87,
|
|
"interval": ">60s",
|
|
"isNew": true,
|
|
"links": [],
|
|
"pageSize": null,
|
|
"scroll": true,
|
|
"showHeader": true,
|
|
"sort": {
|
|
"col": 0,
|
|
"desc": false
|
|
},
|
|
"span": 7,
|
|
"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": "string",
|
|
"unit": "short"
|
|
}
|
|
],
|
|
"targets": [
|
|
{
|
|
"alias": "",
|
|
"dsType": "influxdb",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "openstack_nova_service",
|
|
"policy": "default",
|
|
"query": "SELECT state, last(value) FROM \"openstack_nova_service\" WHERE $timeFilter AND \"environment_label\" = '$environment'and service = 'conductor' GROUP BY time($interval), hostname",
|
|
"rawQuery": true,
|
|
"refId": "A",
|
|
"resultFormat": "table",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "mean"
|
|
}
|
|
]
|
|
],
|
|
"tags": []
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "",
|
|
"transform": "table",
|
|
"type": "table"
|
|
},
|
|
{
|
|
"content": "<br />\n<h3 align=\"center\"> Cert servers </h3>",
|
|
"editable": true,
|
|
"error": false,
|
|
"id": 88,
|
|
"links": [],
|
|
"mode": "html",
|
|
"span": 2,
|
|
"style": {},
|
|
"title": "",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"rgba(255, 255, 255, 0.97)",
|
|
"rgba(255, 255, 255, 0.89)",
|
|
"rgba(245, 54, 54, 0.9)"
|
|
],
|
|
"datasource": null,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"id": 89,
|
|
"interval": "> 60s",
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"span": 1,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"targets": [
|
|
{
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"fill": "",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"interval": "auto",
|
|
"params": [
|
|
"auto"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "openstack_nova_services",
|
|
"policy": "default",
|
|
"query": "SELECT last(\"value\") FROM \"openstack_nova_services\" WHERE \"environment_label\" = '$environment' AND \"service\" = 'cert' AND \"state\" = 'disabled' AND $timeFilter GROUP BY time($interval) fill(null)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "environment_label",
|
|
"operator": "=",
|
|
"value": "$environment"
|
|
},
|
|
{
|
|
"key": "service",
|
|
"operator": "=",
|
|
"value": "cert"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "state",
|
|
"operator": "=",
|
|
"value": "disabled"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "0,1",
|
|
"title": "",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(255, 255, 255, 0.97)"
|
|
],
|
|
"datasource": null,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"id": 90,
|
|
"interval": "> 60s",
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"span": 1,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"targets": [
|
|
{
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"fill": "",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"interval": "auto",
|
|
"params": [
|
|
"auto"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "openstack_nova_services",
|
|
"policy": "default",
|
|
"query": "SELECT last(\"value\") FROM \"openstack_nova_services\" WHERE \"environment_label\" = '$environment' AND \"service\" = 'cert' AND \"state\" = 'up' AND $timeFilter GROUP BY time($interval) fill(null)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "environment_label",
|
|
"operator": "=",
|
|
"value": "$environment"
|
|
},
|
|
{
|
|
"key": "service",
|
|
"operator": "=",
|
|
"value": "cert"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "state",
|
|
"operator": "=",
|
|
"value": "up"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "0,1",
|
|
"title": "",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(255, 255, 255, 0.89)",
|
|
"rgba(255, 255, 255, 0.97)"
|
|
],
|
|
"datasource": null,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"id": 91,
|
|
"interval": "> 60s",
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"span": 1,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"targets": [
|
|
{
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"fill": "",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"interval": "auto",
|
|
"params": [
|
|
"auto"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "openstack_nova_services",
|
|
"policy": "default",
|
|
"query": "SELECT last(\"value\") FROM \"openstack_nova_services\" WHERE \"environment_label\" = '$environment' AND \"service\" = 'cert' AND \"state\" = 'down' AND $timeFilter GROUP BY time($interval) fill(null)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "environment_label",
|
|
"operator": "=",
|
|
"value": "$environment"
|
|
},
|
|
{
|
|
"key": "service",
|
|
"operator": "=",
|
|
"value": "cert"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "state",
|
|
"operator": "=",
|
|
"value": "down"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "0,0",
|
|
"title": "",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"columns": [],
|
|
"editable": true,
|
|
"error": false,
|
|
"fontSize": "100%",
|
|
"hideTimeOverride": false,
|
|
"id": 92,
|
|
"interval": ">60s",
|
|
"isNew": true,
|
|
"links": [],
|
|
"pageSize": null,
|
|
"scroll": true,
|
|
"showHeader": true,
|
|
"sort": {
|
|
"col": 0,
|
|
"desc": false
|
|
},
|
|
"span": 7,
|
|
"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": "string",
|
|
"unit": "short"
|
|
}
|
|
],
|
|
"targets": [
|
|
{
|
|
"alias": "",
|
|
"dsType": "influxdb",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "openstack_nova_service",
|
|
"policy": "default",
|
|
"query": "SELECT state, last(value) FROM \"openstack_nova_service\" WHERE $timeFilter AND \"environment_label\" = '$environment'and service = 'cert' GROUP BY time($interval), hostname",
|
|
"rawQuery": true,
|
|
"refId": "A",
|
|
"resultFormat": "table",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "mean"
|
|
}
|
|
]
|
|
],
|
|
"tags": []
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "",
|
|
"transform": "table",
|
|
"type": "table"
|
|
},
|
|
{
|
|
"content": "<br />\n<h3 align=\"center\"> Consoleauth </h3>",
|
|
"editable": true,
|
|
"error": false,
|
|
"id": 93,
|
|
"links": [],
|
|
"mode": "html",
|
|
"span": 2,
|
|
"style": {},
|
|
"title": "",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"rgba(255, 255, 255, 0.97)",
|
|
"rgba(255, 255, 255, 0.89)",
|
|
"rgba(245, 54, 54, 0.9)"
|
|
],
|
|
"datasource": null,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"id": 94,
|
|
"interval": "> 60s",
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"span": 1,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"targets": [
|
|
{
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"fill": "",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"interval": "auto",
|
|
"params": [
|
|
"auto"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "openstack_nova_services",
|
|
"policy": "default",
|
|
"query": "SELECT last(\"value\") FROM \"openstack_nova_services\" WHERE \"environment_label\" = '$environment' AND \"service\" = 'consoleauth' AND \"state\" = 'disabled' AND $timeFilter GROUP BY time($interval) fill(null)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "environment_label",
|
|
"operator": "=",
|
|
"value": "$environment"
|
|
},
|
|
{
|
|
"key": "service",
|
|
"operator": "=",
|
|
"value": "consoleauth"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "state",
|
|
"operator": "=",
|
|
"value": "disabled"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "0,1",
|
|
"title": "",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(255, 255, 255, 0.97)"
|
|
],
|
|
"datasource": null,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"id": 95,
|
|
"interval": "> 60s",
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"span": 1,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"targets": [
|
|
{
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"fill": "",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"interval": "auto",
|
|
"params": [
|
|
"auto"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "openstack_nova_services",
|
|
"policy": "default",
|
|
"query": "SELECT last(\"value\") FROM \"openstack_nova_services\" WHERE \"environment_label\" = '$environment' AND \"service\" = 'consoleauth' AND \"state\" = 'up' AND $timeFilter GROUP BY time($interval) fill(null)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "environment_label",
|
|
"operator": "=",
|
|
"value": "$environment"
|
|
},
|
|
{
|
|
"key": "service",
|
|
"operator": "=",
|
|
"value": "consoleauth"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "state",
|
|
"operator": "=",
|
|
"value": "up"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "0,1",
|
|
"title": "",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": true,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(255, 255, 255, 0.89)",
|
|
"rgba(255, 255, 255, 0.97)"
|
|
],
|
|
"datasource": null,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"id": 96,
|
|
"interval": "> 60s",
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"span": 1,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"targets": [
|
|
{
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"fill": "",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"interval": "auto",
|
|
"params": [
|
|
"auto"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "openstack_nova_services",
|
|
"policy": "default",
|
|
"query": "SELECT last(\"value\") FROM \"openstack_nova_services\" WHERE \"environment_label\" = '$environment' AND \"service\" = 'consoleauth' AND \"state\" = 'down' AND $timeFilter GROUP BY time($interval) fill(null)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "environment_label",
|
|
"operator": "=",
|
|
"value": "$environment"
|
|
},
|
|
{
|
|
"key": "service",
|
|
"operator": "=",
|
|
"value": "consoleauth"
|
|
},
|
|
{
|
|
"condition": "AND",
|
|
"key": "state",
|
|
"operator": "=",
|
|
"value": "down"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "0,0",
|
|
"title": "",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"columns": [],
|
|
"editable": true,
|
|
"error": false,
|
|
"fontSize": "100%",
|
|
"hideTimeOverride": false,
|
|
"id": 98,
|
|
"interval": ">60s",
|
|
"isNew": true,
|
|
"links": [],
|
|
"pageSize": null,
|
|
"scroll": true,
|
|
"showHeader": true,
|
|
"sort": {
|
|
"col": 0,
|
|
"desc": true
|
|
},
|
|
"span": 7,
|
|
"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": "string",
|
|
"unit": "short"
|
|
}
|
|
],
|
|
"targets": [
|
|
{
|
|
"alias": "",
|
|
"dsType": "influxdb",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"measurement": "openstack_nova_service",
|
|
"policy": "default",
|
|
"query": "SELECT state, last(value) FROM \"openstack_nova_service\" WHERE $timeFilter AND \"environment_label\" = '$environment'and service = 'consoleauth' GROUP BY time($interval), hostname",
|
|
"rawQuery": true,
|
|
"refId": "A",
|
|
"resultFormat": "table",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "mean"
|
|
}
|
|
]
|
|
],
|
|
"tags": []
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "",
|
|
"transform": "table",
|
|
"type": "table"
|
|
}
|
|
],
|
|
"showTitle": true,
|
|
"title": "Nova services"
|
|
},
|
|
{
|
|
"collapse": false,
|
|
"editable": true,
|
|
"height": "250px",
|
|
"panels": [
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"rgba(50, 172, 45, 0.97)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(245, 54, 54, 0.9)"
|
|
],
|
|
"datasource": null,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"id": 27,
|
|
"interval": "> 60s",
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "80%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"span": 2,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"targets": [
|
|
{
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"fill": "",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"measurement": "openstack_nova_instances",
|
|
"policy": "default",
|
|
"query": "SELECT last(\"value\") FROM \"openstack_nova_instances\" WHERE \"environment_label\" = '$environment' AND \"state\" = 'active' AND $timeFilter GROUP BY time($interval) fill(null)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "environment_label",
|
|
"operator": "=",
|
|
"value": "$environment"
|
|
},
|
|
{
|
|
"key": "state",
|
|
"value": "active"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"title": "Active instances",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "0",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"datasource": null,
|
|
"decimals": 0,
|
|
"editable": true,
|
|
"error": false,
|
|
"fill": 0,
|
|
"grid": {
|
|
"threshold1": null,
|
|
"threshold1Color": "rgba(216, 200, 27, 0.27)",
|
|
"threshold2": null,
|
|
"threshold2Color": "rgba(234, 112, 112, 0.22)"
|
|
},
|
|
"id": 64,
|
|
"interval": ">60s",
|
|
"legend": {
|
|
"avg": false,
|
|
"current": true,
|
|
"max": true,
|
|
"min": false,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "connected",
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"span": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "active",
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"function": "max",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"0"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"measurement": "openstack_nova_instances",
|
|
"policy": "default",
|
|
"query": "SELECT max(\"value\") FROM \"openstack_nova_instances\" WHERE \"environment_label\" = '$environment' AND \"state\" = 'active' AND $timeFilter GROUP BY time($interval) fill(0)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "max"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "environment_label",
|
|
"operator": "=",
|
|
"value": "$environment"
|
|
},
|
|
{
|
|
"key": "state",
|
|
"value": "active"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "",
|
|
"tooltip": {
|
|
"msResolution": false,
|
|
"shared": true,
|
|
"value_type": "cumulative"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"show": true
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"format": "short",
|
|
"label": "number of instances",
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": 0,
|
|
"show": true
|
|
},
|
|
{
|
|
"format": "short",
|
|
"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": null,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"id": 39,
|
|
"interval": "> 60s",
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "80%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"span": 2,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"targets": [
|
|
{
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"fill": "",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"measurement": "openstack_nova_instances",
|
|
"policy": "default",
|
|
"query": "SELECT last(\"value\") FROM \"openstack_nova_instances\" WHERE \"environment_label\" = '$environment' AND \"state\" = 'error' AND $timeFilter GROUP BY time($interval) fill(null)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "environment_label",
|
|
"operator": "=",
|
|
"value": "$environment"
|
|
},
|
|
{
|
|
"key": "state",
|
|
"value": "error"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"title": "Instances in error",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "0",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"datasource": null,
|
|
"editable": true,
|
|
"error": false,
|
|
"fill": 0,
|
|
"grid": {
|
|
"threshold1": null,
|
|
"threshold1Color": "rgba(216, 200, 27, 0.27)",
|
|
"threshold2": null,
|
|
"threshold2Color": "rgba(234, 112, 112, 0.22)"
|
|
},
|
|
"id": 65,
|
|
"interval": ">60s",
|
|
"legend": {
|
|
"avg": false,
|
|
"current": true,
|
|
"max": true,
|
|
"min": false,
|
|
"show": true,
|
|
"total": false,
|
|
"values": true
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "connected",
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"span": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "error",
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"function": "max",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"0"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"measurement": "openstack_nova_instances",
|
|
"policy": "default",
|
|
"query": "SELECT max(\"value\") FROM \"openstack_nova_instances\" WHERE \"environment_label\" = '$environment' AND \"state\" = 'error' AND $timeFilter GROUP BY time($interval) fill(0)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "max"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "environment_label",
|
|
"operator": "=",
|
|
"value": "$environment"
|
|
},
|
|
{
|
|
"key": "state",
|
|
"value": "error"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "",
|
|
"tooltip": {
|
|
"msResolution": false,
|
|
"shared": true,
|
|
"value_type": "cumulative"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"show": true
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"format": "short",
|
|
"label": "number of instances",
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": 0,
|
|
"show": true
|
|
},
|
|
{
|
|
"format": "short",
|
|
"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": null,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "s",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"id": 68,
|
|
"interval": ">1m",
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"span": 2,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": false
|
|
},
|
|
"targets": [
|
|
{
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"fill": "",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"measurement": "openstack_nova_instance_creation_time",
|
|
"policy": "default",
|
|
"query": "SELECT mean(\"value\") FROM \"openstack_nova_instance_creation_time\" WHERE \"environment_label\" = '$environment' AND $timeFilter GROUP BY time($interval) fill(null)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "mean"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "environment_label",
|
|
"operator": "=",
|
|
"value": "$environment"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"title": "Instance creation time (mean)",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "avg"
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"datasource": null,
|
|
"editable": true,
|
|
"error": false,
|
|
"fill": 0,
|
|
"grid": {
|
|
"threshold1": null,
|
|
"threshold1Color": "rgba(216, 200, 27, 0.27)",
|
|
"threshold2": null,
|
|
"threshold2Color": "rgba(234, 112, 112, 0.22)"
|
|
},
|
|
"id": 28,
|
|
"interval": ">60s",
|
|
"legend": {
|
|
"alignAsTable": false,
|
|
"avg": false,
|
|
"current": false,
|
|
"hideEmpty": false,
|
|
"max": false,
|
|
"min": false,
|
|
"show": true,
|
|
"sortDesc": true,
|
|
"total": false,
|
|
"values": false
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "null as zero",
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"span": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"alias": "mean",
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"function": "mean",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"0"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"measurement": "openstack_nova_instance_creation_time",
|
|
"policy": "default",
|
|
"query": "SELECT mean(\"value\") FROM \"openstack_nova_instance_creation_time\" WHERE \"environment_label\" = '$environment' AND $timeFilter GROUP BY time($interval) fill(0)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "mean"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "environment_label",
|
|
"operator": "=",
|
|
"value": "$environment"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "max",
|
|
"column": "value",
|
|
"condition": "",
|
|
"dsType": "influxdb",
|
|
"function": "max",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"0"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"measurement": "openstack_nova_instance_creation_time",
|
|
"policy": "default",
|
|
"query": "SELECT max(\"value\") FROM \"openstack_nova_instance_creation_time\" WHERE \"environment_label\" = '$environment' AND $timeFilter GROUP BY time($interval) fill(0)",
|
|
"rawQuery": false,
|
|
"refId": "B",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "max"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "environment_label",
|
|
"operator": "=",
|
|
"value": "$environment"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"alias": "min",
|
|
"column": "value",
|
|
"condition": "",
|
|
"dsType": "influxdb",
|
|
"function": "min",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"0"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"measurement": "openstack_nova_instance_creation_time",
|
|
"policy": "default",
|
|
"query": "SELECT min(\"value\") FROM \"openstack_nova_instance_creation_time\" WHERE \"environment_label\" = '$environment' AND $timeFilter GROUP BY time($interval) fill(0)",
|
|
"rawQuery": false,
|
|
"refId": "C",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "min"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "environment_label",
|
|
"operator": "=",
|
|
"value": "$environment"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "",
|
|
"tooltip": {
|
|
"msResolution": false,
|
|
"shared": true,
|
|
"value_type": "cumulative"
|
|
},
|
|
"type": "graph",
|
|
"xaxis": {
|
|
"show": true
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"format": "s",
|
|
"label": "creation time",
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": 0,
|
|
"show": true
|
|
},
|
|
{
|
|
"format": "short",
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"showTitle": true,
|
|
"title": "Instances"
|
|
},
|
|
{
|
|
"collapse": false,
|
|
"editable": true,
|
|
"height": "250px",
|
|
"panels": [
|
|
{
|
|
"content": "<br />\n<br />\n<br />\n<br />\n<br />\n<h3 align=\"center\">Used</h3>",
|
|
"editable": true,
|
|
"error": false,
|
|
"id": 34,
|
|
"links": [],
|
|
"mode": "html",
|
|
"span": 2,
|
|
"style": {},
|
|
"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": null,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"id": 32,
|
|
"interval": "> 60s",
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"span": 2,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": true
|
|
},
|
|
"targets": [
|
|
{
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"fill": "",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"measurement": "openstack_nova_total_used_vcpus",
|
|
"policy": "default",
|
|
"query": "SELECT last(\"value\") FROM \"openstack_nova_total_used_vcpus\" WHERE \"environment_label\" = '$environment' AND $timeFilter GROUP BY time($interval) fill(null)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "environment_label",
|
|
"operator": "=",
|
|
"value": "$environment"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"title": "Virtual CPU",
|
|
"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": null,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "gbytes",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"id": 30,
|
|
"interval": "> 60s",
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": " ",
|
|
"postfixFontSize": "80%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"span": 2,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": true
|
|
},
|
|
"targets": [
|
|
{
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"fill": "",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"measurement": "openstack_nova_total_used_disk",
|
|
"policy": "default",
|
|
"query": "SELECT last(\"value\") FROM \"openstack_nova_total_used_disk\" WHERE \"environment_label\" = '$environment' AND $timeFilter GROUP BY time($interval) fill(null)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "environment_label",
|
|
"operator": "=",
|
|
"value": "$environment"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"title": "Virtual Disks",
|
|
"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": null,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "mbytes",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"id": 31,
|
|
"interval": "> 60s",
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": " ",
|
|
"postfixFontSize": "80%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"span": 2,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": true
|
|
},
|
|
"targets": [
|
|
{
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"fill": "",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"measurement": "openstack_nova_total_used_ram",
|
|
"policy": "default",
|
|
"query": "SELECT last(\"value\") FROM \"openstack_nova_total_used_ram\" WHERE \"environment_label\" = '$environment' AND $timeFilter GROUP BY time($interval) fill(null)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "environment_label",
|
|
"operator": "=",
|
|
"value": "$environment"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"title": "Virtual RAM",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"content": "",
|
|
"editable": true,
|
|
"error": false,
|
|
"id": 66,
|
|
"links": [],
|
|
"mode": "markdown",
|
|
"span": 4,
|
|
"style": {},
|
|
"title": "",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"content": "<br />\n<br />\n<br />\n<br />\n<br />\n<h3 align=\"center\">Available</h3>",
|
|
"editable": true,
|
|
"error": false,
|
|
"id": 38,
|
|
"links": [],
|
|
"mode": "html",
|
|
"span": 2,
|
|
"style": {},
|
|
"title": "",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"rgba(245, 54, 54, 0.9)",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"rgba(50, 172, 45, 0.97)"
|
|
],
|
|
"datasource": null,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"id": 37,
|
|
"interval": "> 60s",
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "50%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"span": 2,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": true
|
|
},
|
|
"targets": [
|
|
{
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"fill": "",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"measurement": "openstack_nova_total_free_vcpus",
|
|
"policy": "default",
|
|
"query": "SELECT last(\"value\") FROM \"openstack_nova_total_free_vcpus\" WHERE \"environment_label\" = '$environment' AND $timeFilter GROUP BY time($interval) fill(null)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "environment_label",
|
|
"operator": "=",
|
|
"value": "$environment"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"title": "",
|
|
"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": null,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "gbytes",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"id": 33,
|
|
"interval": "> 60s",
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "80%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"span": 2,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": true
|
|
},
|
|
"targets": [
|
|
{
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"fill": "",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"measurement": "openstack_nova_total_free_disk",
|
|
"policy": "default",
|
|
"query": "SELECT last(\"value\") FROM \"openstack_nova_total_free_disk\" WHERE \"environment_label\" = '$environment' AND $timeFilter GROUP BY time($interval) fill(null)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "environment_label",
|
|
"operator": "=",
|
|
"value": "$environment"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"title": "",
|
|
"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": null,
|
|
"editable": true,
|
|
"error": false,
|
|
"format": "mbytes",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"id": 36,
|
|
"interval": "> 60s",
|
|
"links": [],
|
|
"maxDataPoints": 100,
|
|
"nullPointMode": "connected",
|
|
"nullText": null,
|
|
"postfix": "",
|
|
"postfixFontSize": "80%",
|
|
"prefix": "",
|
|
"prefixFontSize": "50%",
|
|
"span": 2,
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": true
|
|
},
|
|
"targets": [
|
|
{
|
|
"column": "value",
|
|
"dsType": "influxdb",
|
|
"fill": "",
|
|
"function": "last",
|
|
"groupBy": [
|
|
{
|
|
"params": [
|
|
"$interval"
|
|
],
|
|
"type": "time"
|
|
},
|
|
{
|
|
"params": [
|
|
"null"
|
|
],
|
|
"type": "fill"
|
|
}
|
|
],
|
|
"groupByTags": [],
|
|
"measurement": "openstack_nova_total_free_ram",
|
|
"policy": "default",
|
|
"query": "SELECT last(\"value\") FROM \"openstack_nova_total_free_ram\" WHERE \"environment_label\" = '$environment' AND $timeFilter GROUP BY time($interval) fill(null)",
|
|
"rawQuery": false,
|
|
"refId": "A",
|
|
"resultFormat": "time_series",
|
|
"select": [
|
|
[
|
|
{
|
|
"params": [
|
|
"value"
|
|
],
|
|
"type": "field"
|
|
},
|
|
{
|
|
"params": [],
|
|
"type": "last"
|
|
}
|
|
]
|
|
],
|
|
"tags": [
|
|
{
|
|
"key": "environment_label",
|
|
"operator": "=",
|
|
"value": "$environment"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"thresholds": "",
|
|
"title": "",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"content": "",
|
|
"editable": true,
|
|
"error": false,
|
|
"id": 67,
|
|
"links": [],
|
|
"mode": "markdown",
|
|
"span": 4,
|
|
"style": {},
|
|
"title": "",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"showTitle": true,
|
|
"title": "Resources"
|
|
}
|
|
],
|
|
"schemaVersion": 12,
|
|
"sharedCrosshair": true,
|
|
"style": "dark",
|
|
"tags": [],
|
|
"templating": {
|
|
"enable": true,
|
|
"list": [
|
|
{
|
|
"allFormat": "regex values",
|
|
"current": {},
|
|
"datasource": null,
|
|
"hide": 0,
|
|
"includeAll": false,
|
|
"name": "environment",
|
|
"options": [],
|
|
"query": "show tag values from cpu_idle with key = environment_label",
|
|
"refresh": 1,
|
|
"refresh_on_load": true,
|
|
"regex": "",
|
|
"type": "query"
|
|
},
|
|
{
|
|
"allFormat": "regex values",
|
|
"current": {},
|
|
"datasource": "lma",
|
|
"hide": 0,
|
|
"includeAll": true,
|
|
"name": "server",
|
|
"options": [],
|
|
"query": "show tag values from pacemaker_local_resource_active with key = hostname where environment_label = '$environment' ",
|
|
"refresh": 1,
|
|
"refresh_on_load": true,
|
|
"regex": "",
|
|
"type": "query"
|
|
}
|
|
]
|
|
},
|
|
"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": "Nova",
|
|
"version": 3
|
|
} |