{ "__inputs": [ { "name": "DS_PROMETHEUS", "label": "Prometheus", "description": "", "type": "datasource", "pluginId": "prometheus", "pluginName": "Prometheus" } ], "__elements": [], "__requires": [ { "type": "grafana", "id": "grafana", "name": "Grafana", "version": "8.3.5" }, { "type": "panel", "id": "graph", "name": "Graph (old)", "version": "" }, { "type": "datasource", "id": "prometheus", "name": "Prometheus", "version": "1.0.0" }, { "type": "panel", "id": "stat", "name": "Stat", "version": "" } ], "annotations": { "list": [ { "builtIn": 1, "datasource": "-- Grafana --", "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "target": { "limit": 100, "matchAny": false, "tags": [], "type": "dashboard" }, "type": "dashboard" } ] }, "description": "A rich collection of Prometheus metrics from NGINX Plus Kubernetes Ingress Controller", "editable": true, "fiscalYearStartMonth": 0, "gnetId": 9614, "graphTooltip": 0, "id": null, "iteration": 1657107505099, "links": [], "liveNow": false, "panels": [ { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 0 }, "id": 122, "panels": [], "title": "Environment Metrics", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "description": "Status of the last NGINX Plus reload.", "fieldConfig": { "defaults": { "decimals": 0, "mappings": [ { "options": { "0": { "text": "Failure" }, "1": { "text": "Successful" } }, "type": "value" }, { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "rgb(228, 0, 43)", "value": null }, { "color": "rgb(228, 0, 43)", "value": 0 }, { "color": "rgb(0, 150, 57)", "value": 1 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 3, "w": 5, "x": 0, "y": 1 }, "id": 81, "links": [ { "targetBlank": true, "title": "NGINX Plus Dashboard", "url": "http://127.0.0.1:8080/dashboard.html" } ], "maxDataPoints": 100, "options": { "colorMode": "background", "fieldOptions": { "calcs": [ "lastNotNull" ] }, "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "8.3.5", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "exemplar": false, "expr": "sum(nginx_ingress_controller_nginx_last_reload_status{app=\"$NIC\"})", "format": "time_series", "instant": true, "interval": "", "legendFormat": "", "refId": "A" } ], "title": "NGINX Plus Reload", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "description": "Number of successful NGINX Plus reloads.", "fieldConfig": { "defaults": { "decimals": 0, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "rgb(0, 150, 57)", "value": null } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 6, "w": 3, "x": 5, "y": 1 }, "id": 83, "links": [], "maxDataPoints": 100, "options": { "colorMode": "value", "fieldOptions": { "calcs": [ "mean" ] }, "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "8.3.5", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "exemplar": false, "expr": "sum(nginx_ingress_controller_nginx_reloads_total{app=\"$NIC\"})", "instant": true, "interval": "", "legendFormat": "", "refId": "A" } ], "title": "Reloads", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "description": "Number of unsuccessful NGINX Plus reloads.", "fieldConfig": { "defaults": { "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "rgb(0, 150, 57)", "value": null }, { "color": "rgb(228, 0, 43)", "value": 1 } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 6, "w": 3, "x": 8, "y": 1 }, "id": 106, "links": [], "maxDataPoints": 100, "options": { "colorMode": "value", "fieldOptions": { "calcs": [ "lastNotNull" ] }, "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "8.3.5", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "sum(nginx_ingress_controller_nginx_reload_errors_total{app=\"$NIC\"})", "interval": "", "legendFormat": "", "refId": "A" } ], "title": "Reload Errors", "type": "stat" }, { "aliasColors": { "Received": "rgb(0, 150, 57)", "Sent": "rgb(255, 255, 255)" }, "bars": false, "dashLength": 10, "dashes": false, "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "decimals": 2, "description": "Bytes received from clients and sent to clients.", "editable": true, "error": false, "fieldConfig": { "defaults": { "links": [] }, "overrides": [] }, "fill": 1, "fillGradient": 5, "grid": {}, "gridPos": { "h": 6, "w": 11, "x": 11, "y": 1 }, "height": "200px", "hiddenSeries": false, "id": 32, "isNew": true, "legend": { "alignAsTable": false, "avg": false, "current": true, "max": false, "min": false, "rightSide": false, "show": true, "sideWidth": 250, "sort": "current", "sortDesc": true, "total": true, "values": true }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "connected", "options": { "alertThreshold": true }, "percentage": false, "pluginVersion": "8.3.5", "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "sum(irate(nginx_ingress_nginxplus_server_zone_received{app=\"$NIC\"}[5m]))", "format": "time_series", "instant": false, "interval": "10s", "intervalFactor": 1, "legendFormat": "Received", "metric": "network", "refId": "C", "step": 10 }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "sum(irate(nginx_ingress_nginxplus_server_zone_sent{app=\"$NIC\"}[5m]))", "format": "time_series", "hide": false, "interval": "10s", "intervalFactor": 1, "legendFormat": "Sent", "metric": "network", "refId": "D", "step": 10 } ], "thresholds": [], "timeRegions": [], "title": "Network I/O", "tooltip": { "msResolution": false, "shared": true, "sort": 0, "value_type": "cumulative" }, "type": "graph", "xaxis": { "mode": "time", "show": true, "values": [] }, "yaxes": [ { "format": "Bps", "logBase": 1, "show": true }, { "format": "Bps", "logBase": 1, "show": false } ], "yaxis": { "align": false } }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "description": "Last controller reload milliseconds.", "fieldConfig": { "defaults": { "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "rgb(0, 150, 57)", "value": null } ] }, "unit": "ms" }, "overrides": [] }, "gridPos": { "h": 3, "w": 5, "x": 0, "y": 4 }, "id": 128, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "8.3.5", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "avg(nginx_ingress_controller_nginx_last_reload_milliseconds{app=\"$NIC\"})", "interval": "", "legendFormat": "", "refId": "A" } ], "title": "Last Reload Time", "type": "stat" }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 7 }, "id": 118, "panels": [], "title": "Ingress Metrics", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "description": "Total http requests per second looking back over the last 5 minutes.", "fieldConfig": { "defaults": { "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "rgb(0, 150, 57)", "value": null } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 5, "w": 10, "x": 0, "y": 8 }, "id": 20, "links": [], "maxDataPoints": 100, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "8.3.5", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "sum(irate(nginx_ingress_nginxplus_http_requests_total{app=\"$NIC\"}[5m]))", "interval": "", "legendFormat": "", "refId": "A" } ], "title": "HTTP Request Volume", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "description": "Current State of the NGINX Ingress Controller.", "fieldConfig": { "defaults": { "mappings": [ { "options": { "0": { "text": "DOWN" }, "1": { "text": "UP" } }, "type": "value" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "rgb(228, 0, 43)", "value": 0 }, { "color": "rgb(0, 150, 57)", "value": 1 } ] } }, "overrides": [] }, "gridPos": { "h": 3, "w": 5, "x": 10, "y": 8 }, "id": 132, "links": [ { "targetBlank": true, "title": "NGINX Plus Dashboard", "url": "http://127.0.0.1:8080/dashboard.html#" } ], "options": { "colorMode": "background", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "8.3.5", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "nginx_ingress_nginxplus_up{}", "interval": "", "legendFormat": "{{app}}", "refId": "A" } ], "title": "Ingress State", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "description": "Total http requests per second looking back over the last 5 minutes across all server zones.", "fieldConfig": { "defaults": { "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "rgb(0, 150, 57)", "value": null }, { "color": "rgb(228, 0, 43)", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 5, "w": 9, "x": 15, "y": 8 }, "id": 86, "links": [], "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "8.3.5", "repeatDirection": "h", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "sum( irate( nginx_ingress_nginxplus_server_zone_requests{app=\"$NIC\"}[5m])) ", "format": "time_series", "hide": false, "instant": false, "interval": "", "intervalFactor": 5, "legendFormat": "{{ ingress }}", "metric": "network", "refId": "A", "step": 10 } ], "title": "Zone Request Volume", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "description": "Total number of deployed Ingress .", "fieldConfig": { "defaults": { "decimals": 0, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "rgb(0, 150, 57)", "value": null } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 3, "w": 5, "x": 10, "y": 11 }, "id": 120, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "8.3.5", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "sum(nginx_ingress_controller_ingress_resources_total{app=\"$NIC\"})", "interval": "", "legendFormat": "", "refId": "A" } ], "title": "Ingress Count", "type": "stat" }, { "aliasColors": { "Informational": "rgb(204, 204, 204)", "Redirection": "rgb(29, 156, 211)", "Success": "rgb(0, 150, 57)" }, "bars": false, "dashLength": 10, "dashes": false, "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "description": " 1|2|3xx response status codes.", "fieldConfig": { "defaults": { "links": [], "unit": "cps" }, "overrides": [] }, "fill": 1, "fillGradient": 5, "gridPos": { "h": 7, "w": 10, "x": 0, "y": 13 }, "hiddenSeries": false, "id": 101, "legend": { "avg": false, "current": true, "max": false, "min": false, "show": true, "total": true, "values": true }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, "pluginVersion": "8.3.5", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "sum(irate(nginx_ingress_nginxplus_server_zone_responses{code=\"1xx\",app=\"$NIC\"}[5m])) ", "interval": "", "legendFormat": "1xx", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "sum(irate(nginx_ingress_nginxplus_server_zone_responses{code=\"2xx\",app=\"$NIC\"}[5m])) ", "interval": "", "legendFormat": "2xx", "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "sum(irate(nginx_ingress_nginxplus_server_zone_responses{code=\"3xx\",app=\"$NIC\"}[5m])) ", "format": "time_series", "hide": false, "instant": false, "interval": "", "intervalFactor": 1, "legendFormat": "3xx", "metric": "container_memory_usage:sort_desc", "refId": "C", "step": 10 }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "sum(irate(nginx_ingress_nginxplus_server_zone_responses{code=\"4xx\",app=\"$NIC\"}[5m])) ", "hide": false, "interval": "", "legendFormat": "4xx", "refId": "D" } ], "thresholds": [], "timeRegions": [], "title": "Success Rates Over Time", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "mode": "time", "show": true, "values": [] }, "yaxes": [ { "format": "cps", "logBase": 1, "show": true }, { "format": "short", "logBase": 1, "show": true } ], "yaxis": { "align": false } }, { "aliasColors": { "4xx": "dark-red", "5xx": "dark-orange", "Client Errors": "rgb(242, 154, 54)", "Server Errors": "rgb(228, 0, 43)", "max - Prometheus": "#bf1b00", "max - istio-proxy": "#890f02", "max - master": "#bf1b00" }, "bars": false, "dashLength": 10, "dashes": false, "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "decimals": 0, "description": " 4|5xx response status codes.", "editable": false, "error": false, "fieldConfig": { "defaults": { "links": [] }, "overrides": [] }, "fill": 1, "fillGradient": 5, "grid": {}, "gridPos": { "h": 7, "w": 9, "x": 15, "y": 13 }, "hiddenSeries": false, "id": 87, "isNew": true, "legend": { "alignAsTable": false, "avg": false, "current": true, "hideEmpty": true, "hideZero": false, "max": false, "min": false, "rightSide": false, "show": true, "sideWidth": 300, "sort": "avg", "sortDesc": true, "total": true, "values": true }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "connected", "options": { "alertThreshold": true }, "percentage": false, "pluginVersion": "8.3.5", "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "sum(rate(nginx_ingress_nginxplus_server_zone_responses{code=~\"[4].*\",app=\"$NIC\"}[2m]))", "format": "time_series", "instant": false, "interval": "", "intervalFactor": 1, "legendFormat": "Client Errors", "metric": "container_memory_usage:sort_desc", "refId": "C", "step": 10 }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "sum(rate(nginx_ingress_nginxplus_server_zone_responses{code=~\"[5].*\",app=\"$NIC\"}[2m]))", "format": "time_series", "instant": false, "interval": "", "intervalFactor": 1, "legendFormat": "Server Errors", "metric": "container_memory_usage:sort_desc", "refId": "D", "step": 10 } ], "thresholds": [], "timeRegions": [], "title": "Error Rates Over Time", "tooltip": { "msResolution": false, "shared": true, "sort": 1, "value_type": "cumulative" }, "type": "graph", "xaxis": { "mode": "time", "show": true, "values": [] }, "yaxes": [ { "format": "none", "logBase": 1, "show": true }, { "format": "short", "logBase": 1, "show": false } ], "yaxis": { "align": false } }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "fieldConfig": { "defaults": { "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "rgb(0, 150, 57)", "value": null } ] } }, "overrides": [] }, "gridPos": { "h": 3, "w": 5, "x": 10, "y": 14 }, "id": 140, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "center", "orientation": "auto", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "8.3.5", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "sum(nginx_ingress_controller_virtualserver_resources_total{app=\"$NIC\"})", "interval": "", "legendFormat": "Virtual Server", "refId": "C" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "sum(nginx_ingress_controller_virtualserverroute_resources_total{app=\"$NIC\"})", "hide": false, "interval": "", "legendFormat": "Virtual Server Router", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "sum(nginx_ingress_controller_transportserver_resources_total{app=\"$NIC\"})", "hide": false, "interval": "", "legendFormat": "Transport Server", "refId": "B" } ], "title": "Virtual Server", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "description": "Non-4|5xx response status codes divided by total number of response status codes.", "fieldConfig": { "defaults": { "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "max": 1, "min": 0, "thresholds": { "mode": "percentage", "steps": [ { "color": "rgb(228, 0, 43)", "value": null }, { "color": "rgb(242, 154, 54)", "value": 90 }, { "color": "rgb(255, 242, 0)", "value": 95 }, { "color": "rgb(0, 150, 57)", "value": 99.9999 } ] }, "unit": "percentunit" }, "overrides": [] }, "gridPos": { "h": 3, "w": 5, "x": 10, "y": 17 }, "id": 21, "links": [], "maxDataPoints": 100, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "8.3.5", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "sum(rate( nginx_ingress_nginxplus_server_zone_responses{code!~\"[4-5].*\",app=\"$NIC\"}[5m])) / sum(rate(nginx_ingress_nginxplus_server_zone_responses{app=\"$NIC\"}[5m]))", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "B", "step": 4 } ], "title": "Request Success Rate", "type": "stat" }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 20 }, "id": 134, "panels": [], "title": "Upstream Metrics", "type": "row" }, { "aliasColors": { "Informational": "rgb(204, 204, 204)", "Redirection": "rgb(78, 67, 164)", "Success": "rgb(0, 150, 57)" }, "bars": false, "dashLength": 10, "dashes": false, "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "description": "Upstream success rate Over Time.", "fieldConfig": { "defaults": { "links": [] }, "overrides": [] }, "fill": 1, "fillGradient": 5, "gridPos": { "h": 6, "w": 11, "x": 0, "y": 21 }, "hiddenSeries": false, "id": 136, "legend": { "alignAsTable": false, "avg": false, "current": true, "max": false, "min": false, "show": true, "total": true, "values": true }, "lines": true, "linewidth": 2, "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, "pluginVersion": "8.3.5", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "sum(rate(nginx_ingress_nginxplus_server_zone_responses{app=\"$NIC\"} [5m])) by (code,server_zone)\r\n", "hide": false, "interval": "", "legendFormat": "", "refId": "D" } ], "thresholds": [], "timeRegions": [], "title": "Upstream Success Rate", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "mode": "time", "show": true, "values": [] }, "yaxes": [ { "format": "short", "logBase": 1, "show": true }, { "format": "short", "logBase": 1, "show": true } ], "yaxis": { "align": false } }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "description": "Total number of service count", "fieldConfig": { "defaults": { "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "rgb(0, 150, 57)", "value": null } ] }, "unit": "none" }, "overrides": [] }, "gridPos": { "h": 6, "w": 3, "x": 11, "y": 21 }, "id": 124, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "center", "orientation": "horizontal", "reduceOptions": { "calcs": [ "mean" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "8.3.5", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "exemplar": false, "expr": "nginx_ingress_nginxplus_upstream_server_state{app=\"$NIC\"} ", "hide": false, "instant": false, "interval": "", "intervalFactor": 1, "legendFormat": "{{resource_name}}", "refId": "C" } ], "title": "Service Count", "type": "stat" }, { "aliasColors": { "Client Errors": "rgb(204, 204, 204)", "Server Errors": "rgb(255, 242, 0)" }, "bars": false, "dashLength": 10, "dashes": false, "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "description": " 4|5xx Status Codes", "fieldConfig": { "defaults": { "links": [] }, "overrides": [] }, "fill": 1, "fillGradient": 5, "gridPos": { "h": 6, "w": 10, "x": 14, "y": 21 }, "hiddenSeries": false, "id": 138, "legend": { "avg": false, "current": true, "max": false, "min": false, "show": true, "total": true, "values": true }, "lines": true, "linewidth": 2, "nullPointMode": "connected", "options": { "alertThreshold": true }, "percentage": false, "pluginVersion": "8.3.5", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "sum(rate(nginx_ingress_nginxplus_server_zone_responses{app=\"$NIC\", code=~\"[4].*\"} [5m])) by (code,server_zone)", "interval": "", "legendFormat": "Client Errors", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "sum(rate(nginx_ingress_nginxplus_server_zone_responses{app=\"$NIC\", code=~\"[5].*\"} [5m])) by (code,server_zone)", "interval": "", "legendFormat": "Server Errors", "refId": "B" } ], "thresholds": [], "timeRegions": [], "title": "Upstream Error Rate", "tooltip": { "shared": true, "sort": 1, "value_type": "individual" }, "type": "graph", "xaxis": { "mode": "time", "show": true, "values": [] }, "yaxes": [ { "format": "short", "logBase": 1, "show": true }, { "format": "short", "logBase": 1, "show": false } ], "yaxis": { "align": false } }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 27 }, "id": 150, "panels": [], "title": "SSL Metrics", "type": "row" }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "description": "", "fieldConfig": { "defaults": { "links": [] }, "overrides": [] }, "fill": 1, "fillGradient": 0, "gridPos": { "h": 6, "w": 24, "x": 0, "y": 28 }, "hiddenSeries": false, "id": 111, "legend": { "avg": false, "current": false, "max": false, "min": false, "show": true, "total": false, "values": false }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "options": { "alertThreshold": true }, "percentage": false, "pluginVersion": "8.3.5", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "irate(nginx_ingress_nginxplus_ssl_handshakes{app=\"$NIC\"}[5m])", "format": "time_series", "interval": "", "legendFormat": "{{instance}} Handshakes", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "irate(nginx_ingress_nginxplus_ssl_handshakes_failed{app=\"$NIC\"}[5m])", "format": "time_series", "interval": "", "legendFormat": "{{instance}} Failed", "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "exemplar": true, "expr": "irate(nginx_ingress_nginxplus_ssl_sessions_reuses{app=\"$NIC\"}[5m])", "format": "time_series", "interval": "", "legendFormat": "{{instance}} Reuses", "refId": "C" } ], "thresholds": [], "timeRegions": [], "title": "SSL Performance", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "mode": "time", "show": true, "values": [] }, "yaxes": [ { "format": "short", "logBase": 1, "show": true }, { "format": "short", "logBase": 1, "show": true } ], "yaxis": { "align": false } } ], "refresh": "", "schemaVersion": 34, "style": "dark", "tags": [ "nginx", "plus", "ingress" ], "templating": { "list": [ { "current": {}, "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, "definition": "label_values(nginx_ingress_controller_ingress_resources_total, app) ", "hide": 0, "includeAll": false, "multi": false, "name": "NIC", "options": [], "query": { "query": "label_values(nginx_ingress_controller_ingress_resources_total, app) ", "refId": "StandardVariableQuery" }, "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "type": "query" } ] }, "time": { "from": "now-1h", "to": "now" }, "timepicker": { "refresh_intervals": [ "10s", "30s", "2m", "5m", "15m", "30m", "1h", "2h", "1d" ], "time_options": [ "5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d" ] }, "timezone": "browser", "title": "NGINX Plus Ingress Controller", "uid": "VUwGrLVMz", "version": 2, "weekStart": "" }