From a8011a065b97a36d2dcb03df055c6ebd5a972dbf Mon Sep 17 00:00:00 2001 From: Swann Croiset Date: Wed, 21 Sep 2016 16:11:09 +0200 Subject: [PATCH] Split Nova, Neutron and Cinder status by control/data plane The patch also simplifies the Main dashboard by displaying just service statuses. Depends-On: Ifbafb2deb8547e830d6ee22a7b00600180f2c4a5 Change-Id: I9b317a1fcd7a244e9acc2ae21fecee3557ff53cb --- .../templates/grafana_dashboards/Cinder.json | 136 +- .../templates/grafana_dashboards/Main.json | 2614 +++++------------ .../templates/grafana_dashboards/Neutron.json | 141 +- .../templates/grafana_dashboards/Nova.json | 145 +- 4 files changed, 1107 insertions(+), 1929 deletions(-) diff --git a/deployment_scripts/puppet/modules/lma_monitoring_analytics/templates/grafana_dashboards/Cinder.json b/deployment_scripts/puppet/modules/lma_monitoring_analytics/templates/grafana_dashboards/Cinder.json index d5058ac3..419a0d19 100644 --- a/deployment_scripts/puppet/modules/lma_monitoring_analytics/templates/grafana_dashboards/Cinder.json +++ b/deployment_scripts/puppet/modules/lma_monitoring_analytics/templates/grafana_dashboards/Cinder.json @@ -59,7 +59,7 @@ "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", - "span": 2, + "span": 1, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, @@ -104,21 +104,16 @@ ] ], "tags": [ - { - "key": "environment_label", - "operator": "=", - "value": "$environment" - }, { "key": "cluster_name", "operator": "=", - "value": "cinder" + "value": "cinder-control-plane" } ] } ], "thresholds": "1,3", - "title": "", + "title": "control plane", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ @@ -155,6 +150,127 @@ ], "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 + }, + "id": 74, + "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": [ + "auto" + ], + "type": "time" + } + ], + "groupby_field": "", + "interval": "", + "measurement": "cluster_status", + "policy": "default", + "query": "SELECT last(\"value\") FROM \"cluster_status\" WHERE \"environment_label\" = '$environment' AND \"cluster_name\" = 'cinder' AND $timeFilter GROUP BY time($interval)", + "rawQuery": false, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "value" + ], + "type": "field" + }, + { + "params": [], + "type": "last" + } + ] + ], + "tags": [ + { + "key": "cluster_name", + "operator": "=", + "value": "cinder-data-plane" + } + ] + } + ], + "thresholds": "1,3", + "title": "data plane", + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "n/a", + "value": "null" + }, + { + "op": "=", + "text": "OKAY", + "value": "0" + }, + { + "op": "=", + "text": "WARN", + "value": "1" + }, + { + "op": "=", + "text": "UNKN", + "value": "2" + }, + { + "op": "=", + "text": "CRIT", + "value": "3" + }, + { + "op": "=", + "text": "DOWN", + "value": "4" + } + ], + "valueName": "current" + }, { "cacheTimeout": null, "colorBackground": false, @@ -5036,5 +5152,5 @@ }, "timezone": "browser", "title": "Cinder", - "version": 2 -} + "version": 4 +} \ No newline at end of file diff --git a/deployment_scripts/puppet/modules/lma_monitoring_analytics/templates/grafana_dashboards/Main.json b/deployment_scripts/puppet/modules/lma_monitoring_analytics/templates/grafana_dashboards/Main.json index e3faa63a..01d52c10 100644 --- a/deployment_scripts/puppet/modules/lma_monitoring_analytics/templates/grafana_dashboards/Main.json +++ b/deployment_scripts/puppet/modules/lma_monitoring_analytics/templates/grafana_dashboards/Main.json @@ -14,146 +14,6 @@ "editable": true, "height": "250px", "panels": [ - { - "cacheTimeout": null, - "colorBackground": true, - "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": 1, - "interval": "> 60s", - "links": [ - { - "dashboard": "Cinder", - "name": "Drilldown dashboard", - "title": "Cinder", - "type": "dashboard" - } - ], - "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 \"cluster_name\" = 'cinder' 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": "cluster_name", - "operator": "=", - "value": "cinder" - } - ] - } - ], - "thresholds": "1,3", - "title": "Cinder", - "type": "singlestat", - "valueFontSize": "50%", - "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, @@ -191,7 +51,7 @@ "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", - "span": 1, + "span": 2, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, @@ -331,7 +191,7 @@ "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", - "span": 1, + "span": 2, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, @@ -471,7 +331,7 @@ "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", - "span": 1, + "span": 2, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, @@ -611,7 +471,7 @@ "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", - "span": 1, + "span": 2, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, @@ -663,15 +523,10 @@ ] ], "tags": [ - { - "key": "environment_label", - "operator": "=", - "value": "$environment" - }, { "key": "cluster_name", "operator": "=", - "value": "neutron" + "value": "neutron-control-plane" } ] } @@ -751,7 +606,7 @@ "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", - "span": 1, + "span": 2, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, @@ -803,15 +658,10 @@ ] ], "tags": [ - { - "key": "environment_label", - "operator": "=", - "value": "$environment" - }, { "key": "cluster_name", "operator": "=", - "value": "nova" + "value": "nova-control-plane" } ] } @@ -855,17 +705,686 @@ "valueName": "current" }, { - "content": "", + "cacheTimeout": null, + "colorBackground": true, + "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, - "id": 20, - "links": [], - "mode": "markdown", - "span": 1, - "style": {}, - "title": "", - "type": "text" + "format": "none", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "id": 1, + "interval": "> 60s", + "links": [ + { + "dashboard": "Cinder", + "name": "Drilldown dashboard", + "title": "Cinder", + "type": "dashboard" + } + ], + "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", + "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 \"cluster_name\" = 'cinder' 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": "cinder-control-plane" + } + ] + } + ], + "thresholds": "1,3", + "title": "Cinder", + "type": "singlestat", + "valueFontSize": "50%", + "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" + } + ], + "showTitle": true, + "title": "OpenStack Control Plane" + }, + { + "collapse": false, + "editable": true, + "height": "250px", + "panels": [ + { + "cacheTimeout": null, + "colorBackground": true, + "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": 27, + "interval": "> 60s", + "links": [ + { + "dashboard": "Neutron", + "name": "Drilldown dashboard", + "title": "Neutron", + "type": "dashboard" + } + ], + "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", + "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 \"cluster_name\" = 'neutron' 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": "neutron-data-plane" + } + ] + } + ], + "thresholds": "1,3", + "title": "Neutron", + "type": "singlestat", + "valueFontSize": "50%", + "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(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": 28, + "interval": "> 60s", + "links": [ + { + "dashboard": "Nova", + "name": "Drilldown dashboard", + "title": "Nova", + "type": "dashboard" + } + ], + "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", + "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 \"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": "Nova", + "type": "singlestat", + "valueFontSize": "50%", + "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(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": 8, + "interval": ">60s", + "links": [ + { + "dashboard": "Ceph", + "name": "Drilldown dashboard", + "title": "Ceph", + "type": "dashboard" + } + ], + "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": "ceph_health", + "policy": "default", + "query": "SELECT last(\"value\") FROM \"ceph_health\" WHERE $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": "2,3", + "title": "Ceph cluster", + "type": "singlestat", + "valueFontSize": "50%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + }, + { + "op": "=", + "text": "OKAY", + "value": "1" + }, + { + "op": "=", + "text": "WARN", + "value": "2" + }, + { + "op": "=", + "text": "FAIL", + "value": "3" + } + ], + "valueName": "current" + }, + { + "cacheTimeout": null, + "colorBackground": true, + "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": 30, + "interval": "> 60s", + "links": [ + { + "dashUri": "db/cinder", + "dashboard": "Cinder", + "name": "Drilldown dashboard", + "title": "Cinder", + "type": "dashboard" + } + ], + "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", + "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 \"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": "cinder-data-plane" + } + ] + } + ], + "thresholds": "1,3", + "title": "Cinder", + "type": "singlestat", + "valueFontSize": "50%", + "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" + } + ], + "showTitle": true, + "title": "OpenStack Data Plane" + }, + { + "collapse": false, + "editable": true, + "height": "250px", + "panels": [ { "cacheTimeout": null, "colorBackground": true, @@ -903,7 +1422,7 @@ "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", - "span": 1, + "span": 2, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, @@ -1041,7 +1560,7 @@ "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", - "span": 1, + "span": 2, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, @@ -1180,7 +1699,7 @@ "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", - "span": 1, + "span": 2, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, @@ -1319,7 +1838,7 @@ "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", - "span": 1, + "span": 2, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, @@ -1458,7 +1977,7 @@ "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", - "span": 1, + "span": 2, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, @@ -1558,1304 +2077,7 @@ } ], "valueName": "current" - } - ], - "showTitle": true, - "title": "OpenStack Services" - }, - { - "collapse": false, - "editable": true, - "height": "250px", - "panels": [ - { - "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": 11, - "interval": "> 60s", - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "span": 4, - "stack": false, - "steppedLine": false, - "targets": [ - { - "alias": "free", - "column": "value", - "dsType": "influxdb", - "function": "min", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "0" - ], - "type": "fill" - } - ], - "groupByTags": [], - "measurement": "openstack_nova_total_free_vcpus", - "policy": "default", - "query": "SELECT min(\"value\") FROM \"openstack_nova_total_free_vcpus\" WHERE $timeFilter GROUP BY time($interval) fill(0)", - "rawQuery": false, - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "min" - } - ] - ], - "tags": [ - { - "key": "environment_label", - "operator": "=", - "value": "$environment" - } - ] - }, - { - "alias": "used", - "column": "value", - "dsType": "influxdb", - "function": "max", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "0" - ], - "type": "fill" - } - ], - "groupByTags": [], - "measurement": "openstack_nova_total_used_vcpus", - "policy": "default", - "query": "SELECT max(\"value\") FROM \"openstack_nova_total_used_vcpus\" WHERE $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" - } - ] - } - ], - "timeFrom": null, - "timeShift": null, - "title": "Number of VCPUs", - "tooltip": { - "msResolution": false, - "shared": true, - "value_type": "cumulative" - }, - "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 - } - ] }, - { - "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": 12, - "interval": "> 60s", - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "span": 4, - "stack": false, - "steppedLine": false, - "targets": [ - { - "alias": "free", - "column": "value", - "dsType": "influxdb", - "function": "mean", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "0" - ], - "type": "fill" - } - ], - "groupByTags": [], - "measurement": "openstack_nova_total_free_ram", - "policy": "default", - "query": "SELECT mean(\"value\") FROM \"openstack_nova_total_free_ram\" WHERE $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": "used", - "column": "value", - "dsType": "influxdb", - "function": "mean", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "0" - ], - "type": "fill" - } - ], - "groupByTags": [], - "measurement": "openstack_nova_total_used_ram", - "policy": "default", - "query": "SELECT mean(\"value\") FROM \"openstack_nova_total_used_ram\" WHERE $timeFilter GROUP BY time($interval) fill(0)", - "rawQuery": false, - "refId": "B", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [ - { - "key": "environment_label", - "operator": "=", - "value": "$environment" - } - ] - } - ], - "timeFrom": null, - "timeShift": null, - "title": "RAM", - "tooltip": { - "msResolution": false, - "shared": true, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "show": true - }, - "yaxes": [ - { - "format": "mbytes", - "label": "", - "logBase": 1, - "max": null, - "min": 0, - "show": true - }, - { - "format": "short", - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] - }, - { - "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": 13, - "interval": "> 60s", - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "span": 4, - "stack": false, - "steppedLine": false, - "targets": [ - { - "alias": "free", - "column": "value", - "dsType": "influxdb", - "function": "mean", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "0" - ], - "type": "fill" - } - ], - "groupByTags": [], - "measurement": "openstack_nova_total_free_disk", - "policy": "default", - "query": "SELECT min(\"value\") FROM \"openstack_nova_total_free_disk\" WHERE $timeFilter GROUP BY time($interval) fill(0)", - "rawQuery": false, - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "min" - } - ] - ], - "tags": [ - { - "key": "environment_label", - "operator": "=", - "value": "$environment" - } - ] - }, - { - "alias": "used", - "column": "value", - "dsType": "influxdb", - "function": "mean", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "0" - ], - "type": "fill" - } - ], - "groupByTags": [], - "measurement": "openstack_nova_total_used_disk", - "policy": "default", - "query": "SELECT mean(\"value\") FROM \"openstack_nova_total_used_disk\" WHERE $timeFilter GROUP BY time($interval) fill(0)", - "rawQuery": false, - "refId": "B", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [ - { - "key": "environment_label", - "operator": "=", - "value": "$environment" - } - ] - } - ], - "timeFrom": null, - "timeShift": null, - "title": "Disk", - "tooltip": { - "msResolution": false, - "shared": true, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "show": true - }, - "yaxes": [ - { - "format": "gbytes", - "logBase": 1, - "max": null, - "min": 0, - "show": true - }, - { - "format": "short", - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] - } - ], - "showTitle": true, - "title": "Virtual compute resources" - }, - { - "collapse": false, - "editable": true, - "height": "250px", - "panels": [ - { - "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": 19, - "interval": ">60s", - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "connected", - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "span": 5, - "stack": false, - "steppedLine": false, - "targets": [ - { - "alias": "user", - "column": "value", - "dsType": "influxdb", - "function": "mean", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "0" - ], - "type": "fill" - } - ], - "groupByTags": [], - "measurement": "cpu_user", - "policy": "default", - "query": "SELECT mean(\"value\") FROM \"cpu_user\" WHERE \"hostname\" = '$controller' 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": "hostname", - "value": "$controller" - } - ] - }, - { - "alias": "idle", - "column": "value", - "dsType": "influxdb", - "function": "mean", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "0" - ], - "type": "fill" - } - ], - "groupByTags": [], - "measurement": "cpu_idle", - "policy": "default", - "query": "SELECT mean(\"value\") FROM \"cpu_idle\" WHERE \"hostname\" = '$controller' AND $timeFilter GROUP BY time($interval) fill(0)", - "rawQuery": false, - "refId": "B", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [ - { - "key": "hostname", - "value": "$controller" - } - ], - "target": "" - }, - { - "alias": "interrupt", - "column": "value", - "dsType": "influxdb", - "function": "mean", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "0" - ], - "type": "fill" - } - ], - "groupByTags": [], - "measurement": "cpu_interrupt", - "policy": "default", - "query": "SELECT mean(\"value\") FROM \"cpu_interrupt\" WHERE \"hostname\" = '$controller' AND $timeFilter GROUP BY time($interval) fill(0)", - "rawQuery": false, - "refId": "C", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [ - { - "key": "hostname", - "value": "$controller" - } - ], - "target": "" - }, - { - "alias": "nice", - "column": "value", - "dsType": "influxdb", - "function": "mean", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "0" - ], - "type": "fill" - } - ], - "groupByTags": [], - "measurement": "cpu_nice", - "policy": "default", - "query": "SELECT mean(\"value\") FROM \"cpu_nice\" WHERE \"hostname\" = '$controller' AND $timeFilter GROUP BY time($interval) fill(0)", - "rawQuery": false, - "refId": "D", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [ - { - "key": "hostname", - "value": "$controller" - } - ], - "target": "" - }, - { - "alias": "system", - "column": "value", - "dsType": "influxdb", - "function": "mean", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "0" - ], - "type": "fill" - } - ], - "groupByTags": [], - "measurement": "cpu_system", - "policy": "default", - "query": "SELECT mean(\"value\") FROM \"cpu_system\" WHERE \"hostname\" = '$controller' AND $timeFilter GROUP BY time($interval) fill(0)", - "rawQuery": false, - "refId": "E", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [ - { - "key": "hostname", - "value": "$controller" - } - ], - "target": "" - }, - { - "alias": "steal", - "column": "value", - "dsType": "influxdb", - "function": "mean", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "0" - ], - "type": "fill" - } - ], - "groupByTags": [], - "measurement": "cpu_steal", - "policy": "default", - "query": "SELECT mean(\"value\") FROM \"cpu_steal\" WHERE \"hostname\" = '$controller' AND $timeFilter GROUP BY time($interval) fill(0)", - "rawQuery": false, - "refId": "F", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [ - { - "key": "hostname", - "value": "$controller" - } - ], - "target": "" - }, - { - "alias": "wait", - "column": "value", - "dsType": "influxdb", - "function": "mean", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "0" - ], - "type": "fill" - } - ], - "groupByTags": [], - "measurement": "cpu_wait", - "policy": "default", - "query": "SELECT mean(\"value\") FROM \"cpu_wait\" WHERE \"hostname\" = '$controller' AND $timeFilter GROUP BY time($interval) fill(0)", - "rawQuery": false, - "refId": "G", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [ - { - "key": "hostname", - "value": "$controller" - } - ], - "target": "" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "CPU on $controller", - "tooltip": { - "msResolution": false, - "shared": true, - "value_type": "cumulative" - }, - "type": "graph", - "xaxis": { - "show": true - }, - "yaxes": [ - { - "format": "percent", - "logBase": 1, - "max": 100, - "min": null, - "show": true - }, - { - "format": "short", - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] - }, - { - "aliasColors": {}, - "annotate": { - "enable": false - }, - "bars": false, - "datasource": null, - "fill": 1, - "grid": { - "max": null, - "min": null, - "threshold1": null, - "threshold1Color": "rgba(216, 200, 27, 0.27)", - "threshold2": null, - "threshold2Color": "rgba(234, 112, 112, 0.22)" - }, - "id": 21, - "interactive": true, - "interval": ">60s", - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "legend_counts": true, - "lines": true, - "linewidth": 2, - "links": [], - "nullPointMode": "connected", - "options": false, - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "resolution": 100, - "scale": 1, - "seriesOverrides": [], - "span": 5, - "spyable": true, - "stack": true, - "steppedLine": false, - "targets": [ - { - "alias": "used", - "column": "value", - "dsType": "influxdb", - "function": "mean", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "0" - ], - "type": "fill" - } - ], - "groupByTags": [], - "interval": "", - "measurement": "memory_used", - "policy": "default", - "query": "SELECT mean(\"value\") FROM \"memory_used\" WHERE \"hostname\" = '$controller' 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": "hostname", - "value": "$controller" - } - ], - "target": "randomWalk('random walk')" - }, - { - "alias": "buffered", - "column": "value", - "dsType": "influxdb", - "function": "mean", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "0" - ], - "type": "fill" - } - ], - "groupByTags": [], - "interval": "", - "measurement": "memory_buffered", - "policy": "default", - "query": "SELECT mean(\"value\") FROM \"memory_buffered\" WHERE \"hostname\" = '$controller' AND $timeFilter GROUP BY time($interval) fill(0)", - "rawQuery": false, - "refId": "B", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [ - { - "key": "hostname", - "value": "$controller" - } - ], - "target": "" - }, - { - "alias": "cached", - "column": "value", - "dsType": "influxdb", - "function": "mean", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "0" - ], - "type": "fill" - } - ], - "groupByTags": [], - "interval": "", - "measurement": "memory_cached", - "policy": "default", - "query": "SELECT mean(\"value\") FROM \"memory_cached\" WHERE \"hostname\" = '$controller' AND $timeFilter GROUP BY time($interval) fill(0)", - "rawQuery": false, - "refId": "C", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [ - { - "key": "hostname", - "value": "$controller" - } - ], - "target": "" - }, - { - "alias": "free", - "column": "value", - "dsType": "influxdb", - "function": "mean", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "0" - ], - "type": "fill" - } - ], - "groupByTags": [], - "interval": "", - "measurement": "memory_free", - "policy": "default", - "query": "SELECT mean(\"value\") FROM \"memory_free\" WHERE \"hostname\" = '$controller' AND $timeFilter GROUP BY time($interval) fill(0)", - "rawQuery": false, - "refId": "D", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [ - { - "key": "hostname", - "value": "$controller" - } - ], - "target": "" - } - ], - "timeFrom": null, - "timeShift": null, - "timezone": "browser", - "title": "Memory on $controller", - "tooltip": { - "msResolution": false, - "query_as_alias": true, - "shared": true, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "show": true - }, - "yaxes": [ - { - "format": "bytes", - "label": "", - "logBase": 1, - "max": null, - "min": 0, - "show": true - }, - { - "format": "short", - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ] - }, - { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": true, - "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": "percent", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "id": 22, - "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", - "function": "mean", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "groupByTags": [], - "measurement": "fs_space_percent_free", - "policy": "default", - "query": "SELECT last(value) FROM \"fs_space_percent_free\" WHERE \"hostname\" = '$controller' AND \"fs\" = '/' AND $timeFilter AND \"environment_label\" = '$environment'GROUP BY time($interval)", - "rawQuery": true, - "refId": "A", - "resultFormat": "time_series", - "select": [ - [ - { - "params": [ - "value" - ], - "type": "field" - }, - { - "params": [], - "type": "mean" - } - ] - ], - "tags": [ - { - "key": "hostname", - "value": "$controller" - }, - { - "condition": "AND", - "key": "fs", - "value": "/" - } - ] - } - ], - "thresholds": "10,15", - "title": "Disk space on $controller", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "current" - } - ], - "showTitle": true, - "title": "System" - }, - { - "collapse": false, - "editable": true, - "height": "250px", - "panels": [ { "cacheTimeout": null, "colorBackground": true, @@ -2868,7 +2090,7 @@ "datasource": null, "editable": true, "error": false, - "format": "none", + "format": "short", "gauge": { "maxValue": 100, "minValue": 0, @@ -2876,16 +2098,9 @@ "thresholdLabels": false, "thresholdMarkers": true }, - "id": 8, + "id": 29, "interval": ">60s", - "links": [ - { - "dashboard": "Ceph", - "name": "Drilldown dashboard", - "title": "Ceph", - "type": "dashboard" - } - ], + "links": [], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, @@ -2921,9 +2136,10 @@ } ], "groupByTags": [], - "measurement": "ceph_health", + "interval": "", + "measurement": "cluster_status", "policy": "default", - "query": "SELECT last(\"value\") FROM \"ceph_health\" WHERE $timeFilter GROUP BY time($interval) fill(null)", + "query": "SELECT last(\"value\") FROM \"cluster_status\" WHERE \"cluster_name\" = 'memcached' AND $timeFilter GROUP BY time($interval) fill(null)", "rawQuery": false, "refId": "A", "resultFormat": "time_series", @@ -2943,442 +2159,54 @@ ], "tags": [ { - "key": "environment_label", + "key": "cluster_name", "operator": "=", - "value": "$environment" + "value": "pacemaker" } ] } ], - "thresholds": "2,3", - "title": "Cluster", + "thresholds": "1,3", + "title": "pacemaker", "type": "singlestat", - "valueFontSize": "80%", + "valueFontSize": "50%", "valueMaps": [ { "op": "=", - "text": "N/A", + "text": "no data", "value": "null" }, { "op": "=", "text": "OKAY", - "value": "1" + "value": "0" }, { "op": "=", "text": "WARN", + "value": "1" + }, + { + "op": "=", + "text": "UNKW", "value": "2" }, { "op": "=", - "text": "FAIL", + "text": "CRIT", "value": "3" - } - ], - "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": "percent", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "id": 9, - "interval": ">60s", - "links": [], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "postfix": " free", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "span": 3, - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": true, - "lineColor": "rgb(31, 120, 193)", - "show": true - }, - "targets": [ - { - "alias": "", - "column": "value", - "dsType": "influxdb", - "function": "mean", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "groupByTags": [], - "interval": "", - "measurement": "ceph_pool_total_percent_free", - "policy": "default", - "query": "SELECT mean(\"value\") FROM \"ceph_pool_total_percent_free\" WHERE $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": "Capacity", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ + }, { "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "current" - }, - { - "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": "short", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "id": 26, - "interval": ">60s", - "links": [], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "postfix": " objects", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "span": 3, - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": true - }, - "targets": [ - { - "column": "value", - "dsType": "influxdb", - "function": "sum", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "groupByTags": [], - "measurement": "ceph_objects_count", - "policy": "default", - "query": "SELECT last(\"value\") FROM \"ceph_objects_count\" WHERE $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": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "id": 24, - "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", - "function": "last", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "groupByTags": [], - "measurement": "ceph_osd_count_up", - "policy": "default", - "query": "SELECT last(\"value\") FROM \"ceph_osd_count_up\" WHERE $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": "OSDs up", - "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": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "id": 25, - "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", - "function": "last", - "groupBy": [ - { - "params": [ - "$interval" - ], - "type": "time" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], - "groupByTags": [], - "measurement": "ceph_osd_count_down", - "policy": "default", - "query": "SELECT last(\"value\") FROM \"ceph_osd_count_down\" WHERE $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": "OSDs down", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" + "text": "DOWN", + "value": "4" } ], "valueName": "current" } ], "showTitle": true, - "title": "Ceph" + "title": "Middleware" } ], "schemaVersion": 12, @@ -3401,20 +2229,6 @@ "refresh_on_load": true, "regex": "", "type": "query" - }, - { - "allFormat": "regex values", - "current": {}, - "datasource": null, - "hide": 0, - "includeAll": false, - "name": "controller", - "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" } ] }, @@ -3455,5 +2269,5 @@ }, "timezone": "browser", "title": "Main", - "version": 2 -} + "version": 8 +} \ No newline at end of file diff --git a/deployment_scripts/puppet/modules/lma_monitoring_analytics/templates/grafana_dashboards/Neutron.json b/deployment_scripts/puppet/modules/lma_monitoring_analytics/templates/grafana_dashboards/Neutron.json index 019855e1..c12ddd81 100644 --- a/deployment_scripts/puppet/modules/lma_monitoring_analytics/templates/grafana_dashboards/Neutron.json +++ b/deployment_scripts/puppet/modules/lma_monitoring_analytics/templates/grafana_dashboards/Neutron.json @@ -59,7 +59,7 @@ "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", - "span": 2, + "span": 1, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, @@ -111,21 +111,144 @@ ] ], "tags": [ - { - "key": "environment_label", - "operator": "=", - "value": "$environment" - }, { "key": "cluster_name", "operator": "=", - "value": "neutron" + "value": "neutron-control-plane" } ] } ], "thresholds": "1,3", - "title": "", + "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": "UNKN", + "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 + }, + "id": 62, + "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\" = 'neutron' 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": "neutron-data-plane" + } + ] + } + ], + "thresholds": "1,3", + "title": "data plane", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ @@ -4252,5 +4375,5 @@ }, "timezone": "browser", "title": "Neutron", - "version": 2 + "version": 3 } \ No newline at end of file diff --git a/deployment_scripts/puppet/modules/lma_monitoring_analytics/templates/grafana_dashboards/Nova.json b/deployment_scripts/puppet/modules/lma_monitoring_analytics/templates/grafana_dashboards/Nova.json index 8d042263..a217703e 100644 --- a/deployment_scripts/puppet/modules/lma_monitoring_analytics/templates/grafana_dashboards/Nova.json +++ b/deployment_scripts/puppet/modules/lma_monitoring_analytics/templates/grafana_dashboards/Nova.json @@ -49,6 +49,7 @@ "thresholdLabels": false, "thresholdMarkers": true }, + "height": "", "id": 6, "interval": "> 60s", "links": [], @@ -59,7 +60,7 @@ "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", - "span": 2, + "span": 1, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, @@ -111,21 +112,145 @@ ] ], "tags": [ - { - "key": "environment_label", - "operator": "=", - "value": "$environment" - }, { "key": "cluster_name", "operator": "=", - "value": "nova" + "value": "nova-control-plane" } ] } ], "thresholds": "1,3", - "title": "", + "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": [ @@ -5415,5 +5540,5 @@ }, "timezone": "browser", "title": "Nova", - "version": 2 -} + "version": 3 +} \ No newline at end of file