Remove the HTTP-related panels from dashboard
This commit removes the "HTTP response time", "Number of HTTP responses"
and "HTTP 5xx errors" panels from the Grafana dashboard. These panels
were empty because the Heat logs do not include the required data.
Change-Id: Ia795c4a2192ca5ac36eb8bcdb54da3acce9ea619
diff --git a/heat/files/grafana_influxdb.json b/heat/files/grafana_influxdb.json
index 47f96c2..d611a5e 100644
--- a/heat/files/grafana_influxdb.json
+++ b/heat/files/grafana_influxdb.json
@@ -18,10 +18,10 @@
]
},
"editable": true,
+ "gnetId": null,
"hideControls": false,
"id": null,
"links": [],
- "originalTitle": "Heat",
"refresh": "1m",
"rows": [
{
@@ -52,6 +52,17 @@
"id": 6,
"interval": "> 60s",
"links": [],
+ "mappingType": 1,
+ "mappingTypes": [
+ {
+ "name": "value to text",
+ "value": 1
+ },
+ {
+ "name": "range to text",
+ "value": 2
+ }
+ ],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
@@ -59,6 +70,13 @@
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
+ "rangeMaps": [
+ {
+ "from": "null",
+ "text": "N/A",
+ "to": "null"
+ }
+ ],
"span": 2,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
@@ -163,379 +181,6 @@
"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",
- "fill": "",
- "function": "count",
- "groupBy": [
- {
- "interval": "auto",
- "params": [
- "auto"
- ],
- "type": "time"
- },
- {
- "params": [
- "0"
- ],
- "type": "fill"
- }
- ],
- "groupby_field": "",
- "interval": "",
- "measurement": "openstack_heat_http_response_times",
- "policy": "default",
- "query": "SELECT sum(\"count\") FROM \"openstack_heat_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"
- }
- ],
- "interval": "",
- "measurement": "openstack_heat_http_response_times",
- "policy": "default",
- "query": "SELECT max(\"upper_90\") FROM \"openstack_heat_http_response_times\" WHERE \"hostname\" =~ /$server/ AND \"http_method\" = 'GET' AND $timeFilter GROUP BY time($interval) fill(0)",
- "rawQuery": true,
- "refId": "A",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "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"
- }
- ],
- "interval": "",
- "measurement": "openstack_heat_http_responses",
- "policy": "default",
- "query": "SELECT max(\"upper_90\") FROM \"openstack_heat_http_response_times\" WHERE \"hostname\" =~ /$server/ AND \"http_method\" = 'POST' AND $timeFilter GROUP BY time($interval) fill(0)",
- "rawQuery": true,
- "refId": "B",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "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"
- }
- ],
- "interval": "",
- "measurement": "openstack_heat_http_responses",
- "policy": "default",
- "query": "SELECT max(\"upper_90\") FROM \"openstack_heat_http_response_times\" WHERE \"hostname\" =~ /$server/ AND \"http_method\" = 'PUT' AND $timeFilter GROUP BY time($interval) fill(0)",
- "rawQuery": true,
- "refId": "C",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "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"
- }
- ],
- "interval": "",
- "measurement": "openstack_heat_http_responses",
- "policy": "default",
- "query": "SELECT max(\"upper_90\") FROM \"openstack_heat_http_response_times\" WHERE \"hostname\" =~ /$server/ AND \"http_method\" = 'DELETE' AND $timeFilter GROUP BY time($interval) fill(0)",
- "rawQuery": true,
- "refId": "D",
- "resultFormat": "time_series",
- "select": [
- [
- {
- "params": [
- "value"
- ],
- "type": "field"
- },
- {
- "params": [],
- "type": "mean"
- }
- ]
- ],
- "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,
@@ -569,7 +214,7 @@
"points": false,
"renderer": "flot",
"seriesOverrides": [],
- "span": 4,
+ "span": 10,
"stack": false,
"steppedLine": true,
"targets": [
@@ -633,6 +278,7 @@
"tooltip": {
"msResolution": false,
"shared": false,
+ "sort": 0,
"value_type": "cumulative"
},
"type": "graph",
@@ -656,356 +302,6 @@
"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_heat_http_response_times",
- "policy": "default",
- "query": "SELECT sum(\"count\") FROM \"openstack_heat_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_heat_http_response_times",
- "policy": "default",
- "query": "SELECT sum(\"count\") FROM \"openstack_heat_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_heat_http_response_times",
- "policy": "default",
- "query": "SELECT sum(\"count\") FROM \"openstack_heat_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_heat_http_response_times",
- "policy": "default",
- "query": "SELECT sum(\"count\") FROM \"openstack_heat_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_heat_http_response_times",
- "policy": "default",
- "query": "SELECT sum(\"count\") FROM \"openstack_heat_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,
@@ -1051,6 +347,17 @@
"id": 52,
"interval": "> 60s",
"links": [],
+ "mappingType": 1,
+ "mappingTypes": [
+ {
+ "name": "value to text",
+ "value": 1
+ },
+ {
+ "name": "range to text",
+ "value": 2
+ }
+ ],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
@@ -1058,6 +365,13 @@
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
+ "rangeMaps": [
+ {
+ "from": "null",
+ "text": "N/A",
+ "to": "null"
+ }
+ ],
"span": 2,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
@@ -1160,6 +474,17 @@
"id": 53,
"interval": "> 60s",
"links": [],
+ "mappingType": 1,
+ "mappingTypes": [
+ {
+ "name": "value to text",
+ "value": 1
+ },
+ {
+ "name": "range to text",
+ "value": 2
+ }
+ ],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
@@ -1167,6 +492,13 @@
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
+ "rangeMaps": [
+ {
+ "from": "null",
+ "text": "N/A",
+ "to": "null"
+ }
+ ],
"span": 2,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
@@ -1293,6 +625,17 @@
"id": 59,
"interval": "> 60s",
"links": [],
+ "mappingType": 1,
+ "mappingTypes": [
+ {
+ "name": "value to text",
+ "value": 1
+ },
+ {
+ "name": "range to text",
+ "value": 2
+ }
+ ],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
@@ -1300,6 +643,13 @@
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
+ "rangeMaps": [
+ {
+ "from": "null",
+ "text": "N/A",
+ "to": "null"
+ }
+ ],
"span": 2,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
@@ -1402,6 +752,17 @@
"id": 60,
"interval": "> 60s",
"links": [],
+ "mappingType": 1,
+ "mappingTypes": [
+ {
+ "name": "value to text",
+ "value": 1
+ },
+ {
+ "name": "range to text",
+ "value": 2
+ }
+ ],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
@@ -1409,6 +770,13 @@
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
+ "rangeMaps": [
+ {
+ "from": "null",
+ "text": "N/A",
+ "to": "null"
+ }
+ ],
"span": 2,
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
@@ -1525,20 +893,6 @@
"refresh_on_load": true,
"regex": "",
"type": "query"
- },
- {
- "allFormat": "regex values",
- "current": {},
- "datasource": null,
- "hide": 0,
- "includeAll": true,
- "name": "server",
- "options": [],
- "query": "show tag values from openstack_heat_http_response_times with key = hostname where environment_label =~ /^$environment$/",
- "refresh": 1,
- "refresh_on_load": true,
- "regex": "",
- "type": "query"
}
]
},
@@ -1579,5 +933,5 @@
},
"timezone": "browser",
"title": "Heat",
- "version": 2
-}
+ "version": 3
+}
\ No newline at end of file