From b2d40ba59f59983e094bc997708c0bfe04557731 Mon Sep 17 00:00:00 2001 From: Pierre-Yves B Date: Thu, 20 May 2021 08:34:25 +0100 Subject: [PATCH] Remove rate-limiting panel Related to https://github.com/badges/shields/pull/6513 --- grafana/dashboards/services.json | 208 +++++++++++++------------------ 1 file changed, 84 insertions(+), 124 deletions(-) diff --git a/grafana/dashboards/services.json b/grafana/dashboards/services.json index d2197a5..b5ab963 100644 --- a/grafana/dashboards/services.json +++ b/grafana/dashboards/services.json @@ -16,7 +16,7 @@ "editable": true, "gnetId": null, "graphTooltip": 0, - "iteration": 1588179453803, + "iteration": 1621495849242, "links": [], "panels": [ { @@ -42,6 +42,10 @@ "threshold": "" }, "datasource": null, + "fieldConfig": { + "defaults": {}, + "overrides": [] + }, "fontSize": "80%", "format": "short", "gridPos": { @@ -84,6 +88,10 @@ { "columns": [], "datasource": null, + "fieldConfig": { + "defaults": {}, + "overrides": [] + }, "fontSize": "100%", "gridPos": { "h": 9, @@ -139,7 +147,7 @@ "timeFrom": null, "title": "All the individual services", "transform": "timeseries_to_rows", - "type": "table" + "type": "table-old" }, { "aliasColors": {}, @@ -150,6 +158,10 @@ "threshold": "" }, "datasource": null, + "fieldConfig": { + "defaults": {}, + "overrides": [] + }, "fontSize": "80%", "format": "short", "gridPos": { @@ -192,6 +204,10 @@ { "columns": [], "datasource": null, + "fieldConfig": { + "defaults": {}, + "overrides": [] + }, "fontSize": "100%", "gridPos": { "h": 9, @@ -247,7 +263,7 @@ "timeFrom": null, "title": "All the services families", "transform": "timeseries_to_rows", - "type": "table" + "type": "table-old" }, { "aliasColors": {}, @@ -258,6 +274,10 @@ "threshold": 0 }, "datasource": null, + "fieldConfig": { + "defaults": {}, + "overrides": [] + }, "fontSize": "80%", "format": "short", "gridPos": { @@ -308,6 +328,10 @@ "threshold": "" }, "datasource": null, + "fieldConfig": { + "defaults": {}, + "overrides": [] + }, "fontSize": "80%", "format": "short", "gridPos": { @@ -353,6 +377,12 @@ "dashLength": 10, "dashes": false, "datasource": null, + "fieldConfig": { + "defaults": { + "links": [] + }, + "overrides": [] + }, "fill": 1, "fillGradient": 0, "gridPos": { @@ -378,10 +408,11 @@ "links": [], "nullPointMode": "null", "options": { - "dataLinks": [] + "alertThreshold": true }, "paceLength": 10, "percentage": false, + "pluginVersion": "7.5.6", "pointradius": 5, "points": false, "renderer": "flot", @@ -446,6 +477,12 @@ "dashLength": 10, "dashes": false, "datasource": null, + "fieldConfig": { + "defaults": { + "links": [] + }, + "overrides": [] + }, "fill": 1, "fillGradient": 0, "gridPos": { @@ -472,10 +509,11 @@ "links": [], "nullPointMode": "null", "options": { - "dataLinks": [] + "alertThreshold": true }, "paceLength": 10, "percentage": false, + "pluginVersion": "7.5.6", "pointradius": 5, "points": false, "renderer": "flot", @@ -555,6 +593,12 @@ "dashLength": 10, "dashes": false, "datasource": null, + "fieldConfig": { + "defaults": { + "links": [] + }, + "overrides": [] + }, "fill": 1, "fillGradient": 0, "gridPos": { @@ -579,9 +623,10 @@ "links": [], "nullPointMode": "null", "options": { - "dataLinks": [] + "alertThreshold": true }, "percentage": false, + "pluginVersion": "7.5.6", "pointradius": 2, "points": false, "renderer": "flot", @@ -667,6 +712,10 @@ }, "dataFormat": "tsbuckets", "datasource": null, + "fieldConfig": { + "defaults": {}, + "overrides": [] + }, "gridPos": { "h": 9, "w": 12, @@ -729,6 +778,10 @@ }, "datasource": null, "description": "", + "fieldConfig": { + "defaults": {}, + "overrides": [] + }, "fontSize": "80%", "format": "short", "gridPos": { @@ -782,6 +835,10 @@ }, "datasource": null, "description": "", + "fieldConfig": { + "defaults": {}, + "overrides": [] + }, "fontSize": "80%", "format": "short", "gridPos": { @@ -834,6 +891,10 @@ }, "datasource": null, "description": "", + "fieldConfig": { + "defaults": {}, + "overrides": [] + }, "fontSize": "80%", "format": "short", "gridPos": { @@ -886,6 +947,10 @@ }, "datasource": null, "description": "", + "fieldConfig": { + "defaults": {}, + "overrides": [] + }, "fontSize": "80%", "format": "short", "gridPos": { @@ -927,118 +992,10 @@ "title": "Service response size in bytes (dynamic YAML)", "type": "grafana-piechart-panel", "valueName": "current" - }, - { - "collapsed": false, - "datasource": null, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 75 - }, - "id": 25, - "panels": [], - "title": "Rate limit", - "type": "row" - }, - { - "aliasColors": {}, - "bars": false, - "cacheTimeout": null, - "dashLength": 10, - "dashes": false, - "datasource": null, - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 9, - "w": 12, - "x": 0, - "y": 76 - }, - "hiddenSeries": false, - "id": 17, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "rightSide": false, - "show": true, - "sort": "max", - "sortDesc": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "irate(rate_limit_exceeded_total{env=~\"$env\"}[1m])", - "interval": "", - "legendFormat": "{{rate_limit_type}} - {{instance}}", - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Rate limit exceeded request per-second rate", - "tooltip": { - "shared": true, - "sort": 2, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } } ], "refresh": false, - "schemaVersion": 22, + "schemaVersion": 27, "style": "dark", "tags": [], "templating": { @@ -1046,22 +1003,28 @@ { "allValue": null, "current": { - "tags": [], - "text": "shields-production", + "selected": true, + "text": [ + "shields-production" + ], "value": [ "shields-production" ] }, "datasource": "Prometheus-default", "definition": "label_values(env)", + "description": null, + "error": null, "hide": 0, "includeAll": true, - "index": -1, "label": null, "multi": true, "name": "env", "options": [], - "query": "label_values(env)", + "query": { + "query": "label_values(env)", + "refId": "Prometheus-default-env-Variable-Query" + }, "refresh": 2, "regex": "", "skipUrlSync": false, @@ -1106,8 +1069,5 @@ "timezone": "utc", "title": "services", "uid": "aESRBSjmz", - "variables": { - "list": [] - }, - "version": 16 -} \ No newline at end of file + "version": 17 +}