Last active
March 3, 2024 15:56
-
-
Save towolf/c01436fb5991d5fcea85ee1c7cb62030 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", | |
"type": "dashboard" | |
} | |
] | |
}, | |
"description": "", | |
"editable": true, | |
"gnetId": 1623, | |
"graphTooltip": 1, | |
"id": 100, | |
"iteration": 1544092264058, | |
"links": [], | |
"panels": [ | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "$datasource", | |
"fill": 1, | |
"gridPos": { | |
"h": 6, | |
"w": 21, | |
"x": 0, | |
"y": 0 | |
}, | |
"id": 1, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum by (status) (\n rate(\n nginx_vts_main_connections[$interval]\n )\n)", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "{{ status }}", | |
"metric": "nginx_server_connections", | |
"refId": "A", | |
"step": 240 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "Server Connections", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 2, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"#299c46", | |
"rgba(237, 129, 40, 0.89)", | |
"#d44a3a" | |
], | |
"datasource": "$datasource", | |
"description": "The Ingress Nginx webserver handling the most active connections in the recent past", | |
"format": "dtdurations", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 3, | |
"x": 21, | |
"y": 0 | |
}, | |
"id": 12, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"expr": "nginx_vts_info \n+ on(instance) group_left() (\n topk(1,\n sum by (instance) (\n rate(\n nginx_vts_main_connections[$interval]\n )\n )\n ) > bool 1\n)", | |
"format": "time_series", | |
"instant": true, | |
"intervalFactor": 1, | |
"legendFormat": "{{ hostname }}", | |
"refId": "A" | |
} | |
], | |
"thresholds": "", | |
"title": "Active Ingress", | |
"type": "singlestat", | |
"valueFontSize": "80%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "name" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"#299c46", | |
"rgba(237, 129, 40, 0.89)", | |
"#d44a3a" | |
], | |
"datasource": "$datasource", | |
"format": "dtdurations", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 3, | |
"x": 21, | |
"y": 2 | |
}, | |
"id": 13, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"expr": "nginx_vts_info\n+ on(instance) group_left() (\n topk(1,\n sum by (instance) (\n rate(\n nginx_vts_main_connections[$interval]\n )\n )\n ) > bool 1\n)", | |
"format": "time_series", | |
"instant": true, | |
"intervalFactor": 1, | |
"legendFormat": "{{ version }}", | |
"refId": "A" | |
} | |
], | |
"thresholds": "", | |
"title": "Nginx Version", | |
"type": "singlestat", | |
"valueFontSize": "80%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "name" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"#299c46", | |
"rgba(237, 129, 40, 0.89)", | |
"#d44a3a" | |
], | |
"datasource": "$datasource", | |
"decimals": null, | |
"format": "dtdurations", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 3, | |
"x": 21, | |
"y": 4 | |
}, | |
"id": 11, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": true | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"expr": "time() - nginx_vts_start_time_seconds \n+ on(instance) group_left() (\n topk(1,\n sum by (instance) (\n rate(\n nginx_vts_main_connections[$interval]\n )\n )\n ) > bool 1\n)", | |
"format": "time_series", | |
"instant": true, | |
"interval": "30s", | |
"intervalFactor": 1, | |
"refId": "A" | |
} | |
], | |
"thresholds": "", | |
"title": "Time since reload", | |
"type": "singlestat", | |
"valueFontSize": "50%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "current" | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "$datasource", | |
"fill": 1, | |
"gridPos": { | |
"h": 5, | |
"w": 12, | |
"x": 0, | |
"y": 6 | |
}, | |
"id": 3, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"hideEmpty": true, | |
"hideZero": true, | |
"max": false, | |
"min": false, | |
"show": false, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum by (host) (\n rate(\n nginx_vts_server_requests_total{\n namespace != \"external\",\n host != \"*\",\n host =~ \"^([[project]])-([[environment]])\\\\.([[namespace]])(\\\\.external)?\\\\.ingress\\\\.(production|staging)\\\\.k8s\\\\.example\\\\.com$\",\n code != \"total\"\n }[$interval]\n )\n)", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "{{ host }}", | |
"metric": "nginx_server_requests", | |
"refId": "A", | |
"step": 240 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "Server Requests", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 2, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": false | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "$datasource", | |
"fill": 1, | |
"gridPos": { | |
"h": 5, | |
"w": 12, | |
"x": 12, | |
"y": 6 | |
}, | |
"id": 28, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": false, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum by (upstream) (\n rate(\n nginx_vts_upstream_requests_total{\n upstream =~ \"^([[project]])-([[environment]])_([[namespace]])(_external|_internal)?_pool$\",\n code != \"total\"\n }[$interval]\n )\n)", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "{{ upstream }}", | |
"metric": "nginx_upstream_requests", | |
"refId": "A", | |
"step": 240 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "Upstream Requests (by upstream)", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 2, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "$datasource", | |
"fill": 1, | |
"gridPos": { | |
"h": 5, | |
"w": 12, | |
"x": 0, | |
"y": 11 | |
}, | |
"id": 27, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"hideEmpty": true, | |
"hideZero": true, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum by (code) (\n rate(\n nginx_vts_server_requests_total{\n namespace != \"external\",\n host != \"*\",\n host =~ \"^([[project]])-([[environment]])\\\\.([[namespace]])(\\\\.external)?\\\\.ingress\\\\.(production|staging)\\\\.k8s\\\\.example\\\\.com$\",\n code != \"total\"\n }[$interval]\n )\n)", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "{{ code }}", | |
"metric": "nginx_server_requests", | |
"refId": "A", | |
"step": 240 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "Server Requests (by code)", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 2, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "$datasource", | |
"fill": 1, | |
"gridPos": { | |
"h": 5, | |
"w": 12, | |
"x": 12, | |
"y": 11 | |
}, | |
"id": 6, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"hideEmpty": true, | |
"hideZero": true, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum by (code) (\n rate(\n nginx_vts_upstream_requests_total{\n upstream =~ \"^([[project]])-([[environment]])_([[namespace]])(_external|_internal)?_pool$\",\n code != \"total\"\n }[$interval]\n )\n)", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "{{ code }}", | |
"metric": "nginx_upstream_requests", | |
"refId": "A", | |
"step": 240 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "Upstream Requests (by code)", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "$datasource", | |
"fill": 1, | |
"gridPos": { | |
"h": 5, | |
"w": 12, | |
"x": 0, | |
"y": 16 | |
}, | |
"id": 2, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum by (direction)(\n rate(\n nginx_vts_server_bytes_total{\n namespace != \"external\",\n host != \"*\",\n host =~ \"^([[project]])-([[environment]])\\\\.([[namespace]])(\\\\.external)?\\\\.ingress\\\\.(production|staging)\\\\.k8s\\\\.example\\\\.com$\"\n }[$interval]\n )\n)", | |
"format": "time_series", | |
"intervalFactor": 2, | |
"legendFormat": "{{ direction }}", | |
"metric": "nginx_server_bytes", | |
"refId": "A", | |
"step": 240 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "Server Bytes", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "bytes", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "$datasource", | |
"fill": 1, | |
"gridPos": { | |
"h": 5, | |
"w": 12, | |
"x": 12, | |
"y": 16 | |
}, | |
"id": 5, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum by (direction)(\n rate(\n nginx_vts_upstream_bytes_total{\n upstream =~ \"^([[project]])-([[environment]])_([[namespace]])(_external|_internal)?_pool$\"\n }[$interval]\n )\n)", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "{{ direction }}", | |
"metric": "nginx_upstream_bytes", | |
"refId": "A", | |
"step": 240 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "Upstream Bytes", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "bytes", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "$datasource", | |
"fill": 1, | |
"gridPos": { | |
"h": 5, | |
"w": 12, | |
"x": 0, | |
"y": 21 | |
}, | |
"id": 4, | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": false, | |
"hideEmpty": true, | |
"hideZero": true, | |
"max": true, | |
"min": true, | |
"rightSide": true, | |
"show": false, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum by (host) (\n nginx_vts_server_request_seconds{\n host != \"*\", namespace != \"external\",\n host =~ \"^([[project]])-([[environment]])\\\\.([[namespace]])(\\\\.external)?\\\\.ingress\\\\.(production|staging)\\\\.k8s\\\\.example\\\\.com$\"\n }\n)", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 1, | |
"legendFormat": "{{ host }}", | |
"metric": "nginx_server_cache", | |
"refId": "A", | |
"step": 240 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "Server Request time (gauge)", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 2, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "s", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "$datasource", | |
"fill": 1, | |
"gridPos": { | |
"h": 5, | |
"w": 12, | |
"x": 12, | |
"y": 21 | |
}, | |
"id": 29, | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": false, | |
"hideEmpty": true, | |
"hideZero": true, | |
"max": true, | |
"min": true, | |
"rightSide": true, | |
"show": false, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "avg without (backend) (\n nginx_vts_upstream_request_seconds{\n upstream =~ \"^([[project]])-([[environment]])_([[namespace]])(_external|_internal)?_pool$\"\n }\n)", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "{{ upstream }}", | |
"metric": "nginx_server_cache", | |
"refId": "A", | |
"step": 240 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "Upstream Request time (gauge)", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 2, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "s", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"cards": { | |
"cardPadding": 0, | |
"cardRound": 0 | |
}, | |
"color": { | |
"cardColor": "#b4ff00", | |
"colorScale": "sqrt", | |
"colorScheme": "interpolateViridis", | |
"exponent": 0.9, | |
"min": null, | |
"mode": "spectrum" | |
}, | |
"dataFormat": "tsbuckets", | |
"datasource": "$datasource", | |
"gridPos": { | |
"h": 6, | |
"w": 12, | |
"x": 0, | |
"y": 26 | |
}, | |
"heatmap": {}, | |
"highlightCards": true, | |
"id": 19, | |
"legend": { | |
"show": true | |
}, | |
"links": [], | |
"targets": [ | |
{ | |
"expr": "sum by (le)(\n increase(\n nginx_vts_server_request_duration_seconds_bucket{\n host != \"*\", namespace != \"external\",\n host =~ \"^([[project]])-([[environment]])\\\\.([[namespace]])(\\\\.external)?\\\\.ingress\\\\.(production|staging)\\\\.k8s\\\\.example\\\\.com$\"\n }[$interval]\n )\n)", | |
"format": "heatmap", | |
"instant": false, | |
"interval": "$step", | |
"intervalFactor": 4, | |
"legendFormat": "{{ le }}", | |
"refId": "A" | |
} | |
], | |
"title": "Server Request Duration Histogram ($step buckets)", | |
"tooltip": { | |
"show": true, | |
"showHistogram": true | |
}, | |
"type": "heatmap", | |
"xAxis": { | |
"show": true | |
}, | |
"xBucketNumber": null, | |
"xBucketSize": null, | |
"yAxis": { | |
"decimals": 0, | |
"format": "s", | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true, | |
"splitFactor": null | |
}, | |
"yBucketBound": "auto", | |
"yBucketNumber": null, | |
"yBucketSize": null | |
}, | |
{ | |
"cards": { | |
"cardPadding": 0, | |
"cardRound": 0 | |
}, | |
"color": { | |
"cardColor": "#b4ff00", | |
"colorScale": "sqrt", | |
"colorScheme": "interpolateViridis", | |
"exponent": 0.5, | |
"mode": "spectrum" | |
}, | |
"dataFormat": "tsbuckets", | |
"datasource": "$datasource", | |
"gridPos": { | |
"h": 6, | |
"w": 12, | |
"x": 12, | |
"y": 26 | |
}, | |
"heatmap": {}, | |
"highlightCards": true, | |
"id": 20, | |
"legend": { | |
"show": true | |
}, | |
"links": [], | |
"targets": [ | |
{ | |
"expr": "sum by (le)(\n increase(\n nginx_vts_upstream_request_duration_seconds_bucket{\n upstream =~ \"^([[project]])-([[environment]])_([[namespace]])(_external|_internal)?_pool$\"\n }[$interval]\n )\n)\n", | |
"format": "heatmap", | |
"instant": false, | |
"interval": "$step", | |
"intervalFactor": 4, | |
"legendFormat": "{{ le }}", | |
"refId": "A" | |
} | |
], | |
"title": "Upstream Request Duration Histogram ($step buckets)", | |
"tooltip": { | |
"show": true, | |
"showHistogram": true | |
}, | |
"type": "heatmap", | |
"xAxis": { | |
"show": true | |
}, | |
"xBucketNumber": null, | |
"xBucketSize": null, | |
"yAxis": { | |
"decimals": 0, | |
"format": "s", | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true, | |
"splitFactor": null | |
}, | |
"yBucketBound": "auto", | |
"yBucketNumber": null, | |
"yBucketSize": null | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "$datasource", | |
"fill": 1, | |
"gridPos": { | |
"h": 5, | |
"w": 12, | |
"x": 0, | |
"y": 32 | |
}, | |
"id": 23, | |
"interval": "1m", | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"alias": "0.5", | |
"color": "#5195ce", | |
"linewidth": 2 | |
}, | |
{ | |
"alias": "0.75", | |
"color": "#1f78c1" | |
}, | |
{ | |
"alias": "0.9", | |
"color": "#0a437c" | |
}, | |
{ | |
"alias": "0.95", | |
"color": "#052b51" | |
}, | |
{ | |
"alias": "0.99", | |
"color": "#890f02", | |
"lines": false, | |
"pointradius": 1, | |
"points": true | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "histogram_quantile(\n 0.99,\n sum by (le)(\n rate(\n nginx_vts_server_request_duration_seconds_bucket{\n host != \"*\", namespace != \"external\",\n host =~ \"^([[project]])-([[environment]])\\\\.([[namespace]])(\\\\.external)?\\\\.ingress\\\\.(production|staging)\\\\.k8s\\\\.example\\\\.com$\"\n }[$interval]\n )\n )\n)", | |
"format": "time_series", | |
"hide": false, | |
"interval": "$fine", | |
"intervalFactor": 1, | |
"legendFormat": "0.99", | |
"refId": "E" | |
}, | |
{ | |
"expr": "histogram_quantile(\n 0.95,\n sum by (le)(\n rate(\n nginx_vts_server_request_duration_seconds_bucket{\n host != \"*\", namespace != \"external\",\n host =~ \"^([[project]])-([[environment]])\\\\.([[namespace]])(\\\\.external)?\\\\.ingress\\\\.(production|staging)\\\\.k8s\\\\.example\\\\.com$\"\n }[$interval]\n )\n )\n)", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "0.95", | |
"refId": "A" | |
}, | |
{ | |
"expr": "histogram_quantile(\n 0.9,\n sum by (le)(\n rate(\n nginx_vts_server_request_duration_seconds_bucket{\n host != \"*\", namespace != \"external\",\n host =~ \"^([[project]])-([[environment]])\\\\.([[namespace]])(\\\\.external)?\\\\.ingress\\\\.(production|staging)\\\\.k8s\\\\.example\\\\.com$\"\n }[$interval]\n )\n )\n)", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "0.9", | |
"refId": "D" | |
}, | |
{ | |
"expr": "histogram_quantile(\n 0.75,\n sum by (le)(\n rate(\n nginx_vts_server_request_duration_seconds_bucket{\n host != \"*\", namespace != \"external\",\n host =~ \"^([[project]])-([[environment]])\\\\.([[namespace]])(\\\\.external)?\\\\.ingress\\\\.(production|staging)\\\\.k8s\\\\.example\\\\.com$\"\n }[$interval]\n )\n )\n)", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "0.75", | |
"refId": "B" | |
}, | |
{ | |
"expr": "histogram_quantile(\n 0.5,\n sum by (le)(\n rate(\n nginx_vts_server_request_duration_seconds_bucket{\n host != \"*\", namespace != \"external\",\n host =~ \"^([[project]])-([[environment]])\\\\.([[namespace]])(\\\\.external)?\\\\.ingress\\\\.(production|staging)\\\\.k8s\\\\.example\\\\.com$\"\n }[$interval]\n )\n )\n)", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "0.5", | |
"refId": "C" | |
} | |
], | |
"thresholds": [ | |
{ | |
"colorMode": "critical", | |
"fill": true, | |
"line": false, | |
"op": "gt", | |
"value": 10, | |
"yaxis": "left" | |
} | |
], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "Server request time percentiles", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "s", | |
"label": null, | |
"logBase": 2, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "$datasource", | |
"fill": 1, | |
"gridPos": { | |
"h": 5, | |
"w": 12, | |
"x": 12, | |
"y": 32 | |
}, | |
"id": 24, | |
"interval": "1m", | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"alias": "0.5", | |
"color": "#5195ce", | |
"linewidth": 2 | |
}, | |
{ | |
"alias": "0.75", | |
"color": "#1f78c1" | |
}, | |
{ | |
"alias": "0.9", | |
"color": "#0a437c" | |
}, | |
{ | |
"alias": "0.95", | |
"color": "#052b51" | |
}, | |
{ | |
"alias": "0.99", | |
"color": "#890f02", | |
"lines": false, | |
"pointradius": 1, | |
"points": true | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "histogram_quantile(\n 0.99,\n sum by (le)(\n rate(\n nginx_vts_upstream_request_duration_seconds_bucket{\n upstream =~ \"^([[project]])-([[environment]])_([[namespace]])(_external|_internal)?_pool$\"\n }[$interval]\n )\n )\n)", | |
"format": "time_series", | |
"hide": false, | |
"interval": "$fine", | |
"intervalFactor": 1, | |
"legendFormat": "0.99", | |
"refId": "E" | |
}, | |
{ | |
"expr": "histogram_quantile(\n 0.95,\n sum by (le)(\n rate(\n nginx_vts_upstream_request_duration_seconds_bucket{\n upstream =~ \"^([[project]])-([[environment]])_([[namespace]])(_external|_internal)?_pool$\"\n }[$interval]\n )\n )\n)", | |
"format": "time_series", | |
"hide": false, | |
"intervalFactor": 1, | |
"legendFormat": "0.95", | |
"refId": "A" | |
}, | |
{ | |
"expr": "histogram_quantile(\n 0.9,\n sum by (le)(\n rate(\n nginx_vts_upstream_request_duration_seconds_bucket{\n upstream =~ \"^([[project]])-([[environment]])_([[namespace]])(_external|_internal)?_pool$\"\n }[$interval]\n )\n )\n)", | |
"format": "time_series", | |
"hide": false, | |
"intervalFactor": 1, | |
"legendFormat": "0.9", | |
"refId": "B" | |
}, | |
{ | |
"expr": "histogram_quantile(\n 0.75,\n sum by (le)(\n rate(\n nginx_vts_upstream_request_duration_seconds_bucket{\n upstream =~ \"^([[project]])-([[environment]])_([[namespace]])(_external|_internal)?_pool$\"\n }[$interval]\n )\n )\n)", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "0.75", | |
"refId": "C" | |
}, | |
{ | |
"expr": "histogram_quantile(\n 0.5,\n sum by (le)(\n rate(\n nginx_vts_upstream_request_duration_seconds_bucket{\n upstream =~ \"^([[project]])-([[environment]])_([[namespace]])(_external|_internal)?_pool$\"\n }[$interval]\n )\n )\n)", | |
"format": "time_series", | |
"intervalFactor": 1, | |
"legendFormat": "0.5", | |
"refId": "D" | |
} | |
], | |
"thresholds": [ | |
{ | |
"colorMode": "critical", | |
"fill": true, | |
"line": false, | |
"op": "gt", | |
"value": 10, | |
"yaxis": "left" | |
} | |
], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "Upstream request time percentiles", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "s", | |
"label": null, | |
"logBase": 10, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"collapsed": true, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 37 | |
}, | |
"id": 26, | |
"panels": [ | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "$datasource", | |
"fill": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 24, | |
"x": 0, | |
"y": 38 | |
}, | |
"id": 7, | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": false, | |
"hideEmpty": true, | |
"hideZero": true, | |
"max": true, | |
"min": false, | |
"rightSide": true, | |
"show": true, | |
"sort": "avg", | |
"sortDesc": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum by (backend) (\n increase(\n nginx_vts_upstream_requests_total{\n upstream =~ \"^([[project]])-([[environment]])_([[namespace]])(_external|_internal)?_pool$\"\n }[$step]\n )\n)", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 4, | |
"legendFormat": "{{ backend }}", | |
"metric": "nginx_upstream_response", | |
"refId": "A", | |
"step": 120 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Upstream Backend requests per hour", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 2, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "$datasource", | |
"fill": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 24, | |
"x": 0, | |
"y": 45 | |
}, | |
"id": 14, | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": false, | |
"hideEmpty": true, | |
"hideZero": true, | |
"max": true, | |
"min": false, | |
"rightSide": true, | |
"show": true, | |
"sort": "max", | |
"sortDesc": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum by (backend)(\n avg_over_time(\n nginx_vts_upstream_request_seconds{\n upstream =~ \"^([[project]])-([[environment]])_([[namespace]])(_external|_internal)?_pool$\"\n }[$step]\n )\n)", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "{{ backend }}", | |
"metric": "nginx_upstream_response", | |
"refId": "A", | |
"step": 120 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Upstream Backend request time", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 2, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "ms", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "$datasource", | |
"fill": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 24, | |
"x": 0, | |
"y": 52 | |
}, | |
"id": 9, | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": false, | |
"hideEmpty": true, | |
"hideZero": true, | |
"max": true, | |
"min": false, | |
"rightSide": true, | |
"show": true, | |
"sort": "avg", | |
"sortDesc": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum by (backend) (\n avg_over_time(\n nginx_vts_upstream_response_seconds{\n upstream =~ \"^([[project]])-([[environment]])_([[namespace]])(_external|_internal)?_pool$\"\n }[$step]\n )\n)", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "{{ backend }}", | |
"metric": "nginx_upstream_response", | |
"refId": "A", | |
"step": 120 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Upstream Backend response time", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 2, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "ms", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "$datasource", | |
"fill": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 24, | |
"x": 0, | |
"y": 59 | |
}, | |
"id": 16, | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": false, | |
"hideEmpty": true, | |
"hideZero": true, | |
"max": true, | |
"min": false, | |
"rightSide": true, | |
"show": true, | |
"sort": "max", | |
"sortDesc": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum by (backend) (\n rate(\n nginx_vts_upstream_request_seconds_total{\n upstream =~ \"^([[project]])-([[environment]])_([[namespace]])(_external|_internal)?_pool$\"\n }[$interval]\n )\n)", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "{{ backend }}", | |
"metric": "nginx_upstream_response", | |
"refId": "A", | |
"step": 120 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Upstream Backend request time rate", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 2, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "ms", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "$datasource", | |
"fill": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 24, | |
"x": 0, | |
"y": 66 | |
}, | |
"id": 17, | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": false, | |
"hideEmpty": true, | |
"hideZero": true, | |
"max": true, | |
"min": false, | |
"rightSide": true, | |
"show": true, | |
"sort": "max", | |
"sortDesc": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum by (backend) (\n rate(\n nginx_vts_upstream_response_seconds_total{\n upstream =~ \"^([[project]])-([[environment]])_([[namespace]])(_external|_internal)?_pool$\"\n }[$interval]\n )\n)", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "{{ backend }}", | |
"metric": "nginx_upstream_response", | |
"refId": "A", | |
"step": 120 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Upstream Backend response time rate", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 2, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "ms", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "$datasource", | |
"fill": 1, | |
"gridPos": { | |
"h": 5, | |
"w": 24, | |
"x": 0, | |
"y": 73 | |
}, | |
"id": 8, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"percentage": false, | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(irate(nginx_vts_server_cache_total{\n namespace != \"external\",\n host != \"*\",\n host =~ \"^([[project]])-([[environment]])\\\\.([[namespace]])(\\\\.external)?\\\\.ingress\\\\.(production|staging)\\\\.k8s\\\\.example\\\\.com$\"\n}[$interval])) by (status)", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "{{ status }}", | |
"metric": "nginx_server_cache", | |
"refId": "A", | |
"step": 240 | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Server Cache", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
} | |
], | |
"title": "NodePort upstreams", | |
"type": "row" | |
} | |
], | |
"refresh": false, | |
"schemaVersion": 16, | |
"style": "dark", | |
"tags": [ | |
"nginx", | |
"ingress", | |
"⛵cluster" | |
], | |
"templating": { | |
"list": [ | |
{ | |
"current": { | |
"text": "Production Cluster Prometheus", | |
"value": "Production Cluster Prometheus" | |
}, | |
"hide": 0, | |
"label": null, | |
"name": "datasource", | |
"options": [], | |
"query": "prometheus", | |
"refresh": 1, | |
"regex": "/Cluster/", | |
"skipUrlSync": false, | |
"type": "datasource" | |
}, | |
{ | |
"allValue": "", | |
"current": { | |
"text": "All", | |
"value": "$__all" | |
}, | |
"datasource": "$datasource", | |
"definition": "", | |
"hide": 0, | |
"includeAll": true, | |
"label": "Namespace", | |
"multi": false, | |
"name": "namespace", | |
"options": [], | |
"query": "label_values(kube_service_labels{namespace != \"kube-system\", namespace != \"gitlab\", namespace != \"sysadm\", namespace != \"default\", namespace != \"external\"}, namespace)", | |
"refresh": 1, | |
"regex": "", | |
"skipUrlSync": false, | |
"sort": 0, | |
"tagValuesQuery": "", | |
"tags": [], | |
"tagsQuery": "", | |
"type": "query", | |
"useTags": false | |
}, | |
{ | |
"allValue": "", | |
"current": { | |
"text": "All", | |
"value": "$__all" | |
}, | |
"datasource": "$datasource", | |
"definition": "", | |
"hide": 0, | |
"includeAll": true, | |
"label": "Project", | |
"multi": false, | |
"name": "project", | |
"options": [], | |
"query": "label_values(kube_service_labels{namespace =~ \"^[[namespace]]$\"}, label_project)", | |
"refresh": 1, | |
"regex": "", | |
"skipUrlSync": false, | |
"sort": 0, | |
"tagValuesQuery": "", | |
"tags": [], | |
"tagsQuery": "", | |
"type": "query", | |
"useTags": false | |
}, | |
{ | |
"allValue": ".*", | |
"current": { | |
"text": "All", | |
"value": "$__all" | |
}, | |
"datasource": "$datasource", | |
"definition": "", | |
"hide": 0, | |
"includeAll": true, | |
"label": "Environment", | |
"multi": false, | |
"name": "environment", | |
"options": [], | |
"query": "label_values(kube_service_labels{namespace =~ \"^[[namespace]]$\", label_project =~ \"^[[project]]$\"}, label_environment)", | |
"refresh": 1, | |
"regex": "", | |
"skipUrlSync": false, | |
"sort": 0, | |
"tagValuesQuery": "", | |
"tags": [], | |
"tagsQuery": "", | |
"type": "query", | |
"useTags": false | |
}, | |
{ | |
"auto": true, | |
"auto_count": 50, | |
"auto_min": "30s", | |
"current": { | |
"text": "auto", | |
"value": "$__auto_interval_interval" | |
}, | |
"hide": 0, | |
"label": "time binning", | |
"name": "interval", | |
"options": [ | |
{ | |
"selected": true, | |
"text": "auto", | |
"value": "$__auto_interval_interval" | |
}, | |
{ | |
"selected": false, | |
"text": "30s", | |
"value": "30s" | |
}, | |
{ | |
"selected": false, | |
"text": "1m", | |
"value": "1m" | |
}, | |
{ | |
"selected": false, | |
"text": "2m", | |
"value": "2m" | |
}, | |
{ | |
"selected": false, | |
"text": "5m", | |
"value": "5m" | |
}, | |
{ | |
"selected": false, | |
"text": "10m", | |
"value": "10m" | |
}, | |
{ | |
"selected": false, | |
"text": "15m", | |
"value": "15m" | |
}, | |
{ | |
"selected": false, | |
"text": "30m", | |
"value": "30m" | |
}, | |
{ | |
"selected": false, | |
"text": "1h", | |
"value": "1h" | |
}, | |
{ | |
"selected": false, | |
"text": "2h", | |
"value": "2h" | |
}, | |
{ | |
"selected": false, | |
"text": "3h", | |
"value": "3h" | |
}, | |
{ | |
"selected": false, | |
"text": "6h", | |
"value": "6h" | |
}, | |
{ | |
"selected": false, | |
"text": "12h", | |
"value": "12h" | |
}, | |
{ | |
"selected": false, | |
"text": "1d", | |
"value": "1d" | |
}, | |
{ | |
"selected": false, | |
"text": "7d", | |
"value": "7d" | |
}, | |
{ | |
"selected": false, | |
"text": "14d", | |
"value": "14d" | |
}, | |
{ | |
"selected": false, | |
"text": "30d", | |
"value": "30d" | |
} | |
], | |
"query": "30s,1m,2m,5m,10m,15m,30m,1h,2h,3h,6h,12h,1d,7d,14d,30d", | |
"refresh": 2, | |
"skipUrlSync": false, | |
"type": "interval" | |
}, | |
{ | |
"auto": true, | |
"auto_count": 50, | |
"auto_min": "30s", | |
"current": { | |
"text": "auto", | |
"value": "$__auto_interval_step" | |
}, | |
"hide": 2, | |
"label": "heatmap step", | |
"name": "step", | |
"options": [ | |
{ | |
"selected": true, | |
"text": "auto", | |
"value": "$__auto_interval_step" | |
}, | |
{ | |
"selected": false, | |
"text": "30s", | |
"value": "30s" | |
}, | |
{ | |
"selected": false, | |
"text": "1m", | |
"value": "1m" | |
}, | |
{ | |
"selected": false, | |
"text": "2m", | |
"value": "2m" | |
}, | |
{ | |
"selected": false, | |
"text": "5m", | |
"value": "5m" | |
}, | |
{ | |
"selected": false, | |
"text": "10m", | |
"value": "10m" | |
}, | |
{ | |
"selected": false, | |
"text": "15m", | |
"value": "15m" | |
}, | |
{ | |
"selected": false, | |
"text": "30m", | |
"value": "30m" | |
}, | |
{ | |
"selected": false, | |
"text": "1h", | |
"value": "1h" | |
}, | |
{ | |
"selected": false, | |
"text": "2h", | |
"value": "2h" | |
}, | |
{ | |
"selected": false, | |
"text": "3h", | |
"value": "3h" | |
}, | |
{ | |
"selected": false, | |
"text": "6h", | |
"value": "6h" | |
}, | |
{ | |
"selected": false, | |
"text": "12h", | |
"value": "12h" | |
}, | |
{ | |
"selected": false, | |
"text": "1d", | |
"value": "1d" | |
}, | |
{ | |
"selected": false, | |
"text": "7d", | |
"value": "7d" | |
}, | |
{ | |
"selected": false, | |
"text": "14d", | |
"value": "14d" | |
}, | |
{ | |
"selected": false, | |
"text": "30d", | |
"value": "30d" | |
} | |
], | |
"query": "30s,1m,2m,5m,10m,15m,30m,1h,2h,3h,6h,12h,1d,7d,14d,30d", | |
"refresh": 2, | |
"skipUrlSync": false, | |
"type": "interval" | |
}, | |
{ | |
"auto": true, | |
"auto_count": 100, | |
"auto_min": "30s", | |
"current": { | |
"text": "auto", | |
"value": "$__auto_interval_fine" | |
}, | |
"hide": 2, | |
"label": "fine interval", | |
"name": "fine", | |
"options": [ | |
{ | |
"selected": true, | |
"text": "auto", | |
"value": "$__auto_interval_fine" | |
}, | |
{ | |
"selected": false, | |
"text": "30s", | |
"value": "30s" | |
}, | |
{ | |
"selected": false, | |
"text": "1m", | |
"value": "1m" | |
}, | |
{ | |
"selected": false, | |
"text": "2m", | |
"value": "2m" | |
}, | |
{ | |
"selected": false, | |
"text": "5m", | |
"value": "5m" | |
}, | |
{ | |
"selected": false, | |
"text": "10m", | |
"value": "10m" | |
}, | |
{ | |
"selected": false, | |
"text": "15m", | |
"value": "15m" | |
}, | |
{ | |
"selected": false, | |
"text": "30m", | |
"value": "30m" | |
}, | |
{ | |
"selected": false, | |
"text": "1h", | |
"value": "1h" | |
}, | |
{ | |
"selected": false, | |
"text": "2h", | |
"value": "2h" | |
}, | |
{ | |
"selected": false, | |
"text": "3h", | |
"value": "3h" | |
}, | |
{ | |
"selected": false, | |
"text": "6h", | |
"value": "6h" | |
}, | |
{ | |
"selected": false, | |
"text": "12h", | |
"value": "12h" | |
}, | |
{ | |
"selected": false, | |
"text": "1d", | |
"value": "1d" | |
}, | |
{ | |
"selected": false, | |
"text": "7d", | |
"value": "7d" | |
}, | |
{ | |
"selected": false, | |
"text": "14d", | |
"value": "14d" | |
}, | |
{ | |
"selected": false, | |
"text": "30d", | |
"value": "30d" | |
} | |
], | |
"query": "30s,1m,2m,5m,10m,15m,30m,1h,2h,3h,6h,12h,1d,7d,14d,30d", | |
"refresh": 2, | |
"skipUrlSync": false, | |
"type": "interval" | |
} | |
] | |
}, | |
"time": { | |
"from": "now-6h", | |
"to": "now" | |
}, | |
"timepicker": { | |
"refresh_intervals": [ | |
"5s", | |
"10s", | |
"30s", | |
"1m", | |
"5m", | |
"15m", | |
"30m", | |
"1h", | |
"2h", | |
"1d" | |
], | |
"time_options": [ | |
"5m", | |
"15m", | |
"1h", | |
"6h", | |
"12h", | |
"24h", | |
"2d", | |
"7d", | |
"30d" | |
] | |
}, | |
"timezone": "browser", | |
"title": "Ingress Nginx Vhosts (Legacy Setup)", | |
"uid": "_FItwKImk", | |
"version": 72 | |
} |
Can you share your vts settings?
This is from 2018, we stopped using this a long time ago.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can you share your vts settings?