infra/k8s/helm/monitoring-stack/cm-ambassador-dashnnoard.yaml (2,657 lines of code) (raw):

apiVersion: v1 kind: ConfigMap metadata: name: ambassador-dashboard namespace: default labels: grafana_dashboard: "1" # prometheus: my-value release: kps data: ambassador-dashboard.json: |- { "annotations": { "list": [ { "builtIn": 1, "datasource": "VictoriaMetrics", "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" } ] }, "description": "Ambassador dashboard for Prometheus", "editable": true, "fiscalYearStartMonth": 0, "gnetId": 10850, "graphTooltip": 0, "iteration": 1643626701911, "links": [], "liveNow": false, "panels": [ { "fieldConfig": { "defaults": { "color": { "fixedColor": "rgb(31, 120, 193)", "mode": "fixed" }, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 2, "w": 3, "x": 0, "y": 0 }, "id": 49, "links": [], "maxDataPoints": 100, "options": { "colorMode": "none", "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "8.3.3", "targets": [ { "expr": "sum(increase(envoy_http_downstream_cx_total{envoy_http_conn_manager_prefix!=\"admin\"}[1m]))", "format": "time_series", "intervalFactor": 1, "refId": "A" } ], "title": "Ingress CX p/Min", "type": "stat" }, { "fieldConfig": { "defaults": { "color": { "fixedColor": "rgb(31, 120, 193)", "mode": "fixed" }, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 2, "w": 3, "x": 3, "y": 0 }, "id": 48, "links": [], "maxDataPoints": 100, "options": { "colorMode": "none", "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "8.3.3", "targets": [ { "expr": "sum(envoy_http_downstream_cx_ssl_active)-sum(envoy_cluster_upstream_cx_active)", "format": "time_series", "intervalFactor": 1, "refId": "A" } ], "title": "HTTP Connections", "type": "stat" }, { "fieldConfig": { "defaults": { "color": { "fixedColor": "rgb(31, 120, 193)", "mode": "fixed" }, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 2, "w": 3, "x": 6, "y": 0 }, "id": 47, "links": [], "maxDataPoints": 100, "options": { "colorMode": "none", "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "8.3.3", "targets": [ { "expr": "sum(envoy_http_downstream_cx_ssl_active{envoy_http_conn_manager_prefix!=\"admin\"})", "format": "time_series", "intervalFactor": 1, "refId": "A" } ], "title": "HTTPS Connections", "type": "stat" }, { "fieldConfig": { "defaults": { "color": { "fixedColor": "rgb(31, 120, 193)", "mode": "fixed" }, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 2, "w": 3, "x": 9, "y": 0 }, "id": 32, "links": [], "maxDataPoints": 100, "options": { "colorMode": "none", "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "8.3.3", "targets": [ { "expr": "sum(increase(envoy_http_downstream_rq_xx{envoy_response_code_class=\"4\"}[1m]))", "format": "time_series", "intervalFactor": 1, "refId": "A" } ], "title": "2xx Per Min", "type": "stat" }, { "fieldConfig": { "defaults": { "color": { "fixedColor": "rgb(31, 120, 193)", "mode": "fixed" }, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 2, "w": 3, "x": 12, "y": 0 }, "id": 44, "links": [], "maxDataPoints": 100, "options": { "colorMode": "none", "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "8.3.3", "targets": [ { "expr": "sum(increase(envoy_http_downstream_rq_xx{envoy_response_code_class=\"4\"}[1m]))", "format": "time_series", "intervalFactor": 1, "refId": "A" } ], "title": "4xx Per Min", "type": "stat" }, { "fieldConfig": { "defaults": { "color": { "fixedColor": "rgb(31, 120, 193)", "mode": "fixed" }, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 2, "w": 3, "x": 15, "y": 0 }, "id": 56, "links": [], "maxDataPoints": 100, "options": { "colorMode": "none", "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "8.3.3", "targets": [ { "datasource": { "type": "prometheus", "uid": "P4169E866C3094E38" }, "exemplar": true, "expr": "sum(increase(ambassador_edge_stack_promhttp_metric_handler_requests_total{code=\"503\"}[1m]))", "format": "time_series", "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "title": "503 Per Min", "type": "stat" }, { "fieldConfig": { "defaults": { "color": { "fixedColor": "rgb(31, 120, 193)", "mode": "fixed" }, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 2, "w": 3, "x": 18, "y": 0 }, "id": 58, "links": [], "maxDataPoints": 100, "options": { "colorMode": "none", "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "8.3.3", "targets": [ { "datasource": { "type": "prometheus", "uid": "P4169E866C3094E38" }, "exemplar": true, "expr": "sum(increase(ambassador_edge_stack_promhttp_metric_handler_requests_total{code=\"200\"}[1m]))", "format": "time_series", "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "title": "200 Per Min", "type": "stat" }, { "fieldConfig": { "defaults": { "color": { "fixedColor": "rgb(31, 120, 193)", "mode": "fixed" }, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "decbytes" }, "overrides": [] }, "gridPos": { "h": 2, "w": 3, "x": 0, "y": 2 }, "id": 42, "links": [], "maxDataPoints": 100, "options": { "colorMode": "none", "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "8.3.3", "targets": [ { "expr": "sum(envoy_cluster_upstream_cx_rx_bytes_total{envoy_cluster_name!~\"(xds_cluster|cluster_127_0_0_1_8877)\"})", "format": "time_series", "intervalFactor": 1, "refId": "A" } ], "title": "Upstream RX Data", "type": "stat" }, { "fieldConfig": { "defaults": { "color": { "fixedColor": "rgb(31, 120, 193)", "mode": "fixed" }, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "decbytes" }, "overrides": [] }, "gridPos": { "h": 2, "w": 3, "x": 3, "y": 2 }, "id": 52, "links": [], "maxDataPoints": 100, "options": { "colorMode": "none", "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "8.3.3", "targets": [ { "expr": "sum(envoy_cluster_upstream_cx_tx_bytes_total{envoy_cluster_name!~\"(xds_cluster|cluster_127_0_0_1_8877)\"})", "format": "time_series", "intervalFactor": 1, "refId": "A" } ], "title": "Upstream TX Data", "type": "stat" }, { "fieldConfig": { "defaults": { "color": { "fixedColor": "rgb(31, 120, 193)", "mode": "fixed" }, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "decbytes" }, "overrides": [] }, "gridPos": { "h": 2, "w": 3, "x": 6, "y": 2 }, "id": 40, "links": [], "maxDataPoints": 100, "options": { "colorMode": "none", "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "8.3.3", "targets": [ { "expr": "sum(envoy_http_downstream_cx_rx_bytes_total{envoy_http_conn_manager_prefix!=\"admin\"})", "format": "time_series", "intervalFactor": 1, "refId": "A" } ], "title": "Downstream RX Data", "type": "stat" }, { "fieldConfig": { "defaults": { "color": { "fixedColor": "rgb(31, 120, 193)", "mode": "fixed" }, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "decbytes" }, "overrides": [] }, "gridPos": { "h": 2, "w": 3, "x": 9, "y": 2 }, "id": 53, "links": [], "maxDataPoints": 100, "options": { "colorMode": "none", "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "8.3.3", "targets": [ { "expr": "sum(envoy_http_downstream_cx_tx_bytes_total{envoy_http_conn_manager_prefix!=\"admin\"})", "format": "time_series", "intervalFactor": 1, "refId": "A" } ], "title": "Downstream TX Data", "type": "stat" }, { "fieldConfig": { "defaults": { "color": { "fixedColor": "rgb(31, 120, 193)", "mode": "fixed" }, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 2, "w": 3, "x": 12, "y": 2 }, "id": 43, "links": [], "maxDataPoints": 100, "options": { "colorMode": "none", "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "8.3.3", "targets": [ { "expr": "sum(increase(envoy_http_downstream_rq_xx{envoy_response_code_class=\"5\"}[1m]))", "format": "time_series", "intervalFactor": 1, "refId": "A" } ], "title": "5xx Per Min", "type": "stat" }, { "fieldConfig": { "defaults": { "color": { "fixedColor": "rgb(31, 120, 193)", "mode": "fixed" }, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 2, "w": 3, "x": 15, "y": 2 }, "id": 57, "links": [], "maxDataPoints": 100, "options": { "colorMode": "none", "graphMode": "area", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "8.3.3", "targets": [ { "datasource": { "type": "prometheus", "uid": "P4169E866C3094E38" }, "exemplar": true, "expr": "sum(increase(ambassador_edge_stack_promhttp_metric_handler_requests_total{code=\"500\"}[1m]))", "format": "time_series", "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "title": "500 Per Min", "type": "stat" }, { "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "max": 1000000000, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "bps" }, "overrides": [] }, "gridPos": { "h": 4, "w": 3, "x": 0, "y": 4 }, "id": 51, "links": [], "maxDataPoints": 100, "options": { "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": false }, "pluginVersion": "8.3.3", "targets": [ { "expr": "sum(increase(envoy_cluster_upstream_cx_tx_bytes_total{envoy_cluster_name!=\"admin\"}[1m]))", "format": "time_series", "intervalFactor": 1, "refId": "A" } ], "title": "Upstream TX KBPs", "type": "gauge" }, { "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "max": 1000000000, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "bps" }, "overrides": [] }, "gridPos": { "h": 4, "w": 3, "x": 3, "y": 4 }, "id": 50, "links": [], "maxDataPoints": 100, "options": { "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": false }, "pluginVersion": "8.3.3", "targets": [ { "expr": "sum(increase(envoy_cluster_upstream_cx_rx_bytes_total{envoy_cluster_name!=\"admin\"}[1m]))", "format": "time_series", "intervalFactor": 1, "refId": "A" } ], "title": "Upstream RX KBPs", "type": "gauge" }, { "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "max": 1000000000, "min": 1, "thresholds": { "mode": "absolute", "steps": [ { "color": "#d44a3a", "value": null }, { "color": "rgba(237, 129, 40, 0.89)", "value": 0 }, { "color": "#299c46" } ] }, "unit": "bps" }, "overrides": [] }, "gridPos": { "h": 4, "w": 3, "x": 6, "y": 4 }, "id": 46, "links": [], "maxDataPoints": 100, "options": { "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": false }, "pluginVersion": "8.3.3", "targets": [ { "expr": "sum(increase(envoy_http_downstream_cx_tx_bytes_total{envoy_http_conn_manager_prefix!=\"admin\"}[1m]))", "format": "time_series", "intervalFactor": 1, "refId": "A" } ], "title": "Downstream TX KBPs", "type": "gauge" }, { "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "max": 1000000000, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "bps" }, "overrides": [] }, "gridPos": { "h": 4, "w": 3, "x": 9, "y": 4 }, "id": 45, "links": [], "maxDataPoints": 100, "options": { "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": false }, "pluginVersion": "8.3.3", "targets": [ { "expr": "sum(increase(envoy_http_downstream_cx_rx_bytes_total{envoy_http_conn_manager_prefix!=\"admin\"}[1m]))", "format": "time_series", "intervalFactor": 1, "refId": "A" } ], "title": "Downstream RX KBPs", "type": "gauge" }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 24, "x": 0, "y": 8 }, "hiddenSeries": false, "id": 30, "legend": { "alignAsTable": true, "avg": true, "current": true, "max": true, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, "pluginVersion": "8.3.3", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "datasource": { "type": "prometheus", "uid": "P4169E866C3094E38" }, "expr": "sum(increase(envoy_http_downstream_rq_xx{envoy_response_code_class=\"2\", envoy_http_conn_manager_prefix!=\"admin\"}[1m]))", "format": "time_series", "intervalFactor": 1, "legendFormat": "2xx", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "P4169E866C3094E38" }, "expr": "sum(increase(envoy_http_downstream_rq_xx{envoy_response_code_class=\"3\", envoy_http_conn_manager_prefix!=\"admin\"}[1m]))", "format": "time_series", "intervalFactor": 1, "legendFormat": "3xx", "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "P4169E866C3094E38" }, "expr": "sum(increase(envoy_http_downstream_rq_xx{envoy_response_code_class=\"4\", envoy_http_conn_manager_prefix!=\"admin\"}[1m]))", "format": "time_series", "intervalFactor": 1, "legendFormat": "4xx", "refId": "C" }, { "datasource": { "type": "prometheus", "uid": "P4169E866C3094E38" }, "expr": "sum(increase(envoy_http_downstream_rq_xx{envoy_response_code_class=\"5\", envoy_http_conn_manager_prefix!=\"admin\"}[1m]))", "format": "time_series", "intervalFactor": 1, "legendFormat": "5xx", "refId": "D" }, { "datasource": { "type": "prometheus", "uid": "P4169E866C3094E38" }, "exemplar": true, "expr": "sum(increase(ambassador_edge_stack_promhttp_metric_handler_requests_total{code=\"503\"}[1m]))", "hide": false, "interval": "", "legendFormat": "503", "refId": "E" } ], "thresholds": [], "timeRegions": [], "title": "Ambassador Downstream Responses", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "mode": "time", "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": "RPM", "logBase": 1, "show": true }, { "format": "short", "logBase": 1, "show": true } ], "yaxis": { "align": false } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 24, "x": 0, "y": 16 }, "hiddenSeries": false, "id": 41, "legend": { "alignAsTable": true, "avg": true, "current": true, "max": true, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, "pluginVersion": "8.3.3", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "sum(increase(envoy_cluster_upstream_rq_xx{envoy_response_code_class=\"2\"}[1m]))", "format": "time_series", "intervalFactor": 1, "legendFormat": "2xx", "refId": "A" }, { "expr": "sum(increase(envoy_cluster_upstream_rq_xx{envoy_response_code_class=\"3\"}[1m]))", "format": "time_series", "intervalFactor": 1, "legendFormat": "3xx", "refId": "B" }, { "expr": "sum(increase(envoy_cluster_upstream_rq_xx{envoy_response_code_class=\"4\"}[1m]))", "format": "time_series", "intervalFactor": 1, "legendFormat": "4xx", "refId": "C" }, { "expr": "sum(increase(envoy_cluster_upstream_rq_xx{envoy_response_code_class=\"5\"}[1m]))", "format": "time_series", "intervalFactor": 1, "legendFormat": "5xx", "refId": "D" } ], "thresholds": [], "timeRegions": [], "title": "Ambassador Upstream Responses", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "mode": "time", "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": "RPM", "logBase": 1, "show": true }, { "format": "short", "logBase": 1, "show": true } ], "yaxis": { "align": false } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 24, "x": 0, "y": 24 }, "hiddenSeries": false, "id": 55, "legend": { "alignAsTable": true, "avg": true, "current": true, "hideEmpty": true, "hideZero": false, "max": true, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, "pluginVersion": "8.3.3", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "/Upstream RX/", "transform": "negative-Y" }, { "alias": "/Downstream RX/", "transform": "negative-Y" } ], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "sum(increase(envoy_cluster_upstream_cx_tx_bytes_total{envoy_cluster_name!=\"admin\"}[1m]))", "format": "time_series", "intervalFactor": 1, "legendFormat": "Upstream TX", "refId": "A" }, { "expr": "sum(increase(envoy_cluster_upstream_cx_rx_bytes_total{envoy_cluster_name!=\"admin\"}[1m]))", "format": "time_series", "intervalFactor": 1, "legendFormat": "Upstream RX", "refId": "B" }, { "expr": "sum(increase(envoy_http_downstream_cx_tx_bytes_total{envoy_http_conn_manager_prefix!=\"admin\"}[1m]))", "format": "time_series", "intervalFactor": 1, "legendFormat": "Downstream TX", "refId": "C" }, { "expr": "sum(increase(envoy_http_downstream_cx_rx_bytes_total{envoy_http_conn_manager_prefix!=\"admin\"}[1m]))", "format": "time_series", "intervalFactor": 1, "legendFormat": "Downstream RX", "refId": "D" } ], "thresholds": [], "timeRegions": [], "title": "RX/TX", "tooltip": { "shared": false, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "mode": "time", "show": true, "values": [] }, "yaxes": [ { "format": "bps", "label": "kbps", "logBase": 1, "show": true }, { "format": "bps", "label": "kbps", "logBase": 1, "show": false } ], "yaxis": { "align": false } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "fill": 1, "gridPos": { "h": 8, "w": 24, "x": 0, "y": 32 }, "id": 20, "legend": { "alignAsTable": true, "avg": true, "current": true, "max": true, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "percentage": false, "pluginVersion": "8.3.3", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "sum(increase(envoy_cluster_internal_upstream_rq_xx{envoy_response_code_class=\"2\"}[1m]))", "format": "time_series", "intervalFactor": 1, "legendFormat": "2xx", "refId": "A" }, { "expr": "sum(increase(envoy_cluster_internal_upstream_rq_xx{envoy_response_code_class=\"3\"}[1m]))", "format": "time_series", "intervalFactor": 1, "legendFormat": "3xx", "refId": "B" }, { "expr": "sum(increase(envoy_cluster_internal_upstream_rq_xx{envoy_response_code_class=\"4\"}[1m]))", "format": "time_series", "intervalFactor": 1, "legendFormat": "4xx", "refId": "C" }, { "expr": "sum(increase(envoy_cluster_internal_upstream_rq_xx{envoy_response_code_class=\"5\"}[1m]))", "format": "time_series", "intervalFactor": 1, "legendFormat": "5xx", "refId": "D" } ], "thresholds": [], "timeRegions": [], "title": "API Response Codes", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "mode": "time", "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": "RPM", "logBase": 1, "show": true }, { "format": "short", "logBase": 1, "show": true } ], "yaxis": { "align": false } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "fill": 1, "gridPos": { "h": 8, "w": 24, "x": 0, "y": 40 }, "id": 26, "legend": { "avg": false, "current": false, "max": false, "min": false, "show": true, "total": false, "values": false }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "percentage": false, "pluginVersion": "8.3.3", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "histogram_quantile(0.95, sum(rate(envoy_http_downstream_cx_length_ms_bucket[5m])) by (le))", "format": "time_series", "intervalFactor": 1, "legendFormat": "95 percentile", "refId": "A" }, { "expr": "histogram_quantile(0.9, sum(rate(envoy_http_downstream_cx_length_ms_bucket[5m])) by (le))", "format": "time_series", "intervalFactor": 1, "legendFormat": "90th percentile", "refId": "B" }, { "expr": "histogram_quantile(0.5, sum(rate(envoy_http_downstream_cx_length_ms_bucket[5m])) by (le))", "format": "time_series", "intervalFactor": 1, "legendFormat": "50th percentile", "refId": "C" }, { "expr": "", "format": "time_series", "intervalFactor": 1, "refId": "D" } ], "thresholds": [], "timeRegions": [], "title": "Downstream Connections Length", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "mode": "time", "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": "Milliseconds", "logBase": 1, "show": true }, { "format": "short", "logBase": 1, "show": true } ], "yaxis": { "align": false } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "fill": 1, "gridPos": { "h": 8, "w": 24, "x": 0, "y": 48 }, "id": 28, "legend": { "avg": false, "current": false, "max": false, "min": false, "show": true, "total": false, "values": false }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "percentage": false, "pluginVersion": "8.3.3", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "sum(increase(envoy_http_downstream_cx_http1_active[1m]))", "format": "time_series", "intervalFactor": 1, "legendFormat": "HTTP/1", "refId": "A" }, { "expr": "sum(increase(envoy_http_downstream_cx_http2_active_active[1m]))", "format": "time_series", "intervalFactor": 1, "legendFormat": "HTTP/2", "refId": "B" }, { "expr": "sum(increase(envoy_http_downstream_cx_upgrades_active[1m]))", "format": "time_series", "intervalFactor": 1, "legendFormat": "Websocket", "refId": "C" } ], "thresholds": [], "timeRegions": [], "title": "Active Connections", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "mode": "time", "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": "RPM", "logBase": 1, "show": true }, { "format": "short", "logBase": 1, "show": true } ], "yaxis": { "align": false } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "decimals": 0, "fill": 1, "gridPos": { "h": 8, "w": 24, "x": 0, "y": 56 }, "id": 37, "legend": { "alignAsTable": true, "avg": true, "current": true, "hideEmpty": true, "max": true, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "percentage": false, "pluginVersion": "8.3.3", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "sum(envoy_cluster_upstream_cx_active) by (envoy_cluster_name)", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{envoy_cluster_name}}", "refId": "A" } ], "thresholds": [], "timeRegions": [], "title": "Active Connections", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "mode": "time", "show": true, "values": [] }, "yaxes": [ { "decimals": 0, "format": "short", "label": "RPM", "logBase": 1, "show": true }, { "decimals": 0, "format": "short", "logBase": 1, "show": true } ], "yaxis": { "align": false } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "decimals": 0, "fill": 1, "gridPos": { "h": 8, "w": 24, "x": 0, "y": 64 }, "id": 38, "legend": { "alignAsTable": true, "avg": true, "current": true, "hideEmpty": true, "max": true, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "percentage": false, "pluginVersion": "8.3.3", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "sum(envoy_cluster_upstream_cx_connect_fail) by (envoy_cluster_name)", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{envoy_cluster_name}}", "refId": "A" } ], "thresholds": [], "timeRegions": [], "title": "Upstream Connections Failures", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "mode": "time", "show": true, "values": [] }, "yaxes": [ { "decimals": 0, "format": "short", "label": "RPM", "logBase": 1, "show": true }, { "decimals": 0, "format": "short", "logBase": 1, "show": true } ], "yaxis": { "align": false } }, { "columns": [], "fontSize": "100%", "gridPos": { "h": 8, "w": 24, "x": 0, "y": 72 }, "id": 39, "links": [], "scroll": true, "showHeader": true, "sort": { "col": 2, "desc": true }, "styles": [ { "alias": "Time", "align": "auto", "dateFormat": "YYYY-MM-DD HH:mm:ss", "pattern": "Time", "type": "date" }, { "alias": "", "align": "auto", "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "decimals": 2, "pattern": "/.*/", "thresholds": [], "type": "number", "unit": "decbytes" } ], "targets": [ { "expr": "sum(envoy_cluster_upstream_cx_rx_bytes_total) by (envoy_cluster_name)", "format": "table", "instant": true, "intervalFactor": 1, "legendFormat": "{{envoy_cluster_name}}", "refId": "A" } ], "title": "Cluster Transfer Data", "transform": "table", "type": "table-old" }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "fill": 1, "gridPos": { "h": 9, "w": 24, "x": 0, "y": 80 }, "id": 35, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": true, "min": false, "rightSide": true, "show": true, "total": true, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "percentage": false, "pluginVersion": "8.3.3", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "avg(envoy_cluster_update_failure) by (envoy_cluster_name)", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{envoy_cluster_name}}", "refId": "A" } ], "thresholds": [], "timeRegions": [], "title": "Cluster Update Failures", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "mode": "time", "show": true, "values": [] }, "yaxes": [ { "format": "short", "logBase": 1, "show": true }, { "format": "short", "logBase": 1, "show": true } ], "yaxis": { "align": false } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "decimals": 0, "fill": 1, "gridPos": { "h": 9, "w": 24, "x": 0, "y": 89 }, "id": 36, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": false, "min": false, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "percentage": false, "pluginVersion": "8.3.3", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "max(envoy_cluster_upstream_cx_destroy_with_active_rq) by (envoy_cluster_name)", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{envoy_cluster_name}}", "refId": "A" } ], "thresholds": [], "timeRegions": [], "title": "Upstream Destroy with CX Active", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "mode": "time", "show": true, "values": [] }, "yaxes": [ { "format": "short", "logBase": 1, "show": true }, { "format": "short", "logBase": 1, "show": true } ], "yaxis": { "align": false } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": { "type": "prometheus", "uid": "P4169E866C3094E38" }, "fill": 1, "gridPos": { "h": 7, "w": 24, "x": 0, "y": 98 }, "hideTimeOverride": false, "id": 2, "legend": { "alignAsTable": true, "avg": true, "current": false, "hideEmpty": false, "hideZero": false, "max": true, "min": true, "rightSide": false, "show": true, "total": true, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "percentage": false, "pluginVersion": "8.3.3", "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "2xx", "color": "#508642" }, { "alias": "3xx", "color": "#0a437c" }, { "alias": "4xx", "color": "#e5ac0e" }, { "alias": "5xx", "color": "#bf1b00" } ], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "sum(increase(envoy_${listener_port}_downstream_rq_xx{envoy_response_code_class=\"2\"}[1m]))", "format": "time_series", "instant": false, "interval": "", "intervalFactor": 1, "legendFormat": "2xx", "refId": "E" }, { "expr": "sum(increase(envoy_${listener_port}_downstream_rq_xx{envoy_response_code_class=\"3\"}[1m]))", "format": "time_series", "instant": false, "interval": "", "intervalFactor": 1, "legendFormat": "3xx", "refId": "A" }, { "expr": "sum(increase(envoy_${listener_port}_downstream_rq_xx{envoy_response_code_class=\"4\"}[1m]))", "format": "time_series", "instant": false, "interval": "", "intervalFactor": 1, "legendFormat": "4xx", "refId": "B" }, { "expr": "sum(increase(envoy_${listener_port}_downstream_rq_xx{envoy_response_code_class=\"5\"}[1m]))", "format": "time_series", "interval": "", "intervalFactor": 1, "legendFormat": "5xx", "refId": "D" } ], "thresholds": [], "timeRegions": [], "title": "API Requests", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "mode": "time", "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": "HITS", "logBase": 1, "min": "0", "show": true }, { "format": "short", "label": "RPM", "logBase": 1, "min": "0", "show": false } ], "yaxis": { "align": false } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": { "type": "prometheus", "uid": "P4169E866C3094E38" }, "fill": 1, "gridPos": { "h": 7, "w": 24, "x": 0, "y": 105 }, "id": 5, "legend": { "alignAsTable": true, "avg": true, "current": false, "max": true, "min": true, "show": true, "total": true, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "percentage": false, "pluginVersion": "8.3.3", "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "avg(increase(envoy_http_downstream_cx_http1_total{envoy_http_conn_manager_prefix=\"ingress_http\"}[1m]))", "format": "time_series", "intervalFactor": 2, "legendFormat": "Ingress HTTP/1.1", "refId": "A" }, { "expr": "avg(increase(envoy_http_downstream_cx_http1_total{envoy_http_conn_manager_prefix=\"admin\"}[1m]))", "format": "time_series", "intervalFactor": 2, "legendFormat": "Admin HTTP/1.1", "refId": "D" }, { "expr": "avg(increase(envoy_http_downstream_cx_http2_total{envoy_http_conn_manager_prefix=\"ingress_http\"}[1m]))", "format": "time_series", "intervalFactor": 2, "legendFormat": "Ingress HTTP/2", "refId": "B" }, { "expr": "avg(increase(envoy_http_downstream_cx_http2_total{envoy_http_conn_manager_prefix=\"admin\"}[1m]))", "format": "time_series", "intervalFactor": 2, "legendFormat": "Admin HTTP/2", "refId": "E" } ], "thresholds": [], "timeRegions": [], "title": "Downstream Connections", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "mode": "time", "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": "HITS", "logBase": 1, "min": "0", "show": true }, { "format": "short", "logBase": 1, "show": false } ], "yaxis": { "align": false } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": { "type": "prometheus", "uid": "P4169E866C3094E38" }, "decimals": 0, "fill": 1, "gridPos": { "h": 7, "w": 24, "x": 0, "y": 112 }, "id": 33, "legend": { "alignAsTable": true, "avg": true, "current": true, "hideEmpty": true, "hideZero": false, "max": true, "min": true, "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "percentage": false, "pluginVersion": "8.3.3", "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "sum(envoy_http_downstream_cx_http1_active{envoy_http_conn_manager_prefix=\"ingress_http\"})", "format": "time_series", "intervalFactor": 2, "legendFormat": "Ingress HTTP/1.1", "refId": "A" }, { "expr": "sum(envoy_http_downstream_cx_http1_active{envoy_http_conn_manager_prefix=\"admin\"})", "format": "time_series", "intervalFactor": 2, "legendFormat": "Admin HTTP/1.1", "refId": "D" }, { "expr": "sum(envoy_http_downstream_cx_http2_active{envoy_http_conn_manager_prefix=\"ingress_http\"})", "format": "time_series", "intervalFactor": 2, "legendFormat": "Ingress HTTP/2", "refId": "B" }, { "expr": "sum(envoy_http_downstream_cx_http2_active{envoy_http_conn_manager_prefix=\"admin\"})", "format": "time_series", "intervalFactor": 2, "legendFormat": "Admin HTTP/2", "refId": "E" } ], "thresholds": [], "timeRegions": [], "title": "Downstream Active Connections", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "mode": "time", "show": true, "values": [] }, "yaxes": [ { "decimals": 0, "format": "short", "label": "HITS", "logBase": 1, "min": "0", "show": true }, { "format": "short", "logBase": 1, "show": false } ], "yaxis": { "align": false } } ], "refresh": "1m", "schemaVersion": 34, "style": "dark", "tags": [ "ambassador" ], "templating": { "list": [ { "current": { "tags": [], "text": "http", "value": "http" }, "hide": 0, "includeAll": false, "label": "Listener port", "multi": false, "name": "listener_port", "options": [ { "selected": true, "text": "http", "value": "http" }, { "selected": false, "text": "admin", "value": "admin" } ], "query": "http,admin", "skipUrlSync": false, "type": "custom" } ] }, "time": { "from": "now-3h", "to": "now" }, "timepicker": { "refresh_intervals": [ "5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ], "time_options": [ "5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d" ] }, "timezone": "", "title": "Ambassador Dashboard", "uid": "R_NuxHVWk", "version": 1, "weekStart": "" }