From 3df0c438507f9fbfe67316c0a30b4fa2feca0288 Mon Sep 17 00:00:00 2001 From: Keith Fiske Date: Fri, 27 Jun 2025 15:29:50 -0400 Subject: [PATCH] feat: update haproxy grafana dashboard --- changelogs/fragments/474.yml | 3 + grafana/haproxy/HAProxy.json | 10813 ++++++++++++--------------------- 2 files changed, 3849 insertions(+), 6967 deletions(-) create mode 100644 changelogs/fragments/474.yml diff --git a/changelogs/fragments/474.yml b/changelogs/fragments/474.yml new file mode 100644 index 0000000..1f71c59 --- /dev/null +++ b/changelogs/fragments/474.yml @@ -0,0 +1,3 @@ +--- +minor_changes: + - grafana - Update HAProxy dashboard to the latest one from upstream (Revision 11) diff --git a/grafana/haproxy/HAProxy.json b/grafana/haproxy/HAProxy.json index 5bad07b..d285fe0 100644 --- a/grafana/haproxy/HAProxy.json +++ b/grafana/haproxy/HAProxy.json @@ -1,4 +1,41 @@ { + "__inputs": [ + { + "name": "DS_PROMETHEUS", + "label": "prometheus", + "description": "", + "type": "datasource", + "pluginId": "prometheus", + "pluginName": "Prometheus" + } + ], + "__elements": {}, + "__requires": [ + { + "type": "grafana", + "id": "grafana", + "name": "Grafana", + "version": "11.6.1" + }, + { + "type": "datasource", + "id": "prometheus", + "name": "Prometheus", + "version": "1.0.0" + }, + { + "type": "panel", + "id": "stat", + "name": "Stat", + "version": "" + }, + { + "type": "panel", + "id": "timeseries", + "name": "Time series", + "version": "" + } + ], "annotations": { "list": [ { @@ -23,11 +60,10 @@ ] }, "description": "HAProxy with Prometheus data", - "editable": false, + "editable": true, "fiscalYearStartMonth": 0, - "gnetId": 12693, "graphTooltip": 1, - "id": 17, + "id": null, "links": [ { "asDropdown": false, @@ -51,17 +87,12 @@ "title": "Grafana", "tooltip": "", "type": "link", - "url": "https://grafana.com/grafana/dashboards/12693-haproxy-2-full/" + "url": "https://grafana.com/grafana/dashboards/12693" } ], - "liveNow": false, "panels": [ { - "collapsed": true, - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, + "collapsed": false, "gridPos": { "h": 1, "w": 24, @@ -69,3780 +100,1064 @@ "y": 0 }, "id": 152, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "panels": [], + "title": "Basic General Info", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "back (-) / front (+)", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 20, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "normal" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 1, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + } + ] }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "- back / + front", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { + "unit": "reqps" + }, + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/.*Back.*/" + }, + "properties": [ + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + }, + { + "matcher": { + "id": "byRegexp", + "options": "/.*1.*/" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#6ED0E0", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byRegexp", + "options": "/.*2.*/" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#7EB26D", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byRegexp", + "options": "/.*3.*/" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#1F78C1", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byRegexp", + "options": "/.*4.*/" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#CCA300", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byRegexp", + "options": "/.*5.*/" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#890F02", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byRegexp", + "options": "/.*other.*/" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "#806EB7", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Front requests" + }, + "properties": [ + { + "id": "custom.stacking", + "value": { "group": "A", "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" } }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] + { + "id": "custom.fillOpacity", + "value": 0 }, - "unit": "short" - }, - "overrides": [ { - "matcher": { - "id": "byRegexp", - "options": "/.*Back.*/" - }, - "properties": [ - { - "id": "custom.transform", - "value": "negative-Y" - } - ] + "id": "custom.lineStyle", + "value": { + "fill": "solid" + } }, { - "matcher": { - "id": "byRegexp", - "options": "/.*1.*/" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "#6ED0E0", - "mode": "fixed" - } - } - ] + "id": "custom.lineWidth", + "value": 1 }, { - "matcher": { - "id": "byRegexp", - "options": "/.*2.*/" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "#7EB26D", - "mode": "fixed" - } - } - ] + "id": "color", + "value": { + "fixedColor": "text", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Back requests" + }, + "properties": [ + { + "id": "custom.fillOpacity", + "value": 0 }, { - "matcher": { - "id": "byRegexp", - "options": "/.*3.*/" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "#1F78C1", - "mode": "fixed" - } - } - ] + "id": "custom.lineStyle", + "value": { + "fill": "solid" + } }, { - "matcher": { - "id": "byRegexp", - "options": "/.*4.*/" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "#CCA300", - "mode": "fixed" - } - } - ] + "id": "custom.lineWidth", + "value": 1 }, { - "matcher": { - "id": "byRegexp", - "options": "/.*5.*/" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "#890F02", - "mode": "fixed" - } - } - ] + "id": "custom.stacking", + "value": { + "group": "A", + "mode": "none" + } }, { - "matcher": { - "id": "byRegexp", - "options": "/.*other.*/" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "#806EB7", - "mode": "fixed" - } - } - ] + "id": "color", + "value": { + "fixedColor": "text", + "mode": "fixed" + } } ] + } + ] + }, + "gridPos": { + "h": 10, + "w": 24, + "x": 0, + "y": 1 + }, + "id": 83, + "options": { + "legend": { + "calcs": [ + "min", + "mean", + "max" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "multi", + "sort": "desc" + } + }, + "pluginVersion": "11.6.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "gridPos": { - "h": 10, - "w": 24, - "x": 0, - "y": 1 + "editorMode": "code", + "expr": "sum(rate(haproxy_frontend_http_responses_total{proxy=~\"$frontend\",code=~\"$code\",instance=\"$host\"}[$__rate_interval])) by (code)", + "interval": "$interval", + "intervalFactor": 1, + "legendFormat": "Front {{ code }}", + "metric": "", + "range": true, + "refId": "A", + "step": 240 + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "id": 83, - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max", - "min" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "desc" - } + "editorMode": "code", + "expr": "sum(rate(haproxy_backend_http_responses_total{proxy=~\"$backend\",code=~\"$code\",instance=\"$host\"}[$__rate_interval])) by (code)", + "interval": "$interval", + "intervalFactor": 1, + "legendFormat": "Back {{ code }}", + "metric": "", + "range": true, + "refId": "B", + "step": 240 + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "editorMode": "code", - "expr": "sum(rate(haproxy_frontend_http_responses_total{proxy=~\"$frontend\",instance=\"$host\"}[$__rate_interval])) by (code)", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Front {{ code }}", - "metric": "", - "range": true, - "refId": "A", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "editorMode": "code", - "expr": "sum(rate(haproxy_backend_http_responses_total{proxy=~\"$backend\",instance=\"$host\"}[$__rate_interval])) by (code)", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Back {{ code }}", - "metric": "", - "range": true, - "refId": "B", - "step": 240 + "editorMode": "code", + "expr": "sum(rate(haproxy_frontend_http_requests_total{proxy=~\"$frontend\",instance=\"$host\"}[$__rate_interval])) by (instance)", + "hide": false, + "interval": "$interval", + "intervalFactor": 1, + "legendFormat": "Front requests", + "metric": "", + "range": true, + "refId": "C", + "step": 240 + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum(rate(haproxy_backend_http_requests_total{proxy=~\"$backend\",instance=\"$host\"}[$__rate_interval])) by (instance)", + "hide": false, + "interval": "$interval", + "intervalFactor": 1, + "legendFormat": "Back requests", + "metric": "", + "range": true, + "refId": "D", + "step": 240 + } + ], + "title": "HTTP response / request", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "out (-) / in (+)", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 20, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" } + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + } + ] + }, + "unit": "bps" + }, + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/.*OUT.*/" + }, + "properties": [ + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + } + ] + }, + "gridPos": { + "h": 10, + "w": 12, + "x": 0, + "y": 11 + }, + "id": 75, + "options": { + "legend": { + "calcs": [ + "min", + "mean", + "max" ], - "title": "All HTTP responses", - "type": "timeseries" + "displayMode": "table", + "placement": "bottom", + "showLegend": true }, + "tooltip": { + "hideZeros": false, + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "11.6.1", + "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "- out / + in", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "bits" + "editorMode": "code", + "expr": "sum(rate(haproxy_frontend_bytes_in_total{proxy=~\"$frontend\",instance=\"$host\"}[$__rate_interval])*8) by (instance)", + "interval": "$interval", + "intervalFactor": 1, + "legendFormat": "IN Front", + "metric": "", + "range": true, + "refId": "A", + "step": 240 + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum(rate(haproxy_frontend_bytes_out_total{proxy=~\"$frontend\",instance=\"$host\"}[$__rate_interval])*8) by (instance)", + "interval": "$interval", + "intervalFactor": 1, + "legendFormat": "OUT Front", + "range": true, + "refId": "B", + "step": 240 + } + ], + "title": "Front - Data transfer", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "out (-) / in (+)", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 20, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + } + ] + }, + "unit": "bps" + }, + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/.*OUT.*/" }, - "overrides": [ + "properties": [ { - "matcher": { - "id": "byRegexp", - "options": "/.*OUT.*/" - }, - "properties": [ - { - "id": "custom.transform", - "value": "negative-Y" - } - ] + "id": "custom.transform", + "value": "negative-Y" } ] + } + ] + }, + "gridPos": { + "h": 10, + "w": 12, + "x": 12, + "y": 11 + }, + "id": 229, + "options": { + "legend": { + "calcs": [ + "min", + "mean", + "max" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "11.6.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "gridPos": { - "h": 10, - "w": 12, - "x": 0, - "y": 11 + "editorMode": "code", + "expr": "sum(rate(haproxy_backend_bytes_in_total{proxy=~\"$backend\",instance=\"$host\"}[$__rate_interval])*8) by (instance)", + "intervalFactor": 1, + "legendFormat": "IN Back", + "range": true, + "refId": "C", + "step": 240 + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "id": 75, - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" + "editorMode": "code", + "expr": "sum(rate(haproxy_backend_bytes_out_total{proxy=~\"$backend\",instance=\"$host\"}[$__rate_interval])*8) by (instance)", + "intervalFactor": 1, + "legendFormat": "OUT Back", + "range": true, + "refId": "D", + "step": 240 + } + ], + "title": "Back - Data transfer", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "back (-) / front (+)", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 20, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" } }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "sum(rate(haproxy_frontend_bytes_in_total{proxy=~\"$frontend\",instance=\"$host\"}[$__rate_interval])*8) by (instance)", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "IN Front", - "metric": "", - "refId": "A", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "sum(rate(haproxy_frontend_bytes_out_total{proxy=~\"$frontend\",instance=\"$host\"}[$__rate_interval])*8) by (instance)", - "interval": "$interval", - "intervalFactor": 2, - "legendFormat": "OUT Front", - "refId": "B", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "sum(rate(haproxy_backend_bytes_in_total{proxy=~\"$backend\",instance=\"$host\"}[$__rate_interval])*8) by (instance)", - "intervalFactor": 2, - "legendFormat": "IN Back", - "refId": "C", - "step": 240 + "links": [], + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + } + ] + }, + "unit": "ops" + }, + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/.*Back.*/" }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "sum(rate(haproxy_backend_bytes_out_total{proxy=~\"$backend\",instance=\"$host\"}[$__rate_interval])*8) by (instance)", - "intervalFactor": 2, - "legendFormat": "OUT Back", - "refId": "D", - "step": 240 - } + "properties": [ + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + } + ] + }, + "gridPos": { + "h": 10, + "w": 12, + "x": 0, + "y": 21 + }, + "id": 236, + "options": { + "legend": { + "calcs": [ + "min", + "mean", + "max" ], - "title": "Incoming / Outgoing bytes", - "type": "timeseries" + "displayMode": "table", + "placement": "bottom", + "showLegend": true }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.6.1", + "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "- back / + front", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [ - { - "matcher": { - "id": "byRegexp", - "options": "/.*Back.*/" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "#F2495C", - "mode": "fixed" - } - }, - { - "id": "custom.transform", - "value": "negative-Y" - } - ] - } - ] - }, - "gridPos": { - "h": 10, - "w": 12, - "x": 12, - "y": 11 - }, - "id": 79, - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "sum(rate(haproxy_frontend_connections_total{proxy=~\"$frontend\",instance=\"$host\"}[$__rate_interval])) by (instance)", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Front", - "metric": "", - "refId": "A", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "sum(rate(haproxy_backend_connection_errors_total{proxy=~\"$backend\",instance=\"$host\"}[$__rate_interval])) by (instance)", - "hide": false, - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Back errors", - "metric": "", - "refId": "C", - "step": 240 - } - ], - "title": "Number of connections", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "- back / + front", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [ - { - "matcher": { - "id": "byRegexp", - "options": "/.*Back.*/" - }, - "properties": [ - { - "id": "custom.transform", - "value": "negative-Y" - } - ] - }, - { - "matcher": { - "id": "byRegexp", - "options": "/.*errors.*/" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "#F2495C", - "mode": "fixed" - } - } - ] - }, - { - "matcher": { - "id": "byRegexp", - "options": "/.*warn.*/" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "#FF9830", - "mode": "fixed" - } - } - ] - } - ] - }, - "gridPos": { - "h": 10, - "w": 12, - "x": 0, - "y": 21 - }, - "id": 81, - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "desc" - } - }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "sum(rate(haproxy_frontend_http_requests_total{proxy=~\"$frontend\",instance=\"$host\"}[$__rate_interval])) by (instance)", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Front requests", - "metric": "", - "refId": "A", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "sum(rate(haproxy_frontend_request_errors_total{proxy=~\"$frontend\",instance=\"$host\"}[$__rate_interval])) by (instance)", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Front requests errors", - "metric": "", - "refId": "C", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "sum(rate(haproxy_frontend_requests_denied_total{proxy=~\"$frontend\",instance=\"$host\"}[$__rate_interval])) by (instance)", - "interval": "$interval", - "intervalFactor": 2, - "legendFormat": "Front request denied", - "refId": "F", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "sum(rate(haproxy_backend_redispatch_warnings_total{proxy=~\"$backend\",instance=\"$host\"}[$__rate_interval])) by (instance)", - "interval": "$interval", - "intervalFactor": 2, - "legendFormat": "Back redispatch warnings", - "refId": "D", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "sum(rate(haproxy_backend_retry_warnings_total{proxy=~\"$backend\",instance=\"$host\"}[$__rate_interval])) by (instance)", - "interval": "$interval", - "intervalFactor": 2, - "legendFormat": "Back retry warnings", - "refId": "E", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "sum(rate(haproxy_backend_response_errors_total{proxy=~\"$backend\",instance=\"$host\"}[$__rate_interval])) by (instance)", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Back response errors", - "metric": "", - "refId": "I", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "sum(haproxy_backend_current_queue{proxy=~\"$backend\",instance=\"$host\"}) by (instance)", - "interval": "$interval", - "intervalFactor": 2, - "legendFormat": "Back queued requests", - "refId": "G", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "sum(rate(haproxy_backend_http_requests_total{proxy=~\"$backend\",instance=\"$host\"}[$__rate_interval])) by (instance)", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Back requests", - "metric": "", - "refId": "H", - "step": 240 - } - ], - "title": "Requests and Responses", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "- back / + front", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [ - { - "matcher": { - "id": "byRegexp", - "options": "/.*Back.*/" - }, - "properties": [ - { - "id": "custom.transform", - "value": "negative-Y" - } - ] - } - ] - }, - "gridPos": { - "h": 10, - "w": 12, - "x": 12, - "y": 21 - }, - "id": 84, - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "desc" - } - }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "sum(haproxy_frontend_current_sessions{proxy=~\"$frontend\",instance=\"$host\"}) by (instance)", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Front", - "metric": "", - "refId": "B", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "sum(haproxy_backend_current_sessions{proxy=~\"$frontend\",instance=\"$host\"}) by (instance)", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Back", - "metric": "", - "refId": "A", - "step": 240 - } - ], - "title": "Active sessions", - "type": "timeseries" - } - ], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, - "refId": "A" - } - ], - "title": "Basic General Info", - "type": "row" - }, - { - "collapsed": true, - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 1 - }, - "id": 151, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisBorderShow": false, - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "- back / + front", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 50, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "insertNulls": false, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "Back Up" - }, - "properties": [ - { - "id": "custom.transform", - "value": "negative-Y" - } - ] - } - ] - }, - "gridPos": { - "h": 4, - "w": 22, - "x": 0, - "y": 2 - }, - "id": 85, - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max", - "min" - ], - "displayMode": "table", - "placement": "right", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "count(haproxy_frontend_status{instance=\"$host\"} == 1)", - "hide": false, - "interval": "$interval", - "intervalFactor": 2, - "legendFormat": "Front Up", - "refId": "A", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "count(haproxy_backend_status{instance=\"$host\"} ==1)", - "interval": "$interval", - "intervalFactor": 2, - "legendFormat": "Back Up", - "refId": "B", - "step": 240 - } - ], - "title": "All Status", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 0, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 4, - "w": 2, - "x": 22, - "y": 2 - }, - "id": 149, - "maxDataPoints": 100, - "options": { - "colorMode": "none", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "showPercentChange": false, - "textMode": "auto", - "wideLayout": true - }, - "pluginVersion": "10.4.2", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "time() - haproxy_process_start_time_seconds{instance=\"$host\"}", - "intervalFactor": 2, - "refId": "A", - "step": 240 - } - ], - "title": "Started...", - "type": "stat" - } - ], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, - "refId": "A" - } - ], - "title": "Basic General Status", - "type": "row" - }, - { - "collapsed": true, - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 2 - }, - "id": 182, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "- out / + in", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "bits" - }, - "overrides": [ - { - "matcher": { - "id": "byRegexp", - "options": "/.*OUT.*/" - }, - "properties": [ - { - "id": "custom.transform", - "value": "negative-Y" - } - ] - } - ] - }, - "gridPos": { - "h": 15, - "w": 12, - "x": 0, - "y": 37 - }, - "id": 42, - "links": [], - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "rate(haproxy_frontend_bytes_in_total{proxy=~\"$frontend\",instance=\"$host\"}[$__rate_interval])*8", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "IN {{ proxy }}", - "metric": "", - "refId": "A", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "rate(haproxy_frontend_bytes_out_total{proxy=~\"$frontend\",instance=\"$host\"}[$__rate_interval])*8", - "interval": "$interval", - "intervalFactor": 2, - "legendFormat": "OUT {{ proxy }}", - "refId": "B", - "step": 240 - } - ], - "title": "Front - Incoming / Outgoing bytes", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "- out / + in", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "bits" - }, - "overrides": [ - { - "matcher": { - "id": "byRegexp", - "options": "/.*OUT.*/" - }, - "properties": [ - { - "id": "custom.transform", - "value": "negative-Y" - } - ] - } - ] - }, - "gridPos": { - "h": 15, - "w": 12, - "x": 12, - "y": 37 - }, - "id": 1, - "links": [], - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "rate(haproxy_backend_bytes_in_total{proxy=~\"$backend\",instance=\"$host\"}[$__rate_interval])*8", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "IN {{ proxy }}", - "metric": "haproxy_backend_", - "refId": "A", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "rate(haproxy_backend_bytes_out_total{proxy=~\"$backend\",instance=\"$host\"}[$__rate_interval])*8", - "interval": "$interval", - "intervalFactor": 2, - "legendFormat": "OUT {{ proxy }}", - "refId": "B", - "step": 240 - } - ], - "title": "Back - Incoming / Outgoing bytes", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "- denied / + successful", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [ - { - "matcher": { - "id": "byRegexp", - "options": "/.*Denied*/" - }, - "properties": [ - { - "id": "custom.transform", - "value": "negative-Y" - } - ] - } - ] - }, - "gridPos": { - "h": 15, - "w": 12, - "x": 0, - "y": 52 - }, - "id": 43, - "links": [], - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "rate(haproxy_frontend_connections_total{proxy=~\"$frontend\",instance=\"$host\"}[$__rate_interval])", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Successful {{ proxy }}", - "metric": "haproxy_backe", - "refId": "B", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "rate(haproxy_frontend_denied_connections_total{proxy=~\"$frontend\",instance=\"$host\"}[$__rate_interval])", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Denied {{ proxy }}", - "metric": "haproxy_backe", - "refId": "A", - "step": 240 - } - ], - "title": "Front - Connections successful / denied", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "- error / + attempt", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [ - { - "matcher": { - "id": "byRegexp", - "options": "/.*Error.*/" - }, - "properties": [ - { - "id": "custom.transform", - "value": "negative-Y" - } - ] - } - ] - }, - "gridPos": { - "h": 15, - "w": 12, - "x": 12, - "y": 52 - }, - "id": 27, - "links": [], - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "rate(haproxy_backend_connection_attempts_total{proxy=~\"$backend\",instance=\"$host\"}[$__rate_interval])", - "hide": false, - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Attempts {{ proxy }}", - "metric": "", - "refId": "B", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "rate(haproxy_backend_connection_errors_total{proxy=~\"$backend\",instance=\"$host\"}[$__rate_interval])", - "interval": "$interval", - "intervalFactor": 2, - "legendFormat": "Error {{ proxy }}", - "refId": "A", - "step": 240 - } - ], - "title": "Back - Connections attempts / errors", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "connections", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 15, - "w": 12, - "x": 0, - "y": 67 - }, - "id": 114, - "links": [], - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "haproxy_frontend_connections_rate_max{proxy=~\"$frontend\",instance=\"$host\"}", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Max {{ proxy }}", - "metric": "haproxy_backe", - "refId": "B", - "step": 240 - } - ], - "title": "Front - Maximum observed number of connections per second", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "reuses", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 15, - "w": 12, - "x": 12, - "y": 67 - }, - "id": 131, - "links": [], - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "rate(haproxy_backend_connection_reuses_total{proxy=~\"$backend\",instance=\"$host\"}[$__rate_interval])", - "interval": "$interval", - "intervalFactor": 2, - "legendFormat": "Reuses {{ proxy }}", - "refId": "C", - "step": 240 - } - ], - "title": "Back - Connections reuses", - "type": "timeseries" - } - ], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, - "refId": "A" - } - ], - "title": "Throughtput / Connections", - "type": "row" - }, - { - "collapsed": true, - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 3 - }, - "id": 154, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "requests", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 13, - "w": 12, - "x": 0, - "y": 38 - }, - "id": 28, - "links": [], - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "haproxy_backend_current_queue{proxy=~\"$backend\",instance=\"$host\"}", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Queued {{ proxy }}", - "metric": "", - "refId": "A", - "step": 240 - } - ], - "title": "Back - Queued requests not assigned to any server", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "requests", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 2, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 13, - "w": 12, - "x": 12, - "y": 38 - }, - "id": 32, - "links": [], - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "haproxy_backend_max_queue{proxy=~\"$backend\",instance=\"$host\"}", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Max {{ proxy }}", - "metric": "", - "refId": "A", - "step": 240 - } - ], - "title": "Back - Max queued requests not assigned to any server", - "type": "timeseries" - } - ], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, - "refId": "A" - } - ], - "title": "Queues", - "type": "row" - }, - { - "collapsed": true, - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 4 - }, - "id": 155, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "- denied / + ok", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [ - { - "matcher": { - "id": "byRegexp", - "options": "/.*Denied.*/" - }, - "properties": [ - { - "id": "custom.transform", - "value": "negative-Y" - } - ] - } - ] - }, - "gridPos": { - "h": 14, - "w": 12, - "x": 0, - "y": 39 - }, - "id": 134, - "links": [], - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "desc" - } - }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "editorMode": "code", - "expr": "rate(haproxy_backend_http_requests_total{proxy=~\"$backend\",instance=\"$host\"}[$__rate_interval])", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Total {{ proxy }}", - "metric": "", - "range": true, - "refId": "A", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "editorMode": "code", - "expr": "rate(haproxy_backend_requests_denied_total{proxy=~\"$backend\", instance=\"$host\"}[$__rate_interval])", - "interval": "$interval", - "intervalFactor": 2, - "legendFormat": "Denied {{ proxy }}", - "range": true, - "refId": "C", - "step": 240 - } - ], - "title": "Back - HTTP requests OK / Denied", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "- error - denied / + ok", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [ - { - "matcher": { - "id": "byRegexp", - "options": "/.*Error.*/" - }, - "properties": [ - { - "id": "custom.transform", - "value": "negative-Y" - } - ] - }, - { - "matcher": { - "id": "byRegexp", - "options": "/.*Denied.*/" - }, - "properties": [ - { - "id": "custom.transform", - "value": "negative-Y" - } - ] - } - ] - }, - "gridPos": { - "h": 14, - "w": 12, - "x": 12, - "y": 39 - }, - "id": 46, - "links": [], - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "desc" - } - }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "rate(haproxy_frontend_http_requests_total{proxy=~\"$frontend\",instance=\"$host\"}[$__rate_interval])", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Total {{ proxy }}", - "metric": "", - "refId": "A", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "rate(haproxy_frontend_request_errors_total{proxy=~\"$frontend\", instance=\"$host\"}[$__rate_interval])", - "interval": "$interval", - "intervalFactor": 2, - "legendFormat": "Error {{ proxy }}", - "refId": "B", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "rate(haproxy_frontend_requests_denied_total{proxy=~\"$frontend\", instance=\"$host\"}[$__rate_interval])", - "interval": "$interval", - "intervalFactor": 2, - "legendFormat": "Denied {{ proxy }}", - "refId": "C", - "step": 240 - } - ], - "title": "Front - HTTP requests OK / Error / Denied", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "denied", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 14, - "w": 12, - "x": 0, - "y": 53 - }, - "id": 126, - "links": [], - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "desc" - } - }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "rate(haproxy_backend_responses_denied_total{proxy=~\"$backend\", instance=\"$host\"}[$__rate_interval])", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Denied {{ proxy }}", - "metric": "", - "refId": "B", - "step": 240 - } - ], - "title": "Back - HTTP responses denied", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "denied", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [ - { - "matcher": { - "id": "byRegexp", - "options": "/.*Denied.*/" - }, - "properties": [ - { - "id": "custom.transform", - "value": "negative-Y" - } - ] - } - ] - }, - "gridPos": { - "h": 14, - "w": 12, - "x": 12, - "y": 53 - }, - "id": 115, - "links": [], - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "desc" - } - }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "rate(haproxy_frontend_responses_denied_total{proxy=~\"$frontend\",instance=\"$host\"}[$__rate_interval])", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Denied {{ proxy }}", - "metric": "", - "refId": "A", - "step": 240 - } - ], - "title": "Front - HTTP responses denied", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "- error / + redispatch + retry", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [ - { - "matcher": { - "id": "byRegexp", - "options": "/.*Error.*/" - }, - "properties": [ - { - "id": "custom.transform", - "value": "negative-Y" - } - ] - } - ] - }, - "gridPos": { - "h": 14, - "w": 12, - "x": 0, - "y": 67 - }, - "id": 35, - "links": [], - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "desc" - } - }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "rate(haproxy_backend_redispatch_warnings_total{proxy=~\"$backend\", instance=\"$host\"}[$__rate_interval])", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Redispatch {{ proxy }}", - "metric": "", - "refId": "A", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "rate(haproxy_backend_retry_warnings_total{proxy=~\"$backend\", instance=\"$host\"}[$__rate_interval])", - "interval": "$interval", - "intervalFactor": 2, - "legendFormat": "Retry {{ proxy }}", - "refId": "B", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "rate(haproxy_backend_response_errors_total{proxy=~\"$backend\", instance=\"$host\"}[$__rate_interval])", - "interval": "$interval", - "intervalFactor": 2, - "legendFormat": "Error {{ proxy }}", - "refId": "C", - "step": 240 - } - ], - "title": "Back - Error / Redispatch / Retry", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "requests", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [ - { - "matcher": { - "id": "byRegexp", - "options": "/.*.*/" - }, - "properties": [ - { - "id": "custom.fillOpacity", - "value": 0 - } - ] - } - ] - }, - "gridPos": { - "h": 14, - "w": 12, - "x": 12, - "y": 67 - }, - "id": 138, - "links": [], - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "multi", - "sort": "desc" - } - }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "editorMode": "code", - "expr": "haproxy_frontend_http_requests_rate_max{proxy=~\"$frontend\", instance=\"$host\"}", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Max {{ proxy }}", - "metric": "", - "range": true, - "refId": "A", - "step": 240 - } - ], - "title": "Front - Maximum observed number of HTTP requests per second", - "type": "timeseries" - } - ], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, - "refId": "A" - } - ], - "title": "Requests / Responses", - "type": "row" - }, - { - "collapsed": true, - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 5 - }, - "id": 176, - "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 14, - "w": 12, - "x": 0, - "y": 40 - }, - "id": 132, - "links": [], - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "haproxy_backend_connect_time_average_seconds{proxy=~\"$backend\",instance=\"$host\"}", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "{{ proxy }}", - "metric": "haproxy_backend_current_queue", - "refId": "B", - "step": 240 - } - ], - "title": "Back - Avg connection time", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 14, - "w": 12, - "x": 12, - "y": 40 - }, - "id": 209, - "links": [], - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "haproxy_backend_max_connect_time_seconds{proxy=~\"$backend\",instance=\"$host\"}", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "{{ proxy }}", - "metric": "haproxy_backend_current_queue", - "refId": "B", - "step": 240 - } - ], - "title": "Back - Max connection time", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 14, - "w": 12, - "x": 0, - "y": 54 - }, - "id": 178, - "links": [], - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "haproxy_backend_total_time_average_seconds{proxy=~\"$backend\",instance=\"$host\"}", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "{{ proxy }}", - "metric": "haproxy_backend_current_queue", - "refId": "D", - "step": 240 - } - ], - "title": "Back - Avg. total time", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 14, - "w": 12, - "x": 12, - "y": 54 - }, - "id": 210, - "links": [], - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "haproxy_backend_max_total_time_seconds{proxy=~\"$backend\",instance=\"$host\"}", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "{{ proxy }}", - "metric": "haproxy_backend_current_queue", - "refId": "D", - "step": 240 - } - ], - "title": "Back - Max total time", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 14, - "w": 12, - "x": 0, - "y": 68 - }, - "id": 177, - "links": [], - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "haproxy_backend_response_time_average_seconds{proxy=~\"$backend\",instance=\"$host\"}", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "{{ proxy }}", - "metric": "haproxy_backend_current_queue", - "refId": "C", - "step": 240 - } - ], - "title": "Back - Avg. response time", - "type": "timeseries" + "editorMode": "code", + "expr": "sum(rate(haproxy_frontend_sessions_total{proxy=~\"$frontend\",instance=\"$host\"}[$__rate_interval])) by (instance)", + "interval": "$interval", + "intervalFactor": 1, + "legendFormat": "Front", + "metric": "", + "range": true, + "refId": "A", + "step": 240 }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] + "uid": "${DS_PROMETHEUS}" }, - "gridPos": { - "h": 14, - "w": 12, - "x": 12, - "y": 68 + "editorMode": "code", + "expr": "sum(rate(haproxy_backend_sessions_total{proxy=~\"$backend\",instance=\"$host\"}[$__rate_interval])) by (instance)", + "hide": false, + "interval": "$interval", + "intervalFactor": 1, + "legendFormat": "Back", + "metric": "", + "range": true, + "refId": "B", + "step": 240 + } + ], + "title": "Sessions", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "back (-) / front (+)", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 20, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } }, - "id": 211, "links": [], - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + } + ] }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "haproxy_backend_max_response_time_seconds{proxy=~\"$backend\",instance=\"$host\"}", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "{{ proxy }}", - "metric": "haproxy_backend_current_queue", - "refId": "C", - "step": 240 - } - ], - "title": "Back - Max response time", - "type": "timeseries" + "unit": "ops" }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 14, - "w": 12, - "x": 0, - "y": 82 - }, - "id": 127, - "links": [], - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/.*Back.*/" }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "haproxy_backend_queue_time_average_seconds{proxy=~\"$backend\",instance=\"$host\"}", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "{{ proxy }}", - "metric": "", - "refId": "A", - "step": 240 - } + "properties": [ + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + } + ] + }, + "gridPos": { + "h": 10, + "w": 12, + "x": 12, + "y": 21 + }, + "id": 79, + "options": { + "legend": { + "calcs": [ + "min", + "mean", + "max" ], - "title": "Back - Avg. queue time for last 1024 successful connections", - "type": "timeseries" + "displayMode": "table", + "placement": "bottom", + "showLegend": true }, + "tooltip": { + "hideZeros": false, + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "11.6.1", + "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "description": "", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 20, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "links": [], - "mappings": [], - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green" - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] + "editorMode": "code", + "expr": "sum(rate(haproxy_frontend_connections_total{proxy=~\"$frontend\",instance=\"$host\"}[$__rate_interval])) by (instance)", + "interval": "$interval", + "intervalFactor": 1, + "legendFormat": "Front", + "metric": "", + "range": true, + "refId": "A", + "step": 240 + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "gridPos": { - "h": 14, - "w": 12, - "x": 12, - "y": 82 + "editorMode": "code", + "expr": "sum(rate(haproxy_backend_connection_attempts_total{proxy=~\"$backend\",instance=\"$host\"}[$__rate_interval])) by (instance)", + "hide": false, + "interval": "$interval", + "intervalFactor": 1, + "legendFormat": "Back", + "metric": "", + "range": true, + "refId": "B", + "step": 240 + } + ], + "title": "Connections", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "barWidthFactor": 0.6, + "drawStyle": "line", + "fillOpacity": 20, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "normal" + }, + "thresholdsStyle": { + "mode": "off" + } }, - "id": 212, "links": [], - "options": { - "legend": { - "calcs": [ - "mean", - "lastNotNull", - "max", - "min" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + } + ] }, - "pluginVersion": "9.2.0", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "haproxy_backend_max_queue_time_seconds{proxy=~\"$backend\",instance=\"$host\"}", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "{{ proxy }}", - "metric": "", - "refId": "A", - "step": 240 - } + "unit": "short" + }, + "overrides": [] + }, + "gridPos": { + "h": 4, + "w": 22, + "x": 0, + "y": 31 + }, + "id": 85, + "options": { + "legend": { + "calcs": [ + "min", + "mean", + "max" ], - "title": "Back - Max queue time", - "type": "timeseries" + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "hideZeros": false, + "mode": "multi", + "sort": "none" } - ], + }, + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "000000001" + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum(haproxy_frontend_status{instance=\"$host\",state=\"UP\"} == 1)", + "hide": false, + "interval": "$interval", + "intervalFactor": 1, + "legendFormat": "Front Up", + "range": true, + "refId": "A", + "step": 240 + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "refId": "A" + "editorMode": "code", + "expr": "sum(haproxy_backend_status{instance=\"$host\",state=\"UP\"} ==1)", + "interval": "$interval", + "intervalFactor": 1, + "legendFormat": "Back Up", + "range": true, + "refId": "B", + "step": 240 } ], - "title": "Times", - "type": "row" + "title": "Status UP", + "type": "timeseries" }, { - "collapsed": true, "datasource": { "type": "prometheus", - "uid": "000000001" + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 0, + "mappings": [ + { + "options": { + "match": "null", + "result": { + "text": "N/A" + } + }, + "type": "special" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + } + ] + }, + "unit": "s" + }, + "overrides": [] }, + "gridPos": { + "h": 4, + "w": 2, + "x": 22, + "y": 31 + }, + "id": 149, + "maxDataPoints": 100, + "options": { + "colorMode": "none", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal", + "percentChangeColorMode": "standard", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showPercentChange": false, + "textMode": "auto", + "wideLayout": true + }, + "pluginVersion": "11.6.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "time() - haproxy_process_start_time_seconds{instance=\"$host\"}", + "intervalFactor": 1, + "range": true, + "refId": "A", + "step": 240 + } + ], + "title": "Uptime", + "type": "stat" + }, + { + "collapsed": true, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 6 + "y": 35 }, - "id": 156, + "id": 155, "panels": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -3854,9 +1169,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "responses", + "axisLabel": "fail (-) / total (+)", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -3876,7 +1192,7 @@ "spanNulls": false, "stacking": { "group": "A", - "mode": "none" + "mode": "normal" }, "thresholdsStyle": { "mode": "off" @@ -3884,73 +1200,120 @@ }, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "reqps" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/.*Error.*/" + }, + "properties": [ + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + }, + { + "matcher": { + "id": "byRegexp", + "options": "/.*Denied.*/" + }, + "properties": [ + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + } + ] }, "gridPos": { - "h": 13, + "h": 14, "w": 12, "x": 0, - "y": 7 + "y": 8987 }, - "id": 47, + "id": 46, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "rate(haproxy_frontend_http_responses_total{proxy=~\"$frontend\",instance=\"$host\"}[$__rate_interval])", + "expr": "rate(haproxy_frontend_http_requests_total{proxy=~\"$frontend\",instance=\"$host\"}[$__rate_interval])", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "{{ code }} {{ proxy }} ", + "legendFormat": "Total {{ proxy }}", "metric": "", "range": true, "refId": "A", "step": 240 + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "rate(haproxy_frontend_request_errors_total{proxy=~\"$frontend\", instance=\"$host\"}[$__rate_interval])", + "interval": "$interval", + "intervalFactor": 1, + "legendFormat": "Error {{ proxy }}", + "range": true, + "refId": "B", + "step": 240 + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "rate(haproxy_frontend_requests_denied_total{proxy=~\"$frontend\", instance=\"$host\"}[$__rate_interval])", + "interval": "$interval", + "intervalFactor": 1, + "legendFormat": "Denied {{ proxy }}", + "range": true, + "refId": "C", + "step": 240 } ], - "title": "Front - HTTP responses code", + "title": "Front - HTTP requests Total / Error / Denied", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -3962,9 +1325,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "responses", + "axisLabel": "fail (-) / total (+)", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -3984,7 +1348,7 @@ "spanNulls": false, "stacking": { "group": "A", - "mode": "none" + "mode": "normal" }, "thresholdsStyle": { "mode": "off" @@ -3992,74 +1356,96 @@ }, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "reqps" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/.*Denied.*/" + }, + "properties": [ + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + } + ] }, "gridPos": { - "h": 13, + "h": 14, "w": 12, "x": 12, - "y": 7 + "y": 8987 }, - "id": 24, + "id": 134, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "rate(haproxy_backend_http_responses_total{proxy=~\"$backend\", instance=\"$host\"}[$__rate_interval])", + "expr": "rate(haproxy_backend_http_requests_total{proxy=~\"$backend\",instance=\"$host\"}[$__rate_interval])", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "{{ code }} {{ proxy }}", + "legendFormat": "Total {{ proxy }}", "metric": "", "range": true, - "refId": "A", + "refId": "A", + "step": 240 + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "rate(haproxy_backend_requests_denied_total{proxy=~\"$backend\", instance=\"$host\"}[$__rate_interval])", + "interval": "$interval", + "intervalFactor": 1, + "legendFormat": "Denied {{ proxy }}", + "range": true, + "refId": "B", "step": 240 } ], - "title": "Back - HTTP responses code", + "title": "Back - HTTP requests Total / Denied", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, + "description": "", "fieldConfig": { "defaults": { "color": { @@ -4072,6 +1458,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -4099,98 +1486,67 @@ }, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "reqps" }, "overrides": [] }, "gridPos": { - "h": 11, - "w": 24, + "h": 13, + "w": 12, "x": 0, - "y": 20 + "y": 11975 }, - "id": 64, + "id": 47, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", - "placement": "right", + "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_server_http_responses_total{proxy=~\"$backend\",server=~\"$server\",code=~\"$code\",instance=\"$host\"}[$__rate_interval])", + "editorMode": "code", + "expr": "sum(rate(haproxy_frontend_http_responses_total{proxy=~\"$frontend\", code=~\"$code\",instance=\"$host\"}[$__rate_interval])) by (proxy)", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "{{ code }} {{ proxy }} {{ server }}", + "legendFormat": "{{ proxy }} ", "metric": "", + "range": true, "refId": "A", "step": 240 } ], - "title": "Server - HTTP responses code", + "title": "Front - HTTP responses", "type": "timeseries" - } - ], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, - "refId": "A" - } - ], - "title": "Responses by HTTP code", - "type": "row" - }, - { - "collapsed": true, - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 7 - }, - "id": 157, - "panels": [ + }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -4202,9 +1558,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "- denied / + total", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -4236,110 +1593,64 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "reqps" }, - "overrides": [ - { - "matcher": { - "id": "byRegexp", - "options": "/.*Denied.*/" - }, - "properties": [ - { - "id": "custom.transform", - "value": "negative-Y" - } - ] - } - ] + "overrides": [] }, "gridPos": { "h": 13, "w": 12, - "x": 0, - "y": 8 + "x": 12, + "y": 11975 }, - "id": 45, + "id": 24, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { - "mode": "single", - "sort": "none" + "hideZeros": false, + "mode": "multi", + "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_frontend_sessions_total{proxy=~\"$frontend\",instance=\"$host\"}[$__rate_interval])", - "hide": false, + "editorMode": "code", + "expr": "sum(rate(haproxy_backend_http_responses_total{proxy=~\"$backend\", code=~\"$code\",instance=\"$host\"}[$__rate_interval])) by (proxy)", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Total {{ proxy }}", + "legendFormat": "{{ proxy }}", "metric": "", + "range": true, "refId": "A", "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "rate(haproxy_frontend_denied_sessions_total{proxy=~\"$frontend\",instance=\"$host\"}[$__rate_interval])", - "hide": false, - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Denied {{ proxy }}", - "metric": "", - "refId": "B", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "haproxy_frontend_current_sessions{proxy=~\"$frontend\",instance=\"$host\"}", - "hide": true, - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Current active {{ proxy }}", - "metric": "", - "refId": "C", - "step": 240 } ], - "title": "Front - Number of sessions", + "title": "Back - HTTP responses", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "description": "", "fieldConfig": { "defaults": { "color": { @@ -4349,9 +1660,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "total", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -4377,87 +1689,72 @@ "mode": "off" } }, + "decimals": 1, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "reqps" }, "overrides": [] }, "gridPos": { - "h": 13, - "w": 12, - "x": 12, - "y": 8 + "h": 8, + "w": 24, + "x": 0, + "y": 11988 }, - "id": 30, + "id": 242, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", - "placement": "bottom", - "showLegend": true + "placement": "right", + "showLegend": true, + "sortBy": "Max", + "sortDesc": true }, "tooltip": { - "mode": "single", - "sort": "none" + "hideZeros": false, + "mode": "multi", + "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_backend_sessions_total{proxy=~\"$backend\",instance=\"$host\"}[$__rate_interval])", - "hide": false, + "editorMode": "code", + "expr": "sum(rate(haproxy_server_http_responses_total{proxy=~\"$backend\",server=~\"$server\",code=~\"$code\",instance=\"$host\"}[$__rate_interval])) by (proxy, server)", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Total {{ proxy }}", + "legendFormat": "{{ proxy }} / {{ server }}", "metric": "", + "range": true, "refId": "A", "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "haproxy_backend_current_sessions{proxy=~\"$backend\",instance=\"$host\"}", - "hide": true, - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Current active {{ proxy }}", - "metric": "", - "refId": "B", - "step": 240 } ], - "title": "Back - Number of sessions", + "title": "Server - HTTP responses", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -4469,11 +1766,12 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "sessions", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 10, + "fillOpacity": 20, "gradientMode": "none", "hideFrom": { "legend": false, @@ -4482,7 +1780,7 @@ }, "insertNulls": false, "lineInterpolation": "linear", - "lineWidth": 2, + "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" @@ -4499,97 +1797,67 @@ }, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "reqps" }, - "overrides": [ - { - "matcher": { - "id": "byRegexp", - "options": "/.*Limit.*/" - }, - "properties": [ - { - "id": "custom.fillOpacity", - "value": 0 - } - ] - } - ] + "overrides": [] }, "gridPos": { "h": 13, "w": 12, "x": 0, - "y": 21 + "y": 11996 }, - "id": 34, + "id": 245, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { - "mode": "single", - "sort": "none" + "hideZeros": false, + "mode": "multi", + "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_backend_max_sessions{proxy=~\"$backend\",instance=\"$host\"}", - "hide": false, + "editorMode": "code", + "expr": "rate(haproxy_frontend_http_responses_total{proxy=~\"$frontend\", code=~\"$code\",instance=\"$host\"}[$__rate_interval])", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Max {{ proxy }}", + "legendFormat": "{{ code }} {{ proxy }} ", "metric": "", + "range": true, "refId": "A", "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "haproxy_backend_limit_sessions{proxy=~\"$backend\",instance=\"$host\"}", - "interval": "$interval", - "intervalFactor": 2, - "legendFormat": "Limit {{ proxy }}", - "refId": "B", - "step": 240 } ], - "title": "Back - Maximum observed number of active sessions and limit", + "title": "Front - HTTP responses code", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -4601,9 +1869,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "sessions", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -4631,99 +1900,68 @@ }, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "reqps" }, - "overrides": [ - { - "matcher": { - "id": "byRegexp", - "options": "/.*Limit.*/" - }, - "properties": [ - { - "id": "custom.fillOpacity", - "value": 0 - } - ] - } - ] + "overrides": [] }, "gridPos": { "h": 13, "w": 12, "x": 12, - "y": 21 + "y": 11996 }, - "id": 51, + "id": 246, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { - "mode": "single", - "sort": "none" + "hideZeros": false, + "mode": "multi", + "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_frontend_max_sessions{proxy=~\"$frontend\",instance=\"$host\"}", - "hide": false, + "editorMode": "code", + "expr": "rate(haproxy_backend_http_responses_total{proxy=~\"$backend\", code=~\"$code\",instance=\"$host\"}[$__rate_interval])", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Max {{ proxy }}", + "legendFormat": "{{ code }} {{ proxy }}", "metric": "", + "range": true, "refId": "A", "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "haproxy_frontend_limit_sessions{proxy=~\"$frontend\",instance=\"$host\"}", - "interval": "$interval", - "intervalFactor": 2, - "legendFormat": "Limit {{ proxy }}", - "refId": "B", - "step": 240 } ], - "title": "Front - Maximum observed number of active sessions and limit", + "title": "Back - HTTP responses code", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "description": "", "fieldConfig": { "defaults": { "color": { @@ -4733,9 +1971,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "sessions", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -4761,74 +2000,72 @@ "mode": "off" } }, + "decimals": 1, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "reqps" }, "overrides": [] }, "gridPos": { - "h": 13, - "w": 12, + "h": 9, + "w": 24, "x": 0, - "y": 34 + "y": 12009 }, - "id": 33, + "id": 240, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", - "placement": "bottom", - "showLegend": true + "placement": "right", + "showLegend": true, + "sortBy": "Name", + "sortDesc": false }, "tooltip": { - "mode": "single", - "sort": "none" + "hideZeros": false, + "mode": "multi", + "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_backend_max_session_rate{proxy=~\"$backend\",instance=\"$host\"}", - "hide": false, + "editorMode": "code", + "expr": "rate(haproxy_server_http_responses_total{proxy=~\"$backend\",server=~\"$server\",code=~\"$code\",instance=\"$host\"}[$__rate_interval])", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Max {{ proxy }}", + "legendFormat": "{{ code }} - {{ proxy }} / {{ server }}", "metric": "", + "range": true, "refId": "A", "step": 240 } ], - "title": "Back - Maximum observed number of sessions per second", + "title": "Server - HTTP responses code", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -4840,9 +2077,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "sessions", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -4862,7 +2100,7 @@ "spanNulls": false, "stacking": { "group": "A", - "mode": "none" + "mode": "normal" }, "thresholdsStyle": { "mode": "off" @@ -4870,97 +2108,80 @@ }, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "reqps" }, "overrides": [ { "matcher": { "id": "byRegexp", - "options": "/.*Limit.*/" + "options": "/.*Denied.*/" }, "properties": [ { - "id": "custom.fillOpacity", - "value": 0 + "id": "custom.transform", + "value": "negative-Y" } ] } ] }, "gridPos": { - "h": 13, + "h": 14, "w": 12, - "x": 12, - "y": 34 + "x": 0, + "y": 12018 }, - "id": 69, + "id": 115, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { - "mode": "single", - "sort": "none" + "hideZeros": false, + "mode": "multi", + "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_frontend_max_session_rate{proxy=~\"$frontend\",instance=\"$host\"}", - "hide": false, + "editorMode": "code", + "expr": "rate(haproxy_frontend_responses_denied_total{proxy=~\"$frontend\",instance=\"$host\"}[$__rate_interval])", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Max {{ proxy }}", + "legendFormat": "{{ proxy }}", "metric": "", + "range": true, "refId": "A", "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "haproxy_frontend_limit_session_rate{proxy=~\"$frontend\",instance=\"$host\"}", - "interval": "", - "intervalFactor": 2, - "legendFormat": "Limit {{ proxy }}", - "refId": "B", - "step": 240 } ], - "title": "Front - Maximum observed number of sessions per second and limit", + "title": "Front - HTTP responses denied", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -4972,9 +2193,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "sessions", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -4994,7 +2216,7 @@ "spanNulls": false, "stacking": { "group": "A", - "mode": "none" + "mode": "normal" }, "thresholdsStyle": { "mode": "off" @@ -5006,66 +2228,63 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "reqps" }, "overrides": [] }, "gridPos": { - "h": 13, + "h": 14, "w": 12, - "x": 0, - "y": 47 + "x": 12, + "y": 12018 }, - "id": 117, + "id": 126, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_backend_failed_header_rewriting_total{proxy=~\"$frontend\",instance=\"$host\"}[$__rate_interval])", + "editorMode": "code", + "expr": "rate(haproxy_backend_responses_denied_total{proxy=~\"$backend\", instance=\"$host\"}[$__rate_interval])", "interval": "$interval", "intervalFactor": 1, "legendFormat": "{{ proxy }}", "metric": "", - "refId": "A", + "range": true, + "refId": "B", "step": 240 } ], - "title": "Back - Failed header rewriting warnings", + "title": "Back - HTTP responses denied", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -5077,9 +2296,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "sessions", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -5105,72 +2325,70 @@ "mode": "off" } }, + "decimals": 1, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "reqps" }, "overrides": [] }, "gridPos": { - "h": 13, - "w": 12, - "x": 12, - "y": 47 + "h": 9, + "w": 24, + "x": 0, + "y": 12032 }, - "id": 119, + "id": 187, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", - "placement": "bottom", + "placement": "right", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_frontend_failed_header_rewriting_total{proxy=~\"$frontend\",instance=\"$host\"}[$__rate_interval])", + "editorMode": "code", + "expr": "rate(haproxy_server_responses_denied_total{proxy=~\"$backend\", instance=\"$host\"}[$__rate_interval])", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "{{ proxy }}", + "legendFormat": "{{ proxy }} / {{ server }}", "metric": "", - "refId": "A", + "range": true, + "refId": "B", "step": 240 } ], - "title": "Front - Failed header rewriting warnings", + "title": "Server - HTTP responses denied", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -5182,11 +2400,12 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "", + "axisLabel": "error (-) / recover (+)", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 0, + "fillOpacity": 20, "gradientMode": "none", "hideFrom": { "legend": false, @@ -5204,7 +2423,7 @@ "spanNulls": false, "stacking": { "group": "A", - "mode": "none" + "mode": "normal" }, "thresholdsStyle": { "mode": "off" @@ -5216,16 +2435,11 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "s" + "unit": "reqps" }, "overrides": [ { @@ -5239,68 +2453,86 @@ "value": "negative-Y" } ] - }, - { - "matcher": { - "id": "byRegexp", - "options": "/.*Denied.*/" - }, - "properties": [ - { - "id": "custom.transform", - "value": "negative-Y" - } - ] } ] }, "gridPos": { - "h": 13, + "h": 14, "w": 12, - "x": 0, - "y": 60 + "x": 12, + "y": 12041 }, - "id": 124, + "id": 35, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_backend_last_session_seconds{proxy=~\"$frontend\",instance=\"$host\"}[$__rate_interval])", + "editorMode": "code", + "expr": "rate(haproxy_backend_redispatch_warnings_total{proxy=~\"$backend\", instance=\"$host\"}[$__rate_interval])", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "{{ proxy }}", + "legendFormat": "Redispatch {{ proxy }}", "metric": "", + "range": true, "refId": "A", "step": 240 + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "rate(haproxy_backend_retry_warnings_total{proxy=~\"$backend\", instance=\"$host\"}[$__rate_interval])", + "interval": "$interval", + "intervalFactor": 1, + "legendFormat": "Retry {{ proxy }}", + "range": true, + "refId": "B", + "step": 240 + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "rate(haproxy_backend_response_errors_total{proxy=~\"$backend\", instance=\"$host\"}[$__rate_interval])", + "interval": "$interval", + "intervalFactor": 1, + "legendFormat": "Error {{ proxy }}", + "range": true, + "refId": "C", + "step": 240 } ], - "title": "Back - Last session assigned", + "title": "Back - Error / Redispatch / Retry", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -5312,9 +2544,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "", + "axisLabel": "error (-) / recover (+)", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -5340,74 +2573,128 @@ "mode": "off" } }, + "decimals": 1, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "reqps" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/.*Error.*/" + }, + "properties": [ + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + } + ] }, "gridPos": { - "h": 13, - "w": 12, - "x": 12, - "y": 60 + "h": 9, + "w": 24, + "x": 0, + "y": 12055 }, - "id": 120, + "id": 71, "options": { "legend": { "calcs": [ "mean", "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", - "placement": "bottom", + "placement": "right", "showLegend": true }, "tooltip": { - "mode": "single", - "sort": "none" + "hideZeros": false, + "mode": "multi", + "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_frontend_http_requests_rate_max{proxy=~\"$frontend\",instance=\"$host\"}", + "editorMode": "code", + "expr": "rate(haproxy_server_redispatch_warnings_total{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}[$__rate_interval])", "hide": false, "interval": "$interval", "intervalFactor": 1, - "legendFormat": "{{ proxy }}", + "legendFormat": "Redispatch {{ proxy }} / {{ server }}", + "range": true, + "refId": "B", + "step": 240 + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "rate(haproxy_server_retry_warnings_total{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}[$__rate_interval])", + "hide": false, + "interval": "$interval", + "intervalFactor": 1, + "legendFormat": "Retry {{ proxy }} / {{ server }}", "metric": "", + "range": true, "refId": "A", "step": 240 + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "rate(haproxy_server_response_errors_total{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}[$__rate_interval])", + "hide": false, + "interval": "$interval", + "intervalFactor": 1, + "legendFormat": "Error {{ proxy }} / {{ server }}", + "range": true, + "refId": "C", + "step": 240 } ], - "title": "Front - Maximum observed number of HTTP requests per second", + "title": "Server - Error / Redispatch / Retry", "type": "timeseries" - }, + } + ], + "title": "Requests / Responses", + "type": "row" + }, + { + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 36 + }, + "id": 182, + "panels": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -5419,9 +2706,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "- server / + client", + "axisLabel": "out (-) / in (+)", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -5441,7 +2729,7 @@ "spanNulls": false, "stacking": { "group": "A", - "mode": "none" + "mode": "normal" }, "thresholdsStyle": { "mode": "off" @@ -5453,22 +2741,17 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "s" + "unit": "bps" }, "overrides": [ { "matcher": { "id": "byRegexp", - "options": "/.*By server.*/" + "options": "/.*OUT.*/" }, "properties": [ { @@ -5480,65 +2763,68 @@ ] }, "gridPos": { - "h": 13, + "h": 15, "w": 12, "x": 0, - "y": 73 + "y": 8988 }, - "id": 128, + "id": 42, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", - "sort": "desc" + "sort": "none" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_backend_client_aborts_total{proxy=~\"$frontend\",instance=\"$host\"}[$__rate_interval])", + "editorMode": "code", + "expr": "rate(haproxy_frontend_bytes_in_total{proxy=~\"$frontend\",instance=\"$host\"}[$__rate_interval])*8", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "By client {{ proxy }}", + "legendFormat": "IN {{ proxy }}", "metric": "", + "range": true, "refId": "A", "step": 240 }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_backend_server_aborts_total{proxy=~\"$frontend\",instance=\"$host\"}[$__rate_interval])", + "editorMode": "code", + "expr": "rate(haproxy_frontend_bytes_out_total{proxy=~\"$frontend\",instance=\"$host\"}[$__rate_interval])*8", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "By server {{ proxy }}", - "metric": "", + "legendFormat": "OUT {{ proxy }}", + "range": true, "refId": "B", "step": 240 } ], - "title": "Back - Data transfers aborted", + "title": "Front - Data transfer", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -5550,9 +2836,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "", + "axisLabel": "out (-) / in (+)", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -5572,7 +2859,7 @@ "spanNulls": false, "stacking": { "group": "A", - "mode": "none" + "mode": "normal" }, "thresholdsStyle": { "mode": "off" @@ -5584,22 +2871,17 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "bps" }, "overrides": [ { "matcher": { "id": "byRegexp", - "options": "/.*server.*/" + "options": "/.*OUT.*/" }, "properties": [ { @@ -5611,42 +2893,42 @@ ] }, "gridPos": { - "h": 13, + "h": 15, "w": 12, "x": 12, - "y": 73 + "y": 8988 }, - "id": 146, + "id": 1, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", - "sort": "desc" + "sort": "none" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "haproxy_server_client_aborts_total{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}", + "expr": "rate(haproxy_backend_bytes_in_total{proxy=~\"$backend\",instance=\"$host\"}[$__rate_interval])*8", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "By client {{ proxy }} / {{ server }}", - "metric": "", + "legendFormat": "IN {{ proxy }}", + "metric": "haproxy_backend_", "range": true, "refId": "A", "step": 240 @@ -5654,53 +2936,25 @@ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "haproxy_server_server_aborts_total{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}", + "expr": "rate(haproxy_backend_bytes_out_total{proxy=~\"$backend\",instance=\"$host\"}[$__rate_interval])*8", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "By server {{ proxy }} / {{ server }}", - "metric": "", + "legendFormat": "OUT {{ proxy }}", "range": true, "refId": "B", "step": 240 } ], - "title": "Server - Data transfers aborted", + "title": "Back - Data transfer", "type": "timeseries" - } - ], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, - "refId": "A" - } - ], - "title": "Sessions", - "type": "row" - }, - { - "collapsed": true, - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 8 - }, - "id": 158, - "panels": [ + }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -5712,9 +2966,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "transitions", + "axisLabel": "out (-) / in (+)", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -5740,73 +2995,98 @@ "mode": "off" } }, + "decimals": 1, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "bps" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/.*OUT.*/" + }, + "properties": [ + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + } + ] }, "gridPos": { - "h": 14, - "w": 12, + "h": 7, + "w": 24, "x": 0, - "y": 9 + "y": 11977 }, - "id": 38, + "id": 129, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", - "placement": "bottom", + "placement": "right", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", - "sort": "asc" + "sort": "none" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_backend_check_up_down_total{proxy=~\"$backend\", instance=\"$host\"}[$__rate_interval])", + "editorMode": "code", + "expr": "rate(haproxy_server_bytes_in_total{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}[$__rate_interval])*8", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "{{ proxy }}", + "legendFormat": "IN {{ proxy }} / {{ server }}", "metric": "", + "range": true, "refId": "A", "step": 240 + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "rate(haproxy_server_bytes_out_total{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}[$__rate_interval])*8", + "hide": false, + "interval": "$interval", + "intervalFactor": 1, + "legendFormat": "OUT {{ proxy }} / {{ server }}", + "range": true, + "refId": "B", + "step": 240 } ], - "title": "Back - UP->DOWN transitions", + "title": "Server - Data transfer", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -5818,9 +3098,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "weight", + "axisLabel": "deny (-) / accept (+)", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -5840,7 +3121,7 @@ "spanNulls": false, "stacking": { "group": "A", - "mode": "none" + "mode": "normal" }, "thresholdsStyle": { "mode": "off" @@ -5848,71 +3129,95 @@ }, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "ops" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/.*Denied*/" + }, + "properties": [ + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + } + ] }, "gridPos": { - "h": 14, + "h": 15, "w": 12, - "x": 12, - "y": 9 + "x": 0, + "y": 11984 }, - "id": 39, + "id": 43, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { - "mode": "multi", - "sort": "asc" + "hideZeros": false, + "mode": "single", + "sort": "none" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_backend_weight{proxy=~\"$backend\", instance=\"$host\"}", + "editorMode": "code", + "expr": "rate(haproxy_frontend_connections_total{proxy=~\"$frontend\",instance=\"$host\"}[$__rate_interval])", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "{{ proxy }}", - "metric": "", + "legendFormat": "Accepted {{ proxy }}", + "metric": "haproxy_backe", + "range": true, "refId": "A", "step": 240 + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "rate(haproxy_frontend_denied_connections_total{proxy=~\"$frontend\",instance=\"$host\"}[$__rate_interval])", + "interval": "$interval", + "intervalFactor": 1, + "legendFormat": "Denied {{ proxy }}", + "metric": "haproxy_backe", + "range": true, + "refId": "B", + "step": 240 } ], - "title": "Back - Service weight", + "title": "Front - Connections Accepted / Denied", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -5924,9 +3229,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "weight", + "axisLabel": "error (-) / attempt (+)", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -5946,7 +3252,7 @@ "spanNulls": false, "stacking": { "group": "A", - "mode": "none" + "mode": "normal" }, "thresholdsStyle": { "mode": "off" @@ -5954,98 +3260,95 @@ }, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "ops" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/.*Error.*/" + }, + "properties": [ + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + } + ] }, "gridPos": { - "h": 14, + "h": 15, "w": 12, "x": 12, - "y": 23 + "y": 11984 }, - "id": 220, + "id": 27, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { - "mode": "multi", - "sort": "asc" + "hideZeros": false, + "mode": "single", + "sort": "none" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_backend_uweight{proxy=~\"$backend\", instance=\"$host\"}", + "editorMode": "code", + "expr": "rate(haproxy_backend_connection_attempts_total{proxy=~\"$backend\",instance=\"$host\"}[$__rate_interval])", + "hide": false, "interval": "$interval", "intervalFactor": 1, - "legendFormat": "{{ proxy }}", + "legendFormat": "Attempt {{ proxy }}", "metric": "", + "range": true, "refId": "A", "step": 240 + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "rate(haproxy_backend_connection_errors_total{proxy=~\"$backend\",instance=\"$host\"}[$__rate_interval])", + "interval": "$interval", + "intervalFactor": 1, + "legendFormat": "Error {{ proxy }}", + "range": true, + "refId": "B", + "step": 240 } ], - "title": "Back - Service user weight", + "title": "Back - Connections Attempts / Errors", "type": "timeseries" - } - ], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, - "refId": "A" - } - ], - "title": "Health and Weight", - "type": "row" - }, - { - "collapsed": true, - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 9 - }, - "id": 159, - "panels": [ + }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -6057,9 +3360,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "counter", + "axisLabel": "error (-) / attempts (+)", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -6085,103 +3389,98 @@ "mode": "off" } }, + "decimals": 1, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "ops" }, "overrides": [ { "matcher": { "id": "byRegexp", - "options": "/.*Hits.*/" + "options": "/.*Error.*/" }, "properties": [ { - "id": "custom.fillOpacity", - "value": 0 + "id": "custom.transform", + "value": "negative-Y" } ] } ] }, "gridPos": { - "h": 11, - "w": 12, + "h": 7, + "w": 24, "x": 0, - "y": 10 + "y": 11999 }, - "id": 121, + "id": 130, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", - "placement": "bottom", + "placement": "right", "showLegend": true }, "tooltip": { - "mode": "multi", - "sort": "asc" + "hideZeros": false, + "mode": "single", + "sort": "none" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "rate(haproxy_frontend_http_cache_lookups_total{proxy=~\"$frontend\", instance=\"$host\"}[$__rate_interval])", + "expr": "rate(haproxy_server_connection_attempts_total{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}[$__rate_interval])", + "hide": false, "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Lookups {{ proxy }} ", + "legendFormat": "Attempts {{ proxy }} / {{ server }}", "metric": "", "range": true, - "refId": "A", + "refId": "B", "step": 240 }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "rate(haproxy_frontend_http_cache_hits_total{proxy=~\"$frontend\", instance=\"$host\"}[$__rate_interval])", + "expr": "rate(haproxy_server_connection_errors_total{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}[$__rate_interval])", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Hits {{ proxy }} ", - "metric": "", + "legendFormat": "Error {{ proxy }} / {{ server }}", "range": true, - "refId": "B", + "refId": "A", "step": 240 } ], - "title": "Front - Cache lookups / hits", + "title": "Server - Connections Attempts / Error", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -6193,9 +3492,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "counter", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -6215,7 +3515,7 @@ "spanNulls": false, "stacking": { "group": "A", - "mode": "none" + "mode": "normal" }, "thresholdsStyle": { "mode": "off" @@ -6223,97 +3523,66 @@ }, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "ops" }, - "overrides": [ - { - "matcher": { - "id": "byRegexp", - "options": "/.*Hits.*/" - }, - "properties": [ - { - "id": "custom.fillOpacity", - "value": 0 - } - ] - } - ] + "overrides": [] }, "gridPos": { - "h": 11, + "h": 15, "w": 12, "x": 12, - "y": 10 + "y": 12006 }, - "id": 139, + "id": 131, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { - "mode": "multi", - "sort": "asc" + "hideZeros": false, + "mode": "single", + "sort": "none" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "rate(haproxy_backend_http_cache_lookups_total{proxy=~\"$backend\", instance=\"$host\"}[$__rate_interval])", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Lookups {{ proxy }} ", - "metric": "", - "refId": "A", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_backend_http_cache_hits_total{proxy=~\"$backend\", instance=\"$host\"}[$__rate_interval])", + "editorMode": "code", + "expr": "rate(haproxy_backend_connection_reuses_total{proxy=~\"$backend\",instance=\"$host\"}[$__rate_interval])", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Hits {{ proxy }} ", - "metric": "", - "refId": "B", + "legendFormat": "{{ proxy }}", + "range": true, + "refId": "C", "step": 240 } ], - "title": "Back - Cache lookups / hits", + "title": "Back - Connections reuses", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -6325,9 +3594,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "- emitted / + bypasses + fed", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -6353,128 +3623,83 @@ "mode": "off" } }, + "decimals": 1, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "bytes" + "unit": "ops" }, - "overrides": [ - { - "matcher": { - "id": "byRegexp", - "options": "/.*emitted.*/" - }, - "properties": [ - { - "id": "custom.transform", - "value": "negative-Y" - } - ] - }, - { - "matcher": { - "id": "byRegexp", - "options": "/.*bypassed.*/" - }, - "properties": [ - { - "id": "custom.fillOpacity", - "value": 0 - } - ] - } - ] + "overrides": [] }, "gridPos": { - "h": 11, - "w": 12, + "h": 7, + "w": 24, "x": 0, - "y": 21 + "y": 12021 }, - "id": 122, + "id": 179, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", - "placement": "bottom", + "placement": "right", "showLegend": true }, "tooltip": { - "mode": "multi", - "sort": "asc" + "hideZeros": false, + "mode": "single", + "sort": "none" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "editorMode": "code", - "expr": "rate(haproxy_frontend_http_comp_bytes_in_total{proxy=~\"$frontend\", instance=\"$host\"}[$__rate_interval])", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Bytes fed {{ proxy }} ", - "metric": "", - "range": true, - "refId": "A", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "rate(haproxy_frontend_http_comp_bytes_out_total{proxy=~\"$frontend\", instance=\"$host\"}[$__rate_interval])", + "expr": "rate(haproxy_server_connection_reuses_total{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}[$__rate_interval])", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Bytes emitted {{ proxy }} ", - "metric": "", + "legendFormat": "Reuses {{ proxy }} / {{ server }}", "range": true, - "refId": "B", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "rate(haproxy_frontend_http_comp_bytes_bypassed_total{proxy=~\"$backend\", instance=\"$host\"}[$__rate_interval])", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Bytes bypassed {{ proxy }} ", - "metric": "", "refId": "C", "step": 240 } ], - "title": "Front - Compressor", + "title": "Server - Connections reuses", "type": "timeseries" - }, + } + ], + "title": "Throughput / Connections", + "type": "row" + }, + { + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 37 + }, + "id": 157, + "panels": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -6486,9 +3711,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "- emitted / + bypasses + fed", + "axisLabel": "fail (-) / total (+)", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -6508,7 +3734,7 @@ "spanNulls": false, "stacking": { "group": "A", - "mode": "none" + "mode": "normal" }, "thresholdsStyle": { "mode": "off" @@ -6516,27 +3742,21 @@ }, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "bytes" + "unit": "ops" }, "overrides": [ { "matcher": { "id": "byRegexp", - "options": "/.*emitted.*/" + "options": "/.*Denied.*/" }, "properties": [ { @@ -6544,94 +3764,91 @@ "value": "negative-Y" } ] - }, - { - "matcher": { - "id": "byRegexp", - "options": "/.*bypassed.*/" - }, - "properties": [ - { - "id": "custom.fillOpacity", - "value": 0 - } - ] } ] }, "gridPos": { - "h": 11, + "h": 13, "w": 12, - "x": 12, - "y": 21 + "x": 0, + "y": 8989 }, - "id": 140, + "id": 45, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { - "mode": "multi", - "sort": "asc" + "hideZeros": false, + "mode": "single", + "sort": "none" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_backend_http_comp_bytes_in_total{proxy=~\"$backend\", instance=\"$host\"}[$__rate_interval])", + "editorMode": "code", + "expr": "rate(haproxy_frontend_sessions_total{proxy=~\"$frontend\",instance=\"$host\"}[$__rate_interval])", + "hide": false, "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Bytes fed {{ proxy }} ", + "legendFormat": "Total {{ proxy }}", "metric": "", + "range": true, "refId": "A", "step": 240 }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_backend_http_comp_bytes_out_total{proxy=~\"$backend\", instance=\"$host\"}[$__rate_interval])", + "editorMode": "code", + "expr": "rate(haproxy_frontend_denied_sessions_total{proxy=~\"$frontend\",instance=\"$host\"}[$__rate_interval])", + "hide": false, "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Bytes emitted {{ proxy }} ", + "legendFormat": "Denied {{ proxy }}", "metric": "", + "range": true, "refId": "B", "step": 240 }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_backend_http_comp_bytes_bypassed_total{proxy=~\"$backend\", instance=\"$host\"}[$__rate_interval])", + "editorMode": "code", + "expr": "haproxy_frontend_current_sessions{proxy=~\"$frontend\",instance=\"$host\"}", + "hide": true, "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Bytes bypassed {{ proxy }} ", + "legendFormat": "Current active {{ proxy }}", "metric": "", + "range": true, "refId": "C", "step": 240 } ], - "title": "Back - Compressor", + "title": "Front - Sessions", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -6643,9 +3860,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "responses", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -6665,7 +3883,7 @@ "spanNulls": false, "stacking": { "group": "A", - "mode": "none" + "mode": "normal" }, "thresholdsStyle": { "mode": "off" @@ -6673,73 +3891,84 @@ }, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "ops" }, "overrides": [] }, "gridPos": { - "h": 11, + "h": 13, "w": 12, - "x": 0, - "y": 32 + "x": 12, + "y": 8989 }, - "id": 123, + "id": 30, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { - "mode": "multi", - "sort": "asc" + "hideZeros": false, + "mode": "single", + "sort": "none" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "rate(haproxy_frontend_http_comp_responses_total{proxy=~\"$frontend\", instance=\"$host\"}[$__rate_interval])", + "expr": "rate(haproxy_backend_sessions_total{proxy=~\"$backend\",instance=\"$host\"}[$__rate_interval])", + "hide": false, "interval": "$interval", "intervalFactor": 1, - "legendFormat": "{{ proxy }} ", + "legendFormat": "Total {{ proxy }}", "metric": "", "range": true, "refId": "A", "step": 240 + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "haproxy_backend_current_sessions{proxy=~\"$backend\",instance=\"$host\"}", + "hide": true, + "interval": "$interval", + "intervalFactor": 1, + "legendFormat": "Current active {{ proxy }}", + "metric": "", + "range": true, + "refId": "B", + "step": 240 } ], - "title": "Front - Responses compressed", + "title": "Back - Sessions", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -6751,9 +3980,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "responses", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -6779,101 +4009,73 @@ "mode": "off" } }, + "decimals": 1, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "ops" }, "overrides": [] }, "gridPos": { - "h": 11, - "w": 12, - "x": 12, - "y": 32 + "h": 7, + "w": 24, + "x": 0, + "y": 10942 }, - "id": 141, + "id": 61, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", - "placement": "bottom", + "placement": "right", "showLegend": true }, "tooltip": { - "mode": "multi", - "sort": "asc" + "hideZeros": false, + "mode": "single", + "sort": "none" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_backend_http_comp_responses_total{proxy=~\"$backend\", instance=\"$host\"}[$__rate_interval])", + "editorMode": "code", + "expr": "rate(haproxy_server_sessions_total{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}[$__rate_interval])", + "hide": false, "interval": "$interval", "intervalFactor": 1, - "legendFormat": "{{ proxy }} ", + "legendFormat": "{{ proxy }} / {{ server }}", "metric": "", - "refId": "A", + "range": true, + "refId": "B", "step": 240 } ], - "title": "Back - Responses compressed", + "title": "Server - Session", "type": "timeseries" - } - ], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, - "refId": "A" - } - ], - "title": "Cache / Compressor", - "type": "row" - }, - { - "collapsed": true, - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 10 - }, - "id": 160, - "panels": [ + }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, + "description": "", "fieldConfig": { "defaults": { "color": { @@ -6883,11 +4085,12 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "counter", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 0, + "fillOpacity": 20, "gradientMode": "none", "hideFrom": { "legend": false, @@ -6896,12 +4099,12 @@ }, "insertNulls": false, "lineInterpolation": "linear", - "lineWidth": 2, + "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, - "showPoints": "never", + "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", @@ -6911,23 +4114,28 @@ "mode": "off" } }, + "fieldMinMax": false, "links": [], "mappings": [], + "max": 100, "min": 0, "thresholds": { - "mode": "absolute", + "mode": "percentage", "steps": [ { - "color": "green", - "value": null + "color": "green" + }, + { + "color": "#EAB839", + "value": 70 }, { "color": "red", - "value": 80 + "value": 90 } ] }, - "unit": "short" + "unit": "percent" }, "overrides": [] }, @@ -6935,50 +4143,53 @@ "h": 11, "w": 12, "x": 0, - "y": 11 + "y": 10949 }, - "id": 113, + "id": 221, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { - "mode": "multi", - "sort": "desc" + "hideZeros": false, + "mode": "single", + "sort": "none" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_frontend_status{proxy=~\"$frontend\",instance=\"$host\"}", + "editorMode": "code", + "expr": "rate(haproxy_frontend_sessions_total{proxy=~\"$frontend\",instance=\"$host\"}[$__rate_interval]) / haproxy_frontend_limit_sessions{proxy=~\"$frontend\",instance=\"$host\"} * 100", + "hide": false, "interval": "$interval", "intervalFactor": 1, "legendFormat": "{{ proxy }}", - "metric": "", - "refId": "A", + "range": true, + "refId": "C", "step": 240 } ], - "title": "Front - Status", + "title": "Front - Session usage", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, + "description": "", "fieldConfig": { "defaults": { "color": { @@ -6988,11 +4199,12 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "counter", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 0, + "fillOpacity": 20, "gradientMode": "none", "hideFrom": { "legend": false, @@ -7001,12 +4213,12 @@ }, "insertNulls": false, "lineInterpolation": "linear", - "lineWidth": 2, + "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, - "showPoints": "never", + "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", @@ -7016,23 +4228,28 @@ "mode": "off" } }, + "fieldMinMax": false, "links": [], "mappings": [], + "max": 100, "min": 0, "thresholds": { - "mode": "absolute", + "mode": "percentage", "steps": [ { - "color": "green", - "value": null + "color": "green" + }, + { + "color": "#EAB839", + "value": 70 }, { "color": "red", - "value": 80 + "value": 90 } ] }, - "unit": "short" + "unit": "percent" }, "overrides": [] }, @@ -7040,50 +4257,53 @@ "h": 11, "w": 12, "x": 12, - "y": 11 + "y": 10949 }, - "id": 112, + "id": 243, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { - "mode": "multi", - "sort": "desc" + "hideZeros": false, + "mode": "single", + "sort": "none" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_backend_status{proxy=~\"$backend\",instance=\"$host\"}", + "editorMode": "code", + "expr": "rate(haproxy_backend_sessions_total{proxy=~\"$backend\",instance=\"$host\"}[$__rate_interval]) / haproxy_backend_limit_sessions{proxy=~\"$backend\",instance=\"$host\"} * 100", + "hide": false, "interval": "$interval", "intervalFactor": 1, "legendFormat": "{{ proxy }}", - "metric": "", - "refId": "A", + "range": true, + "refId": "C", "step": 240 } ], - "title": "Back - Status", + "title": "Back - Session usage", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, + "description": "", "fieldConfig": { "defaults": { "color": { @@ -7093,11 +4313,12 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "counter", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 10, + "fillOpacity": 20, "gradientMode": "none", "hideFrom": { "legend": false, @@ -7106,7 +4327,7 @@ }, "insertNulls": false, "lineInterpolation": "linear", - "lineWidth": 2, + "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" @@ -7123,72 +4344,69 @@ }, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "eps" }, "overrides": [] }, "gridPos": { - "h": 11, + "h": 13, "w": 12, "x": 0, - "y": 22 + "y": 10960 }, - "id": 205, + "id": 119, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_frontend_internal_errors_total{proxy=~\"$backend\",instance=\"$host\"}[$__rate_interval])", + "editorMode": "code", + "expr": "rate(haproxy_frontend_failed_header_rewriting_total{proxy=~\"$frontend\",instance=\"$host\"}[$__rate_interval])", "interval": "$interval", "intervalFactor": 1, "legendFormat": "{{ proxy }}", "metric": "", + "range": true, "refId": "A", "step": 240 } ], - "title": "Front - Internal errors", + "title": "Front - Failed HTTP header rewrites", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, + "description": "", "fieldConfig": { "defaults": { "color": { @@ -7198,11 +4416,12 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "counter", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 10, + "fillOpacity": 20, "gradientMode": "none", "hideFrom": { "legend": false, @@ -7211,7 +4430,7 @@ }, "insertNulls": false, "lineInterpolation": "linear", - "lineWidth": 2, + "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" @@ -7228,72 +4447,69 @@ }, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "eps" }, "overrides": [] }, "gridPos": { - "h": 11, + "h": 13, "w": 12, "x": 12, - "y": 22 + "y": 10960 }, - "id": 171, + "id": 117, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_backend_internal_errors_total{proxy=~\"$backend\",instance=\"$host\"}[$__rate_interval])", + "editorMode": "code", + "expr": "rate(haproxy_backend_failed_header_rewriting_total{proxy=~\"$backend\",instance=\"$host\"}[$__rate_interval])", "interval": "$interval", "intervalFactor": 1, "legendFormat": "{{ proxy }}", "metric": "", + "range": true, "refId": "A", "step": 240 } ], - "title": "Back - Internal errors", + "title": "Back - Failed HTTP header rewrites", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, + "description": "", "fieldConfig": { "defaults": { "color": { @@ -7303,11 +4519,12 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "- backup / + active", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 0, + "fillOpacity": 20, "gradientMode": "none", "hideFrom": { "legend": false, @@ -7316,7 +4533,7 @@ }, "insertNulls": false, "lineInterpolation": "linear", - "lineWidth": 2, + "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" @@ -7331,73 +4548,72 @@ "mode": "off" } }, + "decimals": 1, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "eps" }, "overrides": [] }, "gridPos": { - "h": 11, - "w": 12, + "h": 7, + "w": 24, "x": 0, - "y": 33 + "y": 10973 }, - "id": 173, + "id": 137, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", - "placement": "bottom", + "placement": "right", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_backend_active_servers{proxy=~\"$backend\",instance=\"$host\"}", + "editorMode": "code", + "expr": "rate(haproxy_server_failed_header_rewriting_total{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}[$__rate_interval])", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "{{ proxy }}", + "legendFormat": "{{ proxy }} / {{ server }}", "metric": "", + "range": true, "refId": "A", "step": 240 } ], - "title": "Back - Active servers", + "title": "Server - Failed HTTP header rewrites", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, + "description": "", "fieldConfig": { "defaults": { "color": { @@ -7407,11 +4623,12 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "- backup / + active", + "axisLabel": "server (-) / client (+)", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 0, + "fillOpacity": 20, "gradientMode": "none", "hideFrom": { "legend": false, @@ -7420,7 +4637,7 @@ }, "insertNulls": false, "lineInterpolation": "linear", - "lineWidth": 2, + "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" @@ -7441,90 +4658,91 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "ops" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/.*Sserver.*/" + }, + "properties": [ + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + } + ] }, "gridPos": { - "h": 11, + "h": 13, "w": 12, "x": 12, - "y": 33 + "y": 10980 }, - "id": 208, + "id": 128, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_backend_backup_servers{proxy=~\"$backend\",instance=\"$host\"}", - "interval": "", - "legendFormat": "{{ proxy }}", - "refId": "B" + "editorMode": "code", + "expr": "rate(haproxy_backend_client_aborts_total{proxy=~\"$backend\",instance=\"$host\"}[$__rate_interval])", + "interval": "$interval", + "intervalFactor": 1, + "legendFormat": "Client {{ proxy }}", + "metric": "", + "range": true, + "refId": "A", + "step": 240 + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "rate(haproxy_backend_server_aborts_total{proxy=~\"$backend\",instance=\"$host\"}[$__rate_interval])", + "interval": "$interval", + "intervalFactor": 1, + "legendFormat": "Server {{ proxy }}", + "metric": "", + "range": true, + "refId": "B", + "step": 240 } ], - "title": "Back - Backup servers", + "title": "Back - Data transfers aborted", "type": "timeseries" - } - ], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, - "refId": "A" - } - ], - "title": "Status", - "type": "row" - }, - { - "collapsed": true, - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 11 - }, - "id": 197, - "panels": [ + }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -7536,9 +4754,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "- out / + in", + "axisLabel": "server (-) / client (+)", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -7564,28 +4783,24 @@ "mode": "off" } }, + "decimals": 1, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "bits" + "unit": "ops" }, "overrides": [ { "matcher": { "id": "byRegexp", - "options": "/.*OUT.*/" + "options": "/.*Sserver.*/" }, "properties": [ { @@ -7597,65 +4812,83 @@ ] }, "gridPos": { - "h": 8, + "h": 7, "w": 24, "x": 0, - "y": 12 + "y": 10993 }, - "id": 129, + "id": 146, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", - "sort": "none" + "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_server_bytes_in_total{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}[$__rate_interval])*8", + "editorMode": "code", + "expr": "rate(haproxy_server_client_aborts_total{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}[$__rate_interval])", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "IN {{ proxy }} / {{ server }}", + "legendFormat": "Client {{ proxy }} / {{ server }}", "metric": "", + "range": true, "refId": "A", "step": 240 }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_server_bytes_out_total{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}[$__rate_interval])*8", - "hide": false, + "editorMode": "code", + "expr": "rate(haproxy_server_server_aborts_total{proxy=~\"$frontend\",server=~\"$server\",instance=\"$host\"}[$__rate_interval])", "interval": "$interval", - "intervalFactor": 2, - "legendFormat": "OUT {{ proxy }} / {{ server }}", + "intervalFactor": 1, + "legendFormat": "Server {{ proxy }} / {{ server }}", + "metric": "", + "range": true, "refId": "B", "step": 240 } ], - "title": "Server - Incoming / Outgoing bytes", + "title": "Server - Data transfers aborted", "type": "timeseries" - }, + } + ], + "title": "Sessions", + "type": "row" + }, + { + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 38 + }, + "id": 176, + "panels": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -7667,9 +4900,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "counter", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -7701,90 +4935,63 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "s" }, - "overrides": [ - { - "matcher": { - "id": "byRegexp", - "options": "/.*Estimated.*/" - }, - "properties": [ - { - "id": "custom.fillOpacity", - "value": 0 - } - ] - } - ] + "overrides": [] }, "gridPos": { - "h": 9, - "w": 24, + "h": 14, + "w": 12, "x": 0, - "y": 20 + "y": 8990 }, - "id": 219, + "id": 132, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", - "placement": "right", + "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "single", "sort": "none" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "rate(haproxy_server_used_connections_current{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}[$__rate_interval])", - "interval": "$interval", - "intervalFactor": 2, - "legendFormat": "In use {{ proxy }} / {{ server }}{{ proxy }}", - "refId": "A", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_server_idle_connections_current{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}[$__rate_interval])", + "editorMode": "code", + "expr": "haproxy_backend_connect_time_average_seconds{proxy=~\"$backend\",instance=\"$host\"}", "interval": "$interval", - "intervalFactor": 2, - "legendFormat": "Estimated {{ proxy }} / {{ server }}{{ proxy }}", - "refId": "C", + "intervalFactor": 1, + "legendFormat": "{{ proxy }}", + "metric": "haproxy_backend_current_queue", + "range": true, + "refId": "B", "step": 240 } ], - "title": "Server - Connections", + "title": "Back - Average connection time", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -7796,9 +5003,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "- error / + attempts", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -7830,92 +5038,63 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "s" }, - "overrides": [ - { - "matcher": { - "id": "byRegexp", - "options": "/.*Error.*/" - }, - "properties": [ - { - "id": "custom.transform", - "value": "negative-Y" - } - ] - } - ] + "overrides": [] }, "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 29 + "h": 14, + "w": 12, + "x": 12, + "y": 8990 }, - "id": 130, + "id": 178, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", - "placement": "right", + "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "single", "sort": "none" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_server_connection_attempts_total{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}[$__rate_interval])", - "hide": false, + "editorMode": "code", + "expr": "haproxy_backend_total_time_average_seconds{proxy=~\"$backend\",instance=\"$host\"}", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Attempts {{ proxy }} / {{ server }}", - "metric": "", - "refId": "B", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "rate(haproxy_server_connection_errors_total{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}[$__rate_interval])", - "interval": "$interval", - "intervalFactor": 2, - "legendFormat": "Error {{ proxy }} / {{ server }}", - "refId": "A", + "legendFormat": "{{ proxy }}", + "metric": "haproxy_backend_current_queue", + "range": true, + "refId": "D", "step": 240 } ], - "title": "Server - Connections attempts / error", + "title": "Back - Average total conn. time", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -7927,11 +5106,12 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "reuses", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 20, + "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, @@ -7961,65 +5141,63 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "s" }, "overrides": [] }, "gridPos": { - "h": 9, + "h": 7, "w": 24, "x": 0, - "y": 37 + "y": 9996 }, - "id": 179, + "id": 135, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "single", "sort": "none" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_server_connection_reuses_total{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}[$__rate_interval])", + "editorMode": "code", + "expr": "haproxy_server_connect_time_average_seconds{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}", "interval": "$interval", - "intervalFactor": 2, - "legendFormat": "Reuses {{ proxy }} / {{ server }}", - "refId": "C", + "intervalFactor": 1, + "legendFormat": "{{ proxy }} / {{ server }}", + "metric": "haproxy_backend_current_queue", + "range": true, + "refId": "B", "step": 240 } ], - "title": "Server - Number of connections reuses", + "title": "Server - Average connection time", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -8031,11 +5209,12 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "counter", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 20, + "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, @@ -8065,153 +5244,63 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "s" }, - "overrides": [ - { - "matcher": { - "id": "byRegexp", - "options": "/.*limit.*/" - }, - "properties": [ - { - "id": "custom.fillOpacity", - "value": 0 - } - ] - }, - { - "matcher": { - "id": "byRegexp", - "options": "/.*unsafe.*/" - }, - "properties": [ - { - "id": "custom.transform", - "value": "negative-Y" - } - ] - } - ] + "overrides": [] }, "gridPos": { - "h": 9, + "h": 7, "w": 24, "x": 0, - "y": 46 + "y": 10003 }, - "id": 186, + "id": 184, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "single", "sort": "none" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "rate(haproxy_server_idle_connections_current{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}[$__rate_interval])", - "interval": "$interval", - "intervalFactor": 2, - "legendFormat": "Available idle connections {{ proxy }} / {{ server }}", - "refId": "C", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "rate(haproxy_server_idle_connections_limit{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}[$__rate_interval])", - "interval": "$interval", - "intervalFactor": 2, - "legendFormat": "Limit available idle connections {{ proxy }} / {{ server }}{{ proxy }}", - "refId": "A", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "rate(haproxy_server_safe_idle_connections_current{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}[$__rate_interval])", - "interval": "$interval", - "intervalFactor": 2, - "legendFormat": "Number of safe idle connections {{ proxy }} / {{ server }}{{ proxy }}", - "refId": "B", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_server_unsafe_idle_connections_current{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}[$__rate_interval])", + "editorMode": "code", + "expr": "haproxy_server_total_time_average_seconds{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}", "interval": "$interval", - "intervalFactor": 2, - "legendFormat": "Number of unsafe idle connections {{ proxy }} / {{ server }}{{ proxy }}", + "intervalFactor": 1, + "legendFormat": "{{ proxy }} / {{ server }}", + "metric": "haproxy_backend_current_queue", + "range": true, "refId": "D", "step": 240 } ], - "title": "Server - Idle connections", + "title": "Server - Average total conn. time", "type": "timeseries" - } - ], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, - "refId": "A" - } - ], - "title": "By server - Throughtput / Connections", - "type": "row" - }, - { - "collapsed": true, - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 12 - }, - "id": 201, - "panels": [ + }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -8223,9 +5312,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "denied", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -8253,71 +5343,67 @@ }, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "s" }, "overrides": [] }, "gridPos": { - "h": 9, - "w": 24, + "h": 14, + "w": 12, "x": 0, - "y": 13 + "y": 10010 }, - "id": 187, + "id": 177, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", - "placement": "right", + "placement": "bottom", "showLegend": true }, "tooltip": { - "mode": "multi", - "sort": "desc" + "hideZeros": false, + "mode": "single", + "sort": "none" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_server_responses_denied_total{proxy=~\"$backend\", instance=\"$host\"}[$__rate_interval])", + "editorMode": "code", + "expr": "haproxy_backend_response_time_average_seconds{proxy=~\"$backend\",instance=\"$host\"}", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Denied {{ proxy }} / {{ server }}", - "metric": "", - "refId": "B", + "legendFormat": "{{ proxy }}", + "metric": "haproxy_backend_current_queue", + "range": true, + "refId": "C", "step": 240 } ], - "title": "Server - HTTP responses denied", + "title": "Back - Average response time", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -8329,9 +5415,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "- error / + redispatch + retry", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -8363,106 +5450,63 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "s" }, - "overrides": [ - { - "matcher": { - "id": "byRegexp", - "options": "/.*Error.*/" - }, - "properties": [ - { - "id": "custom.transform", - "value": "negative-Y" - } - ] - } - ] + "overrides": [] }, "gridPos": { - "h": 7, - "w": 24, - "x": 0, - "y": 22 + "h": 14, + "w": 12, + "x": 12, + "y": 10010 }, - "id": 71, + "id": 127, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", - "placement": "right", + "placement": "bottom", "showLegend": true }, "tooltip": { - "mode": "multi", - "sort": "desc" + "hideZeros": false, + "mode": "single", + "sort": "none" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "rate(haproxy_server_redispatch_warnings_total{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}[$__rate_interval])", - "hide": false, - "interval": "$interval", - "intervalFactor": 2, - "legendFormat": "Redispatch {{ proxy }} / {{ server }}", - "refId": "B", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_server_retry_warnings_total{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}[$__rate_interval])", - "hide": false, + "editorMode": "code", + "expr": "haproxy_backend_queue_time_average_seconds{proxy=~\"$backend\",instance=\"$host\"}", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Retry {{ proxy }} / {{ server }}", + "legendFormat": "{{ proxy }}", "metric": "", + "range": true, "refId": "A", "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "rate(haproxy_server_response_errors_total{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}[$__rate_interval])", - "hide": false, - "interval": "$interval", - "intervalFactor": 2, - "legendFormat": "Error {{ proxy }} / {{ server }}", - "refId": "C", - "step": 240 } ], - "title": "Server - Error / Redispatch / Retry", + "title": "Back - Average queue time", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -8474,11 +5518,12 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "requests", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 20, + "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, @@ -8504,21 +5549,15 @@ }, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "s" }, "overrides": [] }, @@ -8526,49 +5565,51 @@ "h": 7, "w": 24, "x": 0, - "y": 29 + "y": 10024 }, - "id": 59, + "id": 183, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "single", "sort": "none" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_server_current_queue{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}[$__rate_interval])", + "editorMode": "code", + "expr": "haproxy_server_response_time_average_seconds{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Current {{ proxy }} / {{ server }}", - "metric": "", - "refId": "A", + "legendFormat": "{{ proxy }} / {{ server }}", + "metric": "haproxy_backend_current_queue", + "range": true, + "refId": "C", "step": 240 } ], - "title": "Server - Queued requests", + "title": "Server - Average response time", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -8580,11 +5621,12 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "requests", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 20, + "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, @@ -8610,122 +5652,81 @@ }, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "s" }, - "overrides": [ - { - "matcher": { - "id": "byRegexp", - "options": "/.*Limit.*/" - }, - "properties": [ - { - "id": "custom.fillOpacity", - "value": 0 - } - ] - } - ] + "overrides": [] }, "gridPos": { "h": 7, "w": 24, "x": 0, - "y": 36 + "y": 10031 }, - "id": 180, + "id": 133, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "single", "sort": "none" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_server_max_queue{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}", - "hide": false, + "editorMode": "code", + "expr": "haproxy_server_queue_time_average_seconds{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Max {{ proxy }} / {{ server }}", + "legendFormat": "{{ proxy }} / {{ server }}", "metric": "", - "refId": "B", + "range": true, + "refId": "A", "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "haproxy_server_queue_limit{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}", - "interval": "", - "legendFormat": "Limit {{ proxy }} / {{ server }}", - "refId": "A" } ], - "title": "Server - Max queued requests and limit", + "title": "Server - Average queue time", "type": "timeseries" } ], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, - "refId": "A" - } - ], - "title": "By server - Requests / Responses / Queues", + "title": "Times", "type": "row" }, { "collapsed": true, - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 13 + "y": 39 }, - "id": 193, + "id": 158, "panels": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -8740,8 +5741,9 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 0, + "fillOpacity": 20, "gradientMode": "none", "hideFrom": { "legend": false, @@ -8767,71 +5769,67 @@ }, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "s" + "unit": "eps" }, "overrides": [] }, "gridPos": { - "h": 7, - "w": 24, + "h": 14, + "w": 12, "x": 0, - "y": 14 + "y": 8991 }, - "id": 135, + "id": 38, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", - "placement": "right", + "placement": "bottom", "showLegend": true }, "tooltip": { - "mode": "single", - "sort": "none" + "hideZeros": false, + "mode": "multi", + "sort": "asc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_server_connect_time_average_seconds{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}", + "editorMode": "code", + "expr": "rate(haproxy_backend_check_up_down_total{proxy=~\"$backend\", instance=\"$host\"}[$__rate_interval])", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "{{ proxy }} / {{ server }}", - "metric": "haproxy_backend_current_queue", - "refId": "B", + "legendFormat": "{{ proxy }}", + "metric": "", + "range": true, + "refId": "A", "step": 240 } ], - "title": "Server - Average connection time", + "title": "Back - UP->DOWN transitions", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -8846,8 +5844,9 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 0, + "fillOpacity": 20, "gradientMode": "none", "hideFrom": { "legend": false, @@ -8873,71 +5872,96 @@ }, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "s" + "unit": "short" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/.*User diff - .*/" + }, + "properties": [ + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + } + ] }, "gridPos": { - "h": 7, - "w": 24, - "x": 0, - "y": 21 + "h": 14, + "w": 12, + "x": 12, + "y": 8991 }, - "id": 190, + "id": 39, "options": { "legend": { "calcs": [ "mean", "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", - "placement": "right", + "placement": "bottom", "showLegend": true }, "tooltip": { - "mode": "single", - "sort": "none" + "hideZeros": false, + "mode": "multi", + "sort": "asc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "haproxy_backend_weight{proxy=~\"$backend\", instance=\"$host\"}", + "interval": "$interval", + "intervalFactor": 1, + "legendFormat": "{{ proxy }}", + "metric": "", + "range": true, + "refId": "A", + "step": 240 + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_server_max_connect_time_seconds{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}", + "editorMode": "code", + "expr": "haproxy_backend_uweight{proxy=~\"$backend\", instance=\"$host\"} - haproxy_backend_weight{proxy=~\"$backend\", instance=\"$host\"}", + "hide": false, "interval": "$interval", "intervalFactor": 1, - "legendFormat": "{{ proxy }} / {{ server }}", - "metric": "haproxy_backend_current_queue", + "legendFormat": "User diff - {{ proxy }}", + "metric": "", + "range": true, "refId": "B", "step": 240 } ], - "title": "Server - Max connection time", + "title": "Back - Service weight", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -8952,8 +5976,9 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 0, + "fillOpacity": 20, "gradientMode": "none", "hideFrom": { "legend": false, @@ -8977,23 +6002,18 @@ "mode": "off" } }, + "decimals": 2, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "s" + "unit": "eps" }, "overrides": [] }, @@ -9001,49 +6021,51 @@ "h": 7, "w": 24, "x": 0, - "y": 28 + "y": 9532 }, - "id": 183, + "id": 56, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { - "mode": "single", + "hideZeros": false, + "mode": "multi", "sort": "none" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_server_response_time_average_seconds{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}", + "editorMode": "code", + "expr": "rate(haproxy_server_check_up_down_total{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}[$__rate_interval])", "interval": "$interval", "intervalFactor": 1, "legendFormat": "{{ proxy }} / {{ server }}", - "metric": "haproxy_backend_current_queue", - "refId": "C", + "metric": "", + "range": true, + "refId": "B", "step": 240 } ], - "title": "Server - Average response time", + "title": "Server - UP->DOWN transitions", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -9058,8 +6080,9 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 0, + "fillOpacity": 20, "gradientMode": "none", "hideFrom": { "legend": false, @@ -9085,71 +6108,96 @@ }, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "s" + "unit": "short" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/.*User diff - .*/" + }, + "properties": [ + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + } + ] }, "gridPos": { "h": 7, "w": 24, "x": 0, - "y": 35 + "y": 9539 }, - "id": 189, + "id": 73, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "single", "sort": "none" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_server_max_response_time_seconds{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}", + "editorMode": "code", + "expr": "haproxy_server_weight{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}", "interval": "$interval", "intervalFactor": 1, "legendFormat": "{{ proxy }} / {{ server }}", - "metric": "haproxy_backend_current_queue", - "refId": "C", + "metric": "", + "range": true, + "refId": "A", + "step": 240 + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "haproxy_server_uweight{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"} - haproxy_server_weight{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}", + "hide": false, + "interval": "$interval", + "intervalFactor": 1, + "legendFormat": "User diff - {{ proxy }} / {{ server }}", + "metric": "", + "range": true, + "refId": "B", "step": 240 } ], - "title": "Server - Max response time", + "title": "Server - Service weight", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -9164,8 +6212,9 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 0, + "fillOpacity": 20, "gradientMode": "none", "hideFrom": { "legend": false, @@ -9189,73 +6238,70 @@ "mode": "off" } }, + "decimals": 2, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "s" + "unit": "eps" }, "overrides": [] }, "gridPos": { - "h": 8, + "h": 7, "w": 24, "x": 0, - "y": 42 + "y": 9546 }, - "id": 184, + "id": 185, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { - "mode": "single", + "hideZeros": false, + "mode": "multi", "sort": "none" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_server_total_time_average_seconds{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}", + "editorMode": "code", + "expr": "rate(haproxy_server_check_failures_total{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}[$__rate_interval])", "interval": "$interval", "intervalFactor": 1, "legendFormat": "{{ proxy }} / {{ server }}", - "metric": "haproxy_backend_current_queue", - "refId": "D", + "metric": "", + "range": true, + "refId": "A", "step": 240 } ], - "title": "Server - Average total time", + "title": "Server - Checks failures", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -9270,8 +6316,9 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 0, + "fillOpacity": 20, "gradientMode": "none", "hideFrom": { "legend": false, @@ -9297,17 +6344,11 @@ }, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, @@ -9316,52 +6357,54 @@ "overrides": [] }, "gridPos": { - "h": 9, + "h": 7, "w": 24, "x": 0, - "y": 50 + "y": 9553 }, - "id": 188, + "id": 204, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { - "mode": "single", + "hideZeros": false, + "mode": "multi", "sort": "none" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_server_max_total_time_seconds{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}", + "editorMode": "code", + "expr": "haproxy_server_check_duration_seconds{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}", "interval": "$interval", "intervalFactor": 1, "legendFormat": "{{ proxy }} / {{ server }}", - "metric": "haproxy_backend_current_queue", - "refId": "D", + "metric": "", + "range": true, + "refId": "A", "step": 240 } ], - "title": "Server - Max total time", + "title": "Server - Checks duration", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -9376,8 +6419,9 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 0, + "fillOpacity": 20, "gradientMode": "none", "hideFrom": { "legend": false, @@ -9408,12 +6452,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, @@ -9422,52 +6461,68 @@ "overrides": [] }, "gridPos": { - "h": 9, + "h": 7, "w": 24, "x": 0, - "y": 59 + "y": 9560 }, - "id": 133, + "id": 144, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { - "mode": "single", - "sort": "none" + "hideZeros": false, + "mode": "multi", + "sort": "asc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_server_queue_time_average_seconds{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}[$__rate_interval])", + "editorMode": "code", + "expr": "haproxy_server_last_session_seconds{proxy=~\"$backend\", server=~\"$server\",instance=\"$host\"}", "interval": "$interval", "intervalFactor": 1, "legendFormat": "{{ proxy }} / {{ server }}", "metric": "", + "range": true, "refId": "A", "step": 240 } ], - "title": "Server - Average queue time for last 1024 successful connections", + "title": "Server - Last session assigned", "type": "timeseries" - }, + } + ], + "title": "Health and Weight", + "type": "row" + }, + { + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 40 + }, + "id": 159, + "panels": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -9482,8 +6537,9 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 0, + "fillOpacity": 20, "gradientMode": "none", "hideFrom": { "legend": false, @@ -9509,98 +6565,95 @@ }, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "s" + "unit": "eps" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/.*Hits.*/" + }, + "properties": [ + { + "id": "custom.fillOpacity", + "value": 0 + } + ] + } + ] }, "gridPos": { - "h": 8, - "w": 24, + "h": 11, + "w": 12, "x": 0, - "y": 68 + "y": 8992 }, - "id": 191, + "id": 121, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", - "placement": "right", + "placement": "bottom", "showLegend": true }, "tooltip": { - "mode": "single", - "sort": "none" + "hideZeros": false, + "mode": "multi", + "sort": "asc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_server_max_queue_time_seconds{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}[$__rate_interval])", + "editorMode": "code", + "expr": "rate(haproxy_frontend_http_cache_lookups_total{proxy=~\"$frontend\", instance=\"$host\"}[$__rate_interval])", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "{{ proxy }} / {{ server }}", + "legendFormat": "Lookups {{ proxy }} ", "metric": "", + "range": true, "refId": "A", "step": 240 + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "rate(haproxy_frontend_http_cache_hits_total{proxy=~\"$frontend\", instance=\"$host\"}[$__rate_interval])", + "interval": "$interval", + "intervalFactor": 1, + "legendFormat": "Hits {{ proxy }} ", + "metric": "", + "range": true, + "refId": "B", + "step": 240 } ], - "title": "Server - Max queue time", + "title": "Front - Cache Lookups / Hits", "type": "timeseries" - } - ], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, - "refId": "A" - } - ], - "title": "By server - Times", - "type": "row" - }, - { - "collapsed": true, - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 14 - }, - "id": 214, - "panels": [ + }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -9615,6 +6668,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -9642,27 +6696,21 @@ }, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "eps" }, "overrides": [ { "matcher": { "id": "byRegexp", - "options": "/.*Limit.*/" + "options": "/.*Hits.*/" }, "properties": [ { @@ -9674,93 +6722,69 @@ ] }, "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 15 + "h": 11, + "w": 12, + "x": 12, + "y": 8992 }, - "id": 61, + "id": 139, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", - "placement": "right", + "placement": "bottom", "showLegend": true }, "tooltip": { - "mode": "single", - "sort": "none" + "hideZeros": false, + "mode": "multi", + "sort": "asc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "haproxy_server_current_sessions{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}", - "hide": true, - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Current {{ proxy }} / {{ server }}", - "metric": "", - "refId": "A", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "rate(haproxy_server_sessions_total{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}[$__rate_interval])", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Total {{ proxy }} / {{ server }}", - "metric": "", - "refId": "B", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_server_max_sessions{proxy=~\"$backend\",instance=\"$host\"}[$__rate_interval])", - "hide": true, + "editorMode": "code", + "expr": "rate(haproxy_backend_http_cache_lookups_total{proxy=~\"$backend\", instance=\"$host\"}[$__rate_interval])", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Max {{ proxy }} / {{ server }}", + "legendFormat": "Lookups {{ proxy }} ", "metric": "", - "refId": "C", + "range": true, + "refId": "A", "step": 240 }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_server_limit_sessions{proxy=~\"$backend\",instance=\"$host\"}", + "editorMode": "code", + "expr": "rate(haproxy_backend_http_cache_hits_total{proxy=~\"$backend\", instance=\"$host\"}[$__rate_interval])", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Limit {{ proxy }} / {{ server }}", + "legendFormat": "Hits {{ proxy }} ", "metric": "", - "refId": "D", + "range": true, + "refId": "B", "step": 240 } ], - "title": "Server - Number of active sessions", + "title": "Back - Cache Lookups / Hits", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -9772,9 +6796,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "", + "axisLabel": "out (-) / in (+)", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -9806,22 +6831,17 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "bps" }, "overrides": [ { "matcher": { "id": "byRegexp", - "options": "/.*Error.*/" + "options": "/.*OUT.*/" }, "properties": [ { @@ -9833,66 +6853,96 @@ { "matcher": { "id": "byRegexp", - "options": "/.*Denied.*/" + "options": "/.*Bypas.*/" }, "properties": [ { - "id": "custom.transform", - "value": "negative-Y" + "id": "custom.fillOpacity", + "value": 0 } ] } ] }, "gridPos": { - "h": 9, - "w": 24, + "h": 11, + "w": 12, "x": 0, - "y": 23 + "y": 9262 }, - "id": 137, + "id": 231, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", - "placement": "right", + "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", - "sort": "desc" + "sort": "asc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "rate(haproxy_server_failed_header_rewriting_total{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}[$__rate_interval])", + "expr": "rate(haproxy_frontend_http_comp_bytes_in_total{proxy=~\"$frontend\", instance=\"$host\"}[$__rate_interval])*8", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "{{ proxy }} / {{ server }}", + "legendFormat": "IN {{ proxy }} ", "metric": "", "range": true, "refId": "A", "step": 240 + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "rate(haproxy_frontend_http_comp_bytes_out_total{proxy=~\"$frontend\", instance=\"$host\"}[$__rate_interval])*8", + "interval": "$interval", + "intervalFactor": 1, + "legendFormat": "OUT {{ proxy }} ", + "metric": "", + "range": true, + "refId": "B", + "step": 240 + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "rate(haproxy_frontend_http_comp_bytes_bypassed_total{proxy=~\"$frontend\", instance=\"$host\"}[$__rate_interval])*8", + "interval": "$interval", + "intervalFactor": 1, + "legendFormat": "Bypass {{ proxy }} ", + "metric": "", + "range": true, + "refId": "C", + "step": 240 } ], - "title": "Server - Failed header rewriting warnings", + "title": "Front - Data transfer http compressor", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -9904,9 +6954,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "", + "axisLabel": "out (-) / in (+)", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -9934,27 +6985,33 @@ }, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "bps" }, "overrides": [ { "matcher": { "id": "byRegexp", - "options": "/.*Limit.*/" + "options": "/.*OUT.*/" + }, + "properties": [ + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + }, + { + "matcher": { + "id": "byRegexp", + "options": "/.*Bypas.*/" }, "properties": [ { @@ -9966,92 +7023,84 @@ ] }, "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 32 + "h": 11, + "w": 12, + "x": 12, + "y": 9262 }, - "id": 60, + "id": 140, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", - "placement": "right", + "placement": "bottom", "showLegend": true }, "tooltip": { - "mode": "single", - "sort": "none" + "hideZeros": false, + "mode": "multi", + "sort": "asc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_server_max_session_rate{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}", + "editorMode": "code", + "expr": "rate(haproxy_backend_http_comp_bytes_in_total{proxy=~\"$backend\", instance=\"$host\"}[$__rate_interval])*8", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Rate {{ proxy }} / {{ server }}", + "legendFormat": "IN {{ proxy }} ", "metric": "", + "range": true, "refId": "A", "step": 240 }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_server_limit_session_rate{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}", + "editorMode": "code", + "expr": "rate(haproxy_backend_http_comp_bytes_out_total{proxy=~\"$backend\", instance=\"$host\"}[$__rate_interval])*8", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Limit {{ proxy }} / {{ server }}", + "legendFormat": "OUT {{ proxy }} ", "metric": "", + "range": true, "refId": "B", "step": 240 + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "rate(haproxy_backend_http_comp_bytes_bypassed_total{proxy=~\"$backend\", instance=\"$host\"}[$__rate_interval])*8", + "interval": "$interval", + "intervalFactor": 1, + "legendFormat": "Bypass {{ proxy }} ", + "metric": "", + "range": true, + "refId": "C", + "step": 240 } ], - "title": "Server - Number of sessions per second and limit", + "title": "Back - Data transfer http compressor", "type": "timeseries" - } - ], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, - "refId": "A" - } - ], - "title": "By server - Sessions", - "type": "row" - }, - { - "collapsed": true, - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 15 - }, - "id": 203, - "panels": [ + }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -10063,9 +7112,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "weight", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -10093,73 +7143,69 @@ }, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "none" + "unit": "reqps" }, "overrides": [] }, "gridPos": { - "h": 8, - "w": 24, + "h": 11, + "w": 12, "x": 0, - "y": 16 + "y": 9273 }, - "id": 73, + "id": 123, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", - "placement": "right", + "placement": "bottom", "showLegend": true }, "tooltip": { - "mode": "single", - "sort": "none" + "hideZeros": false, + "mode": "multi", + "sort": "asc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_server_weight{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}", + "editorMode": "code", + "expr": "rate(haproxy_frontend_http_comp_responses_total{proxy=~\"$frontend\", instance=\"$host\"}[$__rate_interval])", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "{{ proxy }} / {{ server }}", + "legendFormat": "{{ proxy }} ", "metric": "", + "range": true, "refId": "A", "step": 240 } ], - "title": "Server - Service weight", + "title": "Front - Responses compressed", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "description": "Server's user weight, or sum of active servers' user weights for a backend", + "description": "", "fieldConfig": { "defaults": { "color": { @@ -10169,9 +7215,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "weight", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -10199,73 +7246,83 @@ }, "links": [], "mappings": [], - "min": 0, + "min": -1, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "none" + "unit": "reqps" }, "overrides": [] }, "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 24 + "h": 11, + "w": 12, + "x": 12, + "y": 9273 }, - "id": 215, + "id": 141, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", - "placement": "right", + "placement": "bottom", "showLegend": true }, "tooltip": { - "mode": "single", - "sort": "none" + "hideZeros": false, + "mode": "multi", + "sort": "asc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_server_uweight{proxy=~\"$backend\",instance=\"$host\"}", + "editorMode": "code", + "expr": "rate(haproxy_backend_http_comp_responses_total{proxy=~\"$backend\", instance=\"$host\"}[$__rate_interval])", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "{{ proxy }}", + "legendFormat": "{{ proxy }} ", "metric": "", + "range": true, "refId": "A", "step": 240 } ], - "title": "Server - Users weight", + "title": "Back - Responses compressed", "type": "timeseries" - }, + } + ], + "title": "Cache / Compressor", + "type": "row" + }, + { + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 41 + }, + "id": 160, + "panels": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "description": "", "fieldConfig": { "defaults": { "color": { @@ -10275,11 +7332,12 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "transitions", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 20, + "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, @@ -10288,7 +7346,7 @@ }, "insertNulls": false, "lineInterpolation": "linear", - "lineWidth": 1, + "lineWidth": 2, "pointSize": 5, "scaleDistribution": { "type": "linear" @@ -10304,73 +7362,83 @@ } }, "links": [], - "mappings": [], + "mappings": [ + { + "options": { + "0": { + "index": 1, + "text": "DOWN" + }, + "1": { + "index": 0, + "text": "UP" + } + }, + "type": "value" + } + ], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "none" + "unit": "bool_on_off" }, "overrides": [] }, "gridPos": { - "h": 8, - "w": 24, + "h": 11, + "w": 12, "x": 0, - "y": 32 + "y": 8993 }, - "id": 56, + "id": 113, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", - "placement": "right", + "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", - "sort": "none" + "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_server_check_up_down_total{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}[$__rate_interval])", + "editorMode": "code", + "expr": "haproxy_frontend_status{proxy=~\"$frontend\",instance=\"$host\",state=\"UP\"}", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "{{ proxy }} / {{ server }}", + "legendFormat": "{{ proxy }} ", "metric": "", - "refId": "B", + "range": true, + "refId": "A", "step": 240 } ], - "title": "Server - UP->DOWN transitions", + "title": "Front - Status", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "description": "", "fieldConfig": { "defaults": { "color": { @@ -10380,11 +7448,12 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "failures", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 20, + "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, @@ -10393,7 +7462,7 @@ }, "insertNulls": false, "lineInterpolation": "linear", - "lineWidth": 1, + "lineWidth": 2, "pointSize": 5, "scaleDistribution": { "type": "linear" @@ -10409,71 +7478,82 @@ } }, "links": [], - "mappings": [], + "mappings": [ + { + "options": { + "0": { + "index": 1, + "text": "DOWN" + }, + "1": { + "index": 0, + "text": "UP" + } + }, + "type": "value" + } + ], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "none" + "unit": "bool_on_off" }, "overrides": [] }, "gridPos": { "h": 11, - "w": 24, - "x": 0, - "y": 40 + "w": 12, + "x": 12, + "y": 8993 }, - "id": 185, + "id": 238, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", - "placement": "right", + "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", - "sort": "none" + "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_server_check_failures_total{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}[$__rate_interval])", + "editorMode": "code", + "expr": "haproxy_backend_status{proxy=~\"$backend\",instance=\"$host\",state=\"UP\"}", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "{{ proxy }} / {{ server }}", + "legendFormat": "{{ proxy }} ", "metric": "", + "range": true, "refId": "A", "step": 240 } ], - "title": "Server - Checks failures", + "title": "Back - Status", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -10488,8 +7568,9 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 20, + "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, @@ -10514,71 +7595,85 @@ } }, "links": [], - "mappings": [], + "mappings": [ + { + "options": { + "0": { + "index": 0, + "text": "DOWN" + }, + "1": { + "index": 1, + "text": "UP" + } + }, + "type": "value" + } + ], "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "s" + "unit": "bool_on_off" }, "overrides": [] }, "gridPos": { - "h": 11, + "h": 8, "w": 24, "x": 0, - "y": 51 + "y": 9122 }, - "id": 204, + "id": 145, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "right", - "showLegend": true + "showLegend": true, + "sortBy": "Max", + "sortDesc": true }, "tooltip": { - "mode": "multi", + "hideZeros": false, + "mode": "single", "sort": "none" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_server_check_duration_seconds{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}", + "editorMode": "code", + "expr": "haproxy_server_status{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\",state=\"UP\"}", + "hide": false, "interval": "$interval", "intervalFactor": 1, "legendFormat": "{{ proxy }} / {{ server }}", "metric": "", - "refId": "A", + "range": true, + "refId": "B", "step": 240 } ], - "title": "Server - Checks duration", + "title": "Server - Status", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { @@ -10593,8 +7688,9 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 20, + "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, @@ -10618,74 +7714,76 @@ "mode": "off" } }, + "decimals": 0, "links": [], "mappings": [], + "max": 1, + "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "percent" + "unit": "none" }, "overrides": [] }, "gridPos": { - "h": 10, + "h": 8, "w": 24, "x": 0, - "y": 62 + "y": 9130 }, - "id": 90, + "id": 237, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "right", - "showLegend": true + "showLegend": true, + "sortBy": "Max", + "sortDesc": true }, "tooltip": { - "mode": "multi", + "hideZeros": false, + "mode": "single", "sort": "none" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_server_current_throttle{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}", + "editorMode": "code", + "expr": "haproxy_server_status{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\",state!~\"UP|DOWN\"}", + "hide": false, "interval": "$interval", "intervalFactor": 1, - "legendFormat": "{{ proxy }} / {{ server }}", + "legendFormat": "{{ proxy }} / {{ server }} - {{state}}", "metric": "", - "refId": "A", + "range": true, + "refId": "B", "step": 240 } ], - "title": "Server -Throttle percentage", + "title": "Server - Status other", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "description": "", "fieldConfig": { "defaults": { "color": { @@ -10698,8 +7796,9 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 20, + "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, @@ -10708,7 +7807,7 @@ }, "insertNulls": false, "lineInterpolation": "linear", - "lineWidth": 1, + "lineWidth": 2, "pointSize": 5, "scaleDistribution": { "type": "linear" @@ -10730,95 +7829,64 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "s" + "unit": "eps" }, "overrides": [] }, "gridPos": { - "h": 7, - "w": 24, + "h": 11, + "w": 12, "x": 0, - "y": 72 + "y": 9138 }, - "id": 144, + "id": 205, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", - "placement": "right", + "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", - "sort": "asc" + "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_server_last_session_seconds{proxy=~\"$backend\", server=~\"$server\",instance=\"$host\"}[$__rate_interval])", + "editorMode": "code", + "expr": "rate(haproxy_frontend_internal_errors_total{proxy=~\"$frontend\",instance=\"$host\"}[$__rate_interval])", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "{{ proxy }} / {{ server }}", + "legendFormat": "{{ proxy }}", "metric": "", + "range": true, "refId": "A", "step": 240 } ], - "title": "Server - Number of seconds since last session assigned to server/backend", + "title": "Front - Internal errors", "type": "timeseries" - } - ], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, - "refId": "A" - } - ], - "title": "By server - Health and Weight", - "type": "row" - }, - { - "collapsed": true, - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 16 - }, - "id": 207, - "panels": [ + }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "description": "", "fieldConfig": { "defaults": { "color": { @@ -10828,11 +7896,12 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "counter", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 20, + "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, @@ -10841,7 +7910,7 @@ }, "insertNulls": false, "lineInterpolation": "linear", - "lineWidth": 1, + "lineWidth": 2, "pointSize": 5, "scaleDistribution": { "type": "linear" @@ -10858,84 +7927,68 @@ }, "links": [], "mappings": [], + "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "eps" }, - "overrides": [ - { - "matcher": { - "id": "byRegexp", - "options": "/.*Error.*/" - }, - "properties": [ - { - "id": "custom.transform", - "value": "negative-Y" - } - ] - } - ] + "overrides": [] }, "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 17 + "h": 11, + "w": 12, + "x": 12, + "y": 9138 }, - "id": 145, + "id": 171, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", - "placement": "right", + "placement": "bottom", "showLegend": true }, "tooltip": { - "mode": "single", - "sort": "none" + "hideZeros": false, + "mode": "multi", + "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_server_status{proxy=~\"$backend\",server=~\"$server\",instance=\"$host\"}", - "hide": false, + "editorMode": "code", + "expr": "rate(haproxy_backend_internal_errors_total{proxy=~\"$backend\",instance=\"$host\"}[$__rate_interval])", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "{{ proxy }} / {{ server }}", + "legendFormat": "{{ proxy }}", "metric": "", - "refId": "B", + "range": true, + "refId": "A", "step": 240 } ], - "title": "Server - Status", + "title": "Back - Internal errors", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -10946,9 +7999,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "counter", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", @@ -10976,17 +8030,11 @@ }, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, @@ -10998,38 +8046,40 @@ "h": 7, "w": 24, "x": 0, - "y": 25 + "y": 9149 }, "id": 172, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "right", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, + "editorMode": "code", "expr": "rate(haproxy_server_internal_errors_total{proxy=~\"$backend\",instance=\"$host\"}[$__rate_interval])", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "{{ proxy }}", + "legendFormat": "{{ proxy }} / {{ server }}", "metric": "", + "range": true, "refId": "A", "step": 240 } @@ -11040,9 +8090,8 @@ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "description": "Number of failed DNS resolutions in current worker process since started", "fieldConfig": { "defaults": { "color": { @@ -11052,11 +8101,12 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "counter", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 10, + "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, @@ -11082,17 +8132,11 @@ }, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, @@ -11101,79 +8145,70 @@ "overrides": [] }, "gridPos": { - "h": 7, - "w": 24, + "h": 11, + "w": 12, "x": 0, - "y": 32 + "y": 9156 }, - "id": 216, + "id": 173, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", - "placement": "right", + "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_process_failed_resolutions{instance=\"$host\"}[$__rate_interval])", + "editorMode": "code", + "expr": "haproxy_sticktable_size{proxy=~\"$backend\",instance=\"$host\"}", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Failed", + "legendFormat": "{{ proxy }}", "metric": "", + "range": true, "refId": "A", "step": 240 + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "haproxy_sticktable_used{proxy=~\"$backend\",instance=\"$host\"}", + "hide": false, + "interval": "$interval", + "intervalFactor": 1, + "legendFormat": "{{ proxy }}", + "metric": "", + "range": true, + "refId": "B", + "step": 240 } ], - "title": "Server - Failed DNS resolutions", + "title": "Sticktable usage", "type": "timeseries" - } - ], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, - "refId": "A" - } - ], - "title": "By server - Status", - "type": "row" - }, - { - "collapsed": true, - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 17 - }, - "id": 166, - "panels": [ + }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -11184,11 +8219,12 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "counter", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 20, + "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, @@ -11197,7 +8233,7 @@ }, "insertNulls": false, "lineInterpolation": "linear", - "lineWidth": 1, + "lineWidth": 2, "pointSize": 5, "scaleDistribution": { "type": "linear" @@ -11214,111 +8250,67 @@ }, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, "unit": "short" }, - "overrides": [ - { - "matcher": { - "id": "byRegexp", - "options": "/.*Configured.*/" - }, - "properties": [ - { - "id": "custom.fillOpacity", - "value": 0 - } - ] - } - ] + "overrides": [] }, "gridPos": { - "h": 14, + "h": 11, "w": 12, - "x": 0, - "y": 18 + "x": 12, + "y": 9156 }, - "id": 101, + "id": 244, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_process_current_session_rate{instance=\"$host\"}", + "editorMode": "code", + "expr": "haproxy_backend_active_servers{proxy=~\"$backend\",instance=\"$host\"}", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Current number of sessions per second over last elapsed second", + "legendFormat": "{{ proxy }}", "metric": "", + "range": true, "refId": "A", "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "haproxy_process_limit_session_rate{instance=\"$host\"}", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Configured maximum number of sessions per second", - "metric": "", - "refId": "B", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "haproxy_process_max_session_rate{instance=\"$host\"}", - "hide": true, - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Maximum observed number of sessions per second", - "metric": "", - "refId": "C", - "step": 240 } ], - "title": "Process - Sessions over last second", + "title": "Back - Active servers", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -11329,11 +8321,12 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "counter", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 20, + "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, @@ -11342,7 +8335,7 @@ }, "insertNulls": false, "lineInterpolation": "linear", - "lineWidth": 1, + "lineWidth": 2, "pointSize": 5, "scaleDistribution": { "type": "linear" @@ -11351,7 +8344,7 @@ "spanNulls": false, "stacking": { "group": "A", - "mode": "normal" + "mode": "none" }, "thresholdsStyle": { "mode": "off" @@ -11359,17 +8352,11 @@ }, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, @@ -11378,81 +8365,65 @@ "overrides": [] }, "gridPos": { - "h": 14, + "h": 11, "w": 12, "x": 12, - "y": 18 + "y": 9167 }, - "id": 96, + "id": 208, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_process_current_connections{instance=\"$host\"}", - "hide": true, - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Number of active sessions", - "metric": "", - "refId": "A", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "rate(haproxy_process_connections_total{instance=\"$host\"}[$__rate_interval])", - "hide": false, - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Total number of created sessions", - "metric": "", - "refId": "B", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "rate(haproxy_process_requests_total{instance=\"$host\"}[$__rate_interval])", - "hide": false, - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Total number of requests (TCP or HTTP)", - "metric": "", - "refId": "C", - "step": 240 + "editorMode": "code", + "expr": "haproxy_backend_backup_servers{proxy=~\"$backend\",instance=\"$host\"}", + "interval": "", + "legendFormat": "{{ proxy }}", + "range": true, + "refId": "B" } ], - "title": "Process - Total sessions / requests", + "title": "Back - Backup servers", "type": "timeseries" - }, + } + ], + "title": "Status", + "type": "row" + }, + { + "collapsed": true, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 42 + }, + "id": 166, + "panels": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -11463,9 +8434,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "counter", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -11493,17 +8465,12 @@ }, "links": [], "mappings": [], - "min": 0, + "min": -1, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, @@ -11513,91 +8480,98 @@ { "matcher": { "id": "byRegexp", - "options": "/.*Configured.*/" + "options": "/.*limit.*/" }, "properties": [ { "id": "custom.fillOpacity", "value": 0 + }, + { + "id": "custom.lineStyle", + "value": { + "dash": [ + 10, + 10 + ], + "fill": "dash" + } + }, + { + "id": "color", + "value": { + "fixedColor": "dark-red", + "mode": "fixed" + } } ] } ] }, "gridPos": { - "h": 14, - "w": 12, + "h": 10, + "w": 8, "x": 0, - "y": 32 + "y": 43 }, "id": 100, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_process_current_connection_rate{instance=\"$host\"}", + "editorMode": "code", + "expr": "haproxy_process_max_connection_rate{instance=\"$host\"}", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Current number of connections per second over last elapsed second", + "legendFormat": "Highest ConnRate reached on this worker process since started (in connections per second)", "metric": "", + "range": true, "refId": "A", "step": 240 }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, + "editorMode": "code", "expr": "haproxy_process_limit_connection_rate{instance=\"$host\"}", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Configured maximum number of connections per second.", + "legendFormat": "Hard limit for ConnRate (global.maxconnrate)", "metric": "", + "range": true, "refId": "B", "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "haproxy_process_max_connection_rate{instance=\"$host\"}", - "hide": true, - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Maximum observed number of connections per second", - "metric": "", - "refId": "C", - "step": 240 } ], - "title": "Process - Connections over last second", + "title": "Process - Connection rate limits", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -11608,9 +8582,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "counter", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -11638,17 +8613,12 @@ }, "links": [], "mappings": [], - "min": 0, + "min": -1, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, @@ -11658,104 +8628,100 @@ { "matcher": { "id": "byRegexp", - "options": "/.*Initial.*/" + "options": "/.*limit.*/" }, "properties": [ { "id": "custom.fillOpacity", "value": 0 + }, + { + "id": "custom.lineStyle", + "value": { + "dash": [ + 10, + 10 + ], + "fill": "dash" + } + }, + { + "id": "color", + "value": { + "fixedColor": "dark-red", + "mode": "fixed" + } } ] } ] }, "gridPos": { - "h": 14, - "w": 12, - "x": 12, - "y": 32 + "h": 10, + "w": 8, + "x": 8, + "y": 43 }, - "id": 95, + "id": 249, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_process_max_connections{instance=\"$host\"}", + "editorMode": "code", + "expr": "haproxy_process_current_connections{instance=\"$host\"}", + "hide": false, "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Maximum number of concurrent connections", + "legendFormat": "Current number of connections on this worker process", "metric": "", + "range": true, "refId": "A", "step": 240 }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, + "editorMode": "code", "expr": "haproxy_process_hard_max_connections{instance=\"$host\"}", + "hide": false, "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Initial Maximum number of concurrent connections", + "legendFormat": "Hard limit on the number of per-process connections (imposed by Memmax_MB or ulimit -n)", "metric": "", - "refId": "B", + "range": true, + "refId": "C", "step": 240 } ], - "title": "Process - Max connections", + "title": "Process - Connections limits", "type": "timeseries" - } - ], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, - "refId": "A" - } - ], - "title": "Process Connections / Sessions / Requests", - "type": "row" - }, - { - "collapsed": true, - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 18 - }, - "id": 167, - "panels": [ + }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -11766,9 +8732,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "counter", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -11796,17 +8763,11 @@ }, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, @@ -11816,12 +8777,29 @@ { "matcher": { "id": "byRegexp", - "options": "/.*Configured.*/" + "options": "/.*limit.*/" }, "properties": [ { "id": "custom.fillOpacity", "value": 0 + }, + { + "id": "custom.lineStyle", + "value": { + "dash": [ + 10, + 10 + ], + "fill": "dash" + } + }, + { + "id": "color", + "value": { + "fixedColor": "dark-red", + "mode": "fixed" + } } ] } @@ -11829,64 +8807,69 @@ }, "gridPos": { "h": 10, - "w": 12, - "x": 0, - "y": 19 + "w": 8, + "x": 16, + "y": 43 }, - "id": 106, + "id": 101, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_process_current_zlib_memory{instance=\"$host\"}", + "editorMode": "code", + "expr": "haproxy_process_max_session_rate{instance=\"$host\"}", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Current memory used for zlib in bytes", + "legendFormat": "Highest SessRate reached on this worker process since started (in sessions per second)", "metric": "", + "range": true, "refId": "A", "step": 240 }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_process_max_zlib_memory{instance=\"$host\"}", + "editorMode": "code", + "expr": "haproxy_process_limit_session_rate{instance=\"$host\"}", + "hide": false, "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Configured maximum amount of memory for zlib in bytes", + "legendFormat": "Hard limit for SessRate (global.maxsessrate)", "metric": "", + "range": true, "refId": "B", "step": 240 } ], - "title": "Process - Compression memory", + "title": "Process - Sessions limits", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -11897,9 +8880,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "- before / + after", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -11919,7 +8903,7 @@ "spanNulls": false, "stacking": { "group": "A", - "mode": "normal" + "mode": "none" }, "thresholdsStyle": { "mode": "off" @@ -11927,16 +8911,12 @@ }, "links": [], "mappings": [], + "min": -1, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, @@ -11946,7 +8926,7 @@ { "matcher": { "id": "byRegexp", - "options": "/.*Configured.*/" + "options": "/.*limit.*/" }, "properties": [ { @@ -11954,23 +8934,25 @@ "value": 0 }, { - "id": "custom.stacking", + "id": "custom.lineStyle", "value": { - "group": false, - "mode": "normal" + "dash": [ + 10, + 10 + ], + "fill": "dash" } - } - ] - }, - { - "matcher": { - "id": "byRegexp", - "options": "/.*before.*/" - }, - "properties": [ + }, { - "id": "custom.transform", - "value": "negative-Y" + "id": "color", + "value": { + "fixedColor": "dark-red", + "mode": "fixed" + } + }, + { + "id": "custom.fillOpacity", + "value": 0 } ] } @@ -11978,104 +8960,68 @@ }, "gridPos": { "h": 10, - "w": 12, - "x": 12, - "y": 19 + "w": 8, + "x": 0, + "y": 53 }, - "id": 105, + "id": 248, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_process_http_comp_bytes_in_total{instance=\"$host\"}[$__rate_interval])", + "editorMode": "code", + "expr": "haproxy_process_max_ssl_rate{instance=\"$host\"}", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Number of bytes per second over last elapsed second, before http compression", + "legendFormat": "Highest ConnRate reached on this worker process since started (in connections per second)", "metric": "", + "range": true, "refId": "A", "step": 240 }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_process_http_comp_bytes_out_total{instance=\"$host\"}[$__rate_interval])", + "editorMode": "code", + "expr": "haproxy_process_limit_ssl_rate{instance=\"$host\"}", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Number of bytes per second over last elapsed second, after http compression", + "legendFormat": "Hard limit for SslRate (global.maxsslrate)", "metric": "", + "range": true, "refId": "B", "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "haproxy_process_limit_http_comp{instance=\"$host\"}", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Configured maximum input compression rate in bytes", - "metric": "", - "refId": "C", - "step": 240 } ], - "title": "Process - Compression", + "title": "Process - SSL conn. rate limits", "type": "timeseries" - } - ], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, - "refId": "A" - } - ], - "title": "Process Compression", - "type": "row" - }, - { - "collapsed": true, - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 19 - }, - "id": 168, - "panels": [ + }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -12086,9 +9032,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "- misses / + lookups", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -12116,16 +9063,12 @@ }, "links": [], "mappings": [], + "min": -1, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, @@ -12135,77 +9078,102 @@ { "matcher": { "id": "byRegexp", - "options": "/.*misses.*/" + "options": "/.*limit.*/" }, "properties": [ { - "id": "custom.transform", - "value": "negative-Y" + "id": "custom.fillOpacity", + "value": 0 + }, + { + "id": "custom.lineStyle", + "value": { + "dash": [ + 10, + 10 + ], + "fill": "dash" + } + }, + { + "id": "color", + "value": { + "fixedColor": "dark-red", + "mode": "fixed" + } + }, + { + "id": "custom.fillOpacity", + "value": 0 } ] } ] }, "gridPos": { - "h": 12, - "w": 12, - "x": 0, - "y": 20 + "h": 10, + "w": 8, + "x": 8, + "y": 53 }, - "id": 104, + "id": 252, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_process_ssl_cache_lookups_total{instance=\"$host\"}[$__rate_interval])", + "editorMode": "code", + "expr": "haproxy_process_current_ssl_connections{instance=\"$host\"}", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Total number of SSL session cache lookups", + "legendFormat": "SSL endpoints", "metric": "", + "range": true, "refId": "A", "step": 240 }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_process_ssl_cache_misses_total{instance=\"$host\"}[$__rate_interval])", + "editorMode": "code", + "expr": "haproxy_process_max_ssl_connections{instance=\"$host\"}", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Total number of SSL session cache misses", + "legendFormat": "Hard limit SSL endpoints", "metric": "", + "range": true, "refId": "B", "step": 240 } ], - "title": "Process - SSL cache", + "title": "Process - SSL conn. limits", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -12216,9 +9184,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "- backend / + frontend", + "axisLabel": "back (-) / front (+)", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -12250,22 +9219,17 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "ops" }, "overrides": [ { "matcher": { "id": "byRegexp", - "options": "/.*backend.*/" + "options": "/.*Backend.*/" }, "properties": [ { @@ -12289,10 +9253,10 @@ ] }, "gridPos": { - "h": 12, - "w": 12, - "x": 12, - "y": 20 + "h": 10, + "w": 8, + "x": 16, + "y": 53 }, "id": 103, "options": { @@ -12300,73 +9264,50 @@ "calcs": [ "mean", "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, + "editorMode": "code", "expr": "haproxy_process_current_frontend_ssl_key_rate{instance=\"$host\"}", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Current frontend SSL Key computation per second over last elapsed second", + "legendFormat": "SSL keys created on frontends", "metric": "", + "range": true, "refId": "A", "step": 240 }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "haproxy_process_max_frontend_ssl_key_rate{instance=\"$host\"}", - "hide": true, - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Maximum observed frontend SSL Key computation per second", - "metric": "", - "refId": "B", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, + "editorMode": "code", "expr": "haproxy_process_current_backend_ssl_key_rate{instance=\"$host\"}", + "hide": false, "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Current backend SSL Key computation per second over last elapsed second", + "legendFormat": "SSL keys created on backend", "metric": "", + "range": true, "refId": "D", "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "haproxy_process_max_backend_ssl_key_rate{instance=\"$host\"}", - "hide": true, - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Maximum observed backend SSL Key computation per second", - "metric": "", - "refId": "E", - "step": 240 } ], "title": "Process - SSL key rate", @@ -12375,7 +9316,7 @@ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -12386,9 +9327,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "counter", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -12416,27 +9358,33 @@ }, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "ops" }, "overrides": [ { "matcher": { "id": "byRegexp", - "options": "/.*Maximum.*/" + "options": "/.*misses.*/" + }, + "properties": [ + { + "id": "custom.fillOpacity", + "value": 0 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Connections" }, "properties": [ { @@ -12448,80 +9396,85 @@ ] }, "gridPos": { - "h": 12, - "w": 12, + "h": 10, + "w": 8, "x": 0, - "y": 32 + "y": 63 }, - "id": 102, + "id": 104, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_process_current_ssl_rate{instance=\"$host\"}", + "editorMode": "code", + "expr": "rate(haproxy_process_ssl_cache_lookups_total{instance=\"$host\"}[$__rate_interval])", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Current number of SSL sessions per second over last elapsed second", + "legendFormat": "Lookups", "metric": "", + "range": true, "refId": "A", "step": 240 }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_process_limit_ssl_rate{instance=\"$host\"}", - "hide": false, + "editorMode": "code", + "expr": "rate(haproxy_process_ssl_cache_misses_total{instance=\"$host\"}[$__rate_interval])", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Configured maximum number of SSL sessions per second", + "legendFormat": "Miss", "metric": "", + "range": true, "refId": "B", "step": 240 }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_process_max_ssl_rate{instance=\"$host\"}", - "hide": true, + "editorMode": "code", + "expr": "rate(haproxy_process_ssl_connections_total{instance=\"$host\"}[$__rate_interval])", + "hide": false, "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Maximum observed number of SSL sessions per second", + "legendFormat": "SSL Connections", "metric": "", + "range": true, "refId": "C", "step": 240 } ], - "title": "Process - SSL rate", + "title": "Process - SSL cache", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -12532,9 +9485,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "counter", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -12562,113 +9516,67 @@ }, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "percent" }, - "overrides": [ - { - "matcher": { - "id": "byRegexp", - "options": "/.*Maximum*./" - }, - "properties": [ - { - "id": "custom.fillOpacity", - "value": 0 - } - ] - } - ] + "overrides": [] }, "gridPos": { - "h": 12, - "w": 12, - "x": 12, - "y": 32 + "h": 10, + "w": 8, + "x": 8, + "y": 63 }, - "id": 98, + "id": 150, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "haproxy_process_current_ssl_connections{instance=\"$host\"}", - "hide": false, - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Current number of opened SSL connections", - "metric": "", - "refId": "D", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_process_max_ssl_connections{instance=\"$host\"}", - "hide": false, - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Configured maximum number of concurrent SSL connections", - "metric": "", - "refId": "E", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "rate(haproxy_process_ssl_connections_total{instance=\"$host\"}[$__rate_interval])", - "hide": true, + "editorMode": "code", + "expr": "haproxy_process_frontend_ssl_reuse{instance=\"$host\"}", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Total number of opened SSL connections", + "legendFormat": "Frontend SSL connections which did not require a new key", "metric": "", - "refId": "F", + "range": true, + "refId": "C", "step": 240 } ], - "title": "Process - SSL connections", + "title": "Process - SSL reuse ratio", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -12679,9 +9587,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "ratio", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -12709,99 +9618,133 @@ }, "links": [], "mappings": [], - "min": 0, + "min": -1, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" + } + ] + }, + "unit": "short" + }, + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/.*limit.*/" + }, + "properties": [ + { + "id": "custom.fillOpacity", + "value": 0 }, { - "color": "red", - "value": 80 + "id": "custom.lineStyle", + "value": { + "dash": [ + 10, + 10 + ], + "fill": "dash" + } + }, + { + "id": "color", + "value": { + "fixedColor": "dark-red", + "mode": "fixed" + } + }, + { + "id": "custom.fillOpacity", + "value": 0 } ] - }, - "unit": "percent" - }, - "overrides": [] + } + ] }, "gridPos": { - "h": 12, - "w": 12, - "x": 0, - "y": 44 + "h": 10, + "w": 8, + "x": 16, + "y": 63 }, - "id": 150, + "id": 253, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_process_frontend_ssl_reuse{instance=\"$host\"}", + "editorMode": "code", + "expr": "haproxy_process_current_zlib_memory{instance=\"$host\"}", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "SSL session reuse ratio (percent)", + "legendFormat": "Amount of memory currently used by HTTP compression", "metric": "", - "refId": "C", + "range": true, + "refId": "A", + "step": 240 + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "haproxy_process_max_zlib_memory{instance=\"$host\"}", + "interval": "$interval", + "intervalFactor": 1, + "legendFormat": "Limit memory used by HTTP compression, above is auto disabled (in bytes, see global.maxzlibmem)", + "metric": "", + "range": true, + "refId": "B", "step": 240 } ], - "title": "Process - SSL reuse ratio", + "title": "Process - Zlib (HTTP compression) memory limits", "type": "timeseries" } ], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, - "refId": "A" - } - ], - "title": "Process SSL", + "title": "Process Traffic", "type": "row" }, { "collapsed": true, - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 20 + "y": 43 }, "id": 169, "panels": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, + "description": "", "fieldConfig": { "defaults": { "color": { @@ -12811,11 +9754,12 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "counter", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", - "fillOpacity": 20, + "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, @@ -12824,7 +9768,7 @@ }, "insertNulls": false, "lineInterpolation": "linear", - "lineWidth": 1, + "lineWidth": 2, "pointSize": 5, "scaleDistribution": { "type": "linear" @@ -12841,110 +9785,83 @@ }, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "bytes" + "unit": "ops" }, "overrides": [ { "matcher": { "id": "byRegexp", - "options": "/.*limit+./" + "options": "/.*/" }, "properties": [ { - "id": "custom.fillOpacity", - "value": 0 + "id": "color", + "value": { + "fixedColor": "dark-red", + "mode": "fixed" + } } ] } ] }, "gridPos": { - "h": 13, - "w": 12, + "h": 11, + "w": 8, "x": 0, - "y": 21 + "y": 44 }, - "id": 87, + "id": 216, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_process_max_memory_bytes{instance=\"$host\"}", + "editorMode": "code", + "expr": "rate(haproxy_process_failed_resolutions{instance=\"$host\"}[$__rate_interval])", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Per-process memory limit (in bytes); 0=unset", + "legendFormat": "Total number of failed DNS resolutions in current worker process since started", "metric": "", + "range": true, "refId": "A", "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "rate(haproxy_process_pool_allocated_bytes{instance=\"$host\"}[$__rate_interval])", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Total amount of memory allocated in pools (in bytes)", - "metric": "", - "refId": "B", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "rate(haproxy_process_pool_used_bytes{instance=\"$host\"}[$__rate_interval])", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Total amount of memory used in pools (in bytes)", - "metric": "", - "refId": "C", - "step": 240 } ], - "title": "Process - Memory", + "title": "Process - Failed DNS resolutions", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -12955,9 +9872,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "counter", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -12977,7 +9895,7 @@ "spanNulls": false, "stacking": { "group": "A", - "mode": "none" + "mode": "normal" }, "thresholdsStyle": { "mode": "off" @@ -12985,97 +9903,138 @@ }, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, "unit": "short" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/.*limit.*/" + }, + "properties": [ + { + "id": "custom.fillOpacity", + "value": 0 + }, + { + "id": "custom.stacking", + "value": { + "group": false, + "mode": "normal" + } + }, + { + "id": "custom.fillOpacity", + "value": 0 + }, + { + "id": "custom.lineStyle", + "value": { + "dash": [ + 10, + 10 + ], + "fill": "dash" + } + }, + { + "id": "color", + "value": { + "fixedColor": "dark-red", + "mode": "fixed" + } + } + ] + } + ] }, "gridPos": { - "h": 13, - "w": 12, - "x": 12, - "y": 21 + "h": 11, + "w": 8, + "x": 8, + "y": 44 }, - "id": 107, + "id": 99, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_process_current_tasks{instance=\"$host\"}[$__rate_interval])", + "editorMode": "code", + "expr": "haproxy_process_max_pipes{instance=\"$host\"}", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Current number of tasks", + "legendFormat": "Hard limit on the number of pipes for splicing, 0=unlimited", "metric": "", + "range": true, "refId": "A", "step": 240 }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_process_current_run_queue{instance=\"$host\"}", + "editorMode": "code", + "expr": "rate(haproxy_process_pipes_used_total{instance=\"$host\"}[$__rate_interval])", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Current number of tasks in the run-queue", + "legendFormat": "Used pipes", "metric": "", + "range": true, "refId": "B", "step": 240 }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_process_stopping{instance=\"$host\"}", + "editorMode": "code", + "expr": "rate(haproxy_process_pipes_free_total{instance=\"$host\"}[$__rate_interval])", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Non zero means stopping in progress", + "legendFormat": "Free pipes", "metric": "", + "range": true, "refId": "C", "step": 240 } ], - "title": "Process - Tasks", + "title": "Process - Pipes", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -13086,9 +10045,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "counter", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -13121,12 +10081,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, @@ -13135,66 +10090,54 @@ "overrides": [] }, "gridPos": { - "h": 13, - "w": 12, - "x": 0, - "y": 34 + "h": 11, + "w": 8, + "x": 16, + "y": 44 }, - "id": 89, + "id": 247, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "haproxy_process_max_fds{instance=\"$host\"}", - "hide": false, - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Maximum number of open file descriptors; 0=unset", - "metric": "", - "refId": "A", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_process_max_sockets{instance=\"$host\"}", + "editorMode": "code", + "expr": "haproxy_process_listeners{instance=\"$host\"}", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Maximum number of open sockets", + "legendFormat": "Current number of active listeners", "metric": "", - "refId": "B", + "range": true, + "refId": "C", "step": 240 } ], - "title": "Process - Maximum open files / sockets", + "title": "Process - Listeners", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -13205,9 +10148,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "counter", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -13227,7 +10171,7 @@ "spanNulls": false, "stacking": { "group": "A", - "mode": "normal" + "mode": "none" }, "thresholdsStyle": { "mode": "off" @@ -13235,117 +10179,127 @@ }, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "short" + "unit": "bytes" }, "overrides": [ { "matcher": { "id": "byRegexp", - "options": "/.*Configured.*/" + "options": "/.*limit.*/" }, "properties": [ { - "id": "custom.fillOpacity", - "value": 0 + "id": "color", + "value": { + "fixedColor": "dark-red", + "mode": "fixed" + } }, { - "id": "custom.stacking", + "id": "custom.lineStyle", "value": { - "group": false, - "mode": "normal" + "dash": [ + 10, + 10 + ], + "fill": "dash" } + }, + { + "id": "custom.fillOpacity", + "value": 0 } ] } ] }, "gridPos": { - "h": 13, - "w": 12, - "x": 12, - "y": 34 + "h": 11, + "w": 8, + "x": 0, + "y": 55 }, - "id": 99, + "id": 87, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_process_max_pipes{instance=\"$host\"}", + "editorMode": "code", + "expr": "haproxy_process_max_memory_bytes{instance=\"$host\"}", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Configured maximum number of pipes", + "legendFormat": "Memory limit; 0=unset", "metric": "", + "range": true, "refId": "A", "step": 240 }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_process_pipes_used_total{instance=\"$host\"}[$__rate_interval])", + "editorMode": "code", + "expr": "haproxy_process_pool_allocated_bytes{instance=\"$host\"}", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Number of pipes in used", + "legendFormat": "Memory allocated in pools", "metric": "", + "range": true, "refId": "B", "step": 240 }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_process_pipes_free_total{instance=\"$host\"}[$__rate_interval])", + "editorMode": "code", + "expr": "haproxy_process_pool_used_bytes{instance=\"$host\"}", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Number of pipes unused", + "legendFormat": "Memory used in pools", "metric": "", + "range": true, "refId": "C", "step": 240 } ], - "title": "Process - Pipes", + "title": "Process - Memory", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -13356,9 +10310,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "counter", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -13378,7 +10333,7 @@ "spanNulls": false, "stacking": { "group": "A", - "mode": "none" + "mode": "normal" }, "thresholdsStyle": { "mode": "off" @@ -13391,12 +10346,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, @@ -13405,65 +10355,54 @@ "overrides": [] }, "gridPos": { - "h": 13, - "w": 12, - "x": 0, - "y": 47 + "h": 11, + "w": 8, + "x": 8, + "y": 55 }, - "id": 86, + "id": 88, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "haproxy_process_nbthread{instance=\"$host\"}", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Threads", - "metric": "", - "refId": "A", - "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_process_nbproc{instance=\"$host\"}", + "editorMode": "code", + "expr": "rate(haproxy_process_pool_failures_total{instance=\"$host\"}[$__rate_interval])", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Processes", + "legendFormat": "Failed pool allocations", "metric": "", - "refId": "B", + "range": true, + "refId": "A", "step": 240 } ], - "title": "Process - Configured threads / processes", + "title": "Process - Pool allocations", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -13474,9 +10413,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "counter", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -13496,7 +10436,7 @@ "spanNulls": false, "stacking": { "group": "A", - "mode": "normal" + "mode": "none" }, "thresholdsStyle": { "mode": "off" @@ -13509,12 +10449,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, @@ -13523,52 +10458,69 @@ "overrides": [] }, "gridPos": { - "h": 13, - "w": 12, - "x": 12, - "y": 47 + "h": 11, + "w": 8, + "x": 16, + "y": 55 }, - "id": 88, + "id": 109, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_process_pool_failures_total{instance=\"$host\"}", + "editorMode": "code", + "expr": "haproxy_process_jobs{instance=\"$host\"}", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Total number of failed pool allocations", + "legendFormat": "Current number of active jobs (listeners, sessions, open devices)", "metric": "", + "range": true, "refId": "A", "step": 240 + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "haproxy_process_unstoppable_jobs{instance=\"$host\"}", + "interval": "$interval", + "intervalFactor": 1, + "legendFormat": "Current number of active jobs that can't be stopped during a soft stop", + "metric": "", + "range": true, + "refId": "B", + "step": 240 } ], - "title": "Process - Pool allocations", + "title": "Process - Jobs", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -13582,6 +10534,7 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -13609,71 +10562,82 @@ }, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "percent" + "unit": "short" }, "overrides": [] }, "gridPos": { - "h": 13, - "w": 12, + "h": 11, + "w": 8, "x": 0, - "y": 60 + "y": 66 }, - "id": 108, + "id": 86, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_process_idle_time_percent{instance=\"$host\"}", + "editorMode": "code", + "expr": "haproxy_process_nbthread{instance=\"$host\"}", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Idle to total ratio over last sample (percent)", + "legendFormat": "Threads", "metric": "", + "range": true, "refId": "A", "step": 240 + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "haproxy_process_nbproc{instance=\"$host\"}", + "interval": "$interval", + "intervalFactor": 1, + "legendFormat": "Processes", + "metric": "", + "range": true, + "refId": "B", + "step": 240 } ], - "title": "Process - Idle", + "title": "Process - Configured Threads / Processes", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -13684,9 +10648,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "counter", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -13706,7 +10671,7 @@ "spanNulls": false, "stacking": { "group": "A", - "mode": "none" + "mode": "normal" }, "thresholdsStyle": { "mode": "off" @@ -13714,17 +10679,11 @@ }, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, @@ -13733,78 +10692,69 @@ "overrides": [] }, "gridPos": { - "h": 13, - "w": 12, - "x": 12, - "y": 60 + "h": 11, + "w": 8, + "x": 8, + "y": 66 }, - "id": 109, + "id": 111, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_process_jobs{instance=\"$host\"}[$__rate_interval])", + "editorMode": "code", + "expr": "rate(haproxy_process_dropped_logs_total{instance=\"$host\"}[$__rate_interval])", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Current number of active jobs (listeners, sessions, open devices)", + "legendFormat": "Total number of dropped logs", "metric": "", + "range": true, "refId": "A", "step": 240 }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_process_unstoppable_jobs{instance=\"$host\"}[$__rate_interval])", + "editorMode": "code", + "expr": "rate(haproxy_process_recv_logs_total{instance=\"$host\"}[$__rate_interval])", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Current number of active jobs that can't be stopped during a soft stop", + "legendFormat": "Total number of log messages received by log-forwarding listeners", "metric": "", + "range": true, "refId": "B", "step": 240 - }, - { - "datasource": { - "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" - }, - "expr": "rate(haproxy_process_listeners{instance=\"$host\"}[$__rate_interval])", - "interval": "$interval", - "intervalFactor": 1, - "legendFormat": "Current number of active listeners", - "metric": "", - "refId": "C", - "step": 240 } ], - "title": "Process - Jobs", + "title": "Process - Logs", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -13815,9 +10765,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "counter", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -13845,17 +10796,11 @@ }, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, @@ -13864,54 +10809,58 @@ "overrides": [] }, "gridPos": { - "h": 13, - "w": 12, - "x": 0, - "y": 73 + "h": 11, + "w": 8, + "x": 16, + "y": 66 }, "id": 110, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, + "editorMode": "code", "expr": "haproxy_process_active_peers{instance=\"$host\"}", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Current number of active peers", + "legendFormat": "Active peers", "metric": "", + "range": true, "refId": "A", "step": 240 }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, + "editorMode": "code", "expr": "haproxy_process_connected_peers{instance=\"$host\"}", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Current number of connected peers", + "legendFormat": "Connected peers", "metric": "", + "range": true, "refId": "B", "step": 240 } @@ -13922,7 +10871,7 @@ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -13933,9 +10882,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "counter", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -13955,7 +10905,7 @@ "spanNulls": false, "stacking": { "group": "A", - "mode": "normal" + "mode": "none" }, "thresholdsStyle": { "mode": "off" @@ -13963,17 +10913,11 @@ }, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, @@ -13982,67 +10926,71 @@ "overrides": [] }, "gridPos": { - "h": 13, - "w": 12, - "x": 12, - "y": 73 + "h": 11, + "w": 8, + "x": 0, + "y": 77 }, - "id": 111, + "id": 251, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_process_dropped_logs_total{instance=\"$host\"}", + "editorMode": "code", + "expr": "haproxy_process_current_tasks{instance=\"$host\"}", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Total number of dropped logs", + "legendFormat": "Total number of tasks in the current worker process (active + sleeping)", "metric": "", + "range": true, "refId": "A", "step": 240 }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "haproxy_process_recv_logs_total{instance=\"$host\"}", + "editorMode": "code", + "expr": "haproxy_process_current_run_queue{instance=\"$host\"}", + "hide": false, "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Total number of log messages received by log-forwarding listeners", + "legendFormat": "Total number of active tasks+tasklets in the current worker process", "metric": "", + "range": true, "refId": "B", "step": 240 } ], - "title": "Process - Logs", + "title": "Process - Tasks / Runqueue", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "description": "", "fieldConfig": { "defaults": { "color": { @@ -14052,9 +11000,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "counter", - "axisPlacement": "left", + "axisLabel": "", + "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -14082,83 +11031,84 @@ }, "links": [], "mappings": [], + "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, - "unit": "bits" + "unit": "percent" }, "overrides": [] }, "gridPos": { - "h": 15, - "w": 12, - "x": 0, - "y": 86 + "h": 11, + "w": 8, + "x": 8, + "y": 77 }, - "id": 217, + "id": 108, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", - "sort": "none" + "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_process_bytes_out_total{instance=\"$host\"}[$__rate_interval])*8", + "editorMode": "code", + "expr": "haproxy_process_idle_time_percent{instance=\"$host\"}", "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Emitted by current worker {{ proxy }}", - "metric": "haproxy_backend_", + "legendFormat": "Idle to total ratio over last sample (percent)", + "metric": "", + "range": true, "refId": "A", "step": 240 }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, - "expr": "rate(haproxy_process_spliced_bytes_out_total{instance=\"$host\"}[$__rate_interval])*8", + "editorMode": "code", + "expr": "haproxy_process_stopping{instance=\"$host\"}", + "hide": false, "interval": "$interval", "intervalFactor": 1, - "legendFormat": "Emitted by current worker through a kernel pipe {{ proxy }}", - "metric": "haproxy_backend_", + "legendFormat": "Non zero means stopping in progress", + "metric": "", + "range": true, "refId": "B", "step": 240 } ], - "title": "Process - Bytes out", + "title": "Process - Idle / Stopping", "type": "timeseries" }, { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { @@ -14169,9 +11119,10 @@ "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", - "axisLabel": "counter", + "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, + "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", @@ -14199,80 +11150,56 @@ }, "links": [], "mappings": [], - "min": 0, "thresholds": { "mode": "absolute", "steps": [ { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 + "color": "green" } ] }, "unit": "s" }, - "overrides": [ - { - "matcher": { - "id": "byRegexp", - "options": "/.*Configured.*/" - }, - "properties": [ - { - "id": "custom.fillOpacity", - "value": 0 - }, - { - "id": "custom.stacking", - "value": { - "group": false, - "mode": "normal" - } - } - ] - } - ] + "overrides": [] }, "gridPos": { - "h": 13, - "w": 12, - "x": 12, - "y": 86 + "h": 11, + "w": 8, + "x": 16, + "y": 77 }, "id": 218, "options": { "legend": { "calcs": [ + "min", "mean", - "lastNotNull", - "max", - "min" + "max" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { + "hideZeros": false, "mode": "multi", "sort": "desc" } }, - "pluginVersion": "9.2.0", + "pluginVersion": "11.6.1", "targets": [ { "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, + "editorMode": "code", "expr": "haproxy_process_uptime_seconds{instance=\"$host\"}", "interval": "$interval", "intervalFactor": 1, "legendFormat": "How long ago this worker process was started", "metric": "", + "range": true, "refId": "A", "step": 240 } @@ -14281,21 +11208,12 @@ "type": "timeseries" } ], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "000000001" - }, - "refId": "A" - } - ], "title": "Process Misc", "type": "row" } ], - "revision": 1, - "schemaVersion": 39, + "refresh": "1m", + "schemaVersion": 41, "tags": [ "haproxy", "servers" @@ -14303,20 +11221,25 @@ "templating": { "list": [ { - "current": { - "selected": false, - "text": "192.168.122.12:7000", - "value": "192.168.122.12:7000" - }, + "current": {}, + "includeAll": false, + "label": "datasource", + "name": "DS_PROMETHEUS", + "options": [], + "query": "prometheus", + "refresh": 1, + "regex": "", + "type": "datasource" + }, + { + "current": {}, "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "definition": "", - "hide": 0, "includeAll": false, "label": "Host", - "multi": false, "name": "host", "options": [], "query": { @@ -14325,27 +11248,16 @@ }, "refresh": 1, "regex": "", - "skipUrlSync": false, "sort": 1, - "type": "query", - "useTags": false + "type": "query" }, { - "current": { - "selected": false, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, + "current": {}, "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "definition": "", - "hide": 0, "includeAll": true, "label": "Backend", "multi": true, @@ -14357,27 +11269,16 @@ }, "refresh": 1, "regex": "", - "skipUrlSync": false, "sort": 1, - "type": "query", - "useTags": false + "type": "query" }, { - "current": { - "selected": false, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, + "current": {}, "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "definition": "", - "hide": 0, "includeAll": true, "label": "Frontend", "multi": true, @@ -14389,26 +11290,16 @@ }, "refresh": 1, "regex": "", - "skipUrlSync": false, "sort": 1, "type": "query" }, { - "current": { - "selected": false, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, + "current": {}, "datasource": { "type": "prometheus", - "uid": "PDC1078F23EBDF0E5" + "uid": "${DS_PROMETHEUS}" }, "definition": "", - "hide": 0, "includeAll": true, "label": "Server", "multi": true, @@ -14420,29 +11311,41 @@ }, "refresh": 1, "regex": "", - "skipUrlSync": false, "sort": 1, - "type": "query", - "useTags": false + "type": "query" + }, + { + "current": {}, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "definition": "", + "includeAll": true, + "label": "HTTP Code", + "multi": true, + "name": "code", + "options": [], + "query": { + "query": "label_values(haproxy_server_http_responses_total{instance=\"$host\"}, code)", + "refId": "Prometheus-code-Variable-Query" + }, + "refresh": 1, + "regex": "", + "sort": 1, + "type": "query" }, { "auto": true, "auto_count": 30, "auto_min": "10s", "current": { - "selected": true, "text": "30s", "value": "30s" }, - "hide": 0, "label": "Interval", "name": "interval", "options": [ - { - "selected": false, - "text": "auto", - "value": "$__auto_interval_interval" - }, { "selected": true, "text": "30s", @@ -14476,43 +11379,19 @@ ], "query": "30s,1m,5m,1h,6h,1d", "refresh": 2, - "skipUrlSync": false, "type": "interval" } ] }, "time": { - "from": "now-6h", + "from": "now-24h", "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" - ] - }, + "timepicker": {}, "timezone": "browser", - "title": "HAProxy 2", + "title": "HAProxy", "uid": "rEqu1u5ue", - "version": 10, - "weekStart": "" + "version": 24, + "weekStart": "", + "gnetId": 12693 }