Created
May 6, 2025 14:09
-
-
Save skypesky/62b537428ae1169d1afad26a03b5a7d3 to your computer and use it in GitHub Desktop.
Nginx Grafana Dashboard Json
This file contains hidden or 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": { | |
"type": "datasource", | |
"uid": "grafana" | |
}, | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", | |
"type": "dashboard" | |
} | |
] | |
}, | |
"description": "Grafana Dashboard for Nginx Web Server.", | |
"editable": true, | |
"fiscalYearStartMonth": 0, | |
"graphTooltip": 0, | |
"id": 6, | |
"links": [], | |
"panels": [ | |
{ | |
"collapsed": false, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 0 | |
}, | |
"id": 37, | |
"panels": [], | |
"title": "General Metrics", | |
"type": "row" | |
}, | |
{ | |
"datasource": { | |
"uid": "$datasource" | |
}, | |
"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": 3, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": false, | |
"stacking": { | |
"group": "A", | |
"mode": "none" | |
}, | |
"thresholdsStyle": { | |
"mode": "off" | |
} | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green" | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "percent" | |
}, | |
"overrides": [ | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "mem_used" | |
}, | |
"properties": [ | |
{ | |
"id": "color", | |
"value": { | |
"fixedColor": "rgb(214, 141, 89)", | |
"mode": "fixed" | |
} | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "net_bytes_recv" | |
}, | |
"properties": [ | |
{ | |
"id": "color", | |
"value": { | |
"fixedColor": "dark-yellow", | |
"mode": "fixed" | |
} | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "net_bytes_sent" | |
}, | |
"properties": [ | |
{ | |
"id": "color", | |
"value": { | |
"fixedColor": "semi-dark-red", | |
"mode": "fixed" | |
} | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "net_conn_accepted" | |
}, | |
"properties": [ | |
{ | |
"id": "color", | |
"value": { | |
"fixedColor": "light-blue", | |
"mode": "fixed" | |
} | |
} | |
] | |
} | |
] | |
}, | |
"gridPos": { | |
"h": 9, | |
"w": 12, | |
"x": 0, | |
"y": 1 | |
}, | |
"id": 26, | |
"options": { | |
"dataLinks": [], | |
"legend": { | |
"calcs": [ | |
"mean", | |
"lastNotNull", | |
"max" | |
], | |
"displayMode": "table", | |
"placement": "bottom", | |
"showLegend": true | |
}, | |
"tooltip": { | |
"hideZeros": false, | |
"mode": "multi", | |
"sort": "none" | |
} | |
}, | |
"pluginVersion": "11.6.0", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "bejkhltenvfnka" | |
}, | |
"expr": "rate(net_bytes_recv[5m])", | |
"format": "time_series", | |
"instant": false, | |
"interval": "", | |
"intervalFactor": 3, | |
"legendFormat": "net_bytes_recv", | |
"refId": "A" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "bejkhltenvfnka" | |
}, | |
"expr": "rate(net_conntrack_listener_conn_accepted_total[5m])", | |
"hide": false, | |
"interval": "30s", | |
"legendFormat": "net_conn_accepted", | |
"refId": "C" | |
} | |
], | |
"title": "Network Input", | |
"type": "timeseries" | |
}, | |
{ | |
"datasource": { | |
"uid": "$datasource" | |
}, | |
"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": 3, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": false, | |
"stacking": { | |
"group": "A", | |
"mode": "none" | |
}, | |
"thresholdsStyle": { | |
"mode": "off" | |
} | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green" | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "percent" | |
}, | |
"overrides": [ | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "mem_used" | |
}, | |
"properties": [ | |
{ | |
"id": "color", | |
"value": { | |
"fixedColor": "rgb(214, 141, 89)", | |
"mode": "fixed" | |
} | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "net_bytes_recv" | |
}, | |
"properties": [ | |
{ | |
"id": "color", | |
"value": { | |
"fixedColor": "dark-yellow", | |
"mode": "fixed" | |
} | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "net_bytes_sent" | |
}, | |
"properties": [ | |
{ | |
"id": "color", | |
"value": { | |
"fixedColor": "semi-dark-red", | |
"mode": "fixed" | |
} | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "net_conn_accepted" | |
}, | |
"properties": [ | |
{ | |
"id": "color", | |
"value": { | |
"fixedColor": "light-blue", | |
"mode": "fixed" | |
} | |
} | |
] | |
} | |
] | |
}, | |
"gridPos": { | |
"h": 9, | |
"w": 12, | |
"x": 12, | |
"y": 1 | |
}, | |
"id": 35, | |
"options": { | |
"dataLinks": [], | |
"legend": { | |
"calcs": [ | |
"mean", | |
"lastNotNull", | |
"max" | |
], | |
"displayMode": "table", | |
"placement": "bottom", | |
"showLegend": true | |
}, | |
"tooltip": { | |
"hideZeros": false, | |
"mode": "multi", | |
"sort": "none" | |
} | |
}, | |
"pluginVersion": "11.6.0", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "bejkhltenvfnka" | |
}, | |
"expr": "rate(net_bytes_sent[5m])", | |
"interval": "30s", | |
"legendFormat": "net_bytes_sent", | |
"refId": "B" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "bejkhltenvfnka" | |
}, | |
"expr": "rate(net_conntrack_listener_conn_accepted_total[5m])", | |
"hide": false, | |
"interval": "30s", | |
"legendFormat": "net_conn_accepted", | |
"refId": "C" | |
} | |
], | |
"title": "Network Ouput", | |
"type": "timeseries" | |
}, | |
{ | |
"collapsed": false, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 10 | |
}, | |
"id": 42, | |
"panels": [], | |
"title": "Request Time", | |
"type": "row" | |
}, | |
{ | |
"datasource": { | |
"uid": "$datasource" | |
}, | |
"description": "Requests with 200 Status Code", | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisBorderShow": false, | |
"axisCenteredZero": false, | |
"axisColorMode": "text", | |
"axisLabel": "", | |
"axisPlacement": "auto", | |
"axisWidth": 19, | |
"barAlignment": 0, | |
"barWidthFactor": 0.6, | |
"drawStyle": "line", | |
"fillOpacity": 10, | |
"gradientMode": "none", | |
"hideFrom": { | |
"legend": false, | |
"tooltip": false, | |
"viz": false | |
}, | |
"insertNulls": false, | |
"lineInterpolation": "linear", | |
"lineWidth": 2, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": false, | |
"stacking": { | |
"group": "A", | |
"mode": "none" | |
}, | |
"thresholdsStyle": { | |
"mode": "off" | |
} | |
}, | |
"fieldMinMax": false, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green" | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "s" | |
}, | |
"overrides": [ | |
{ | |
"__systemRef": "hideSeriesFrom", | |
"matcher": { | |
"id": "byNames", | |
"options": { | |
"mode": "exclude", | |
"names": [ | |
"bade015d195cd0e1569cab30a636427e | /app/api/space/zjdtucZBFq71BgX9ckXPX8Swc6GU48zFy6s1/app/zNKXSSSsga18dk1YygnzV43fnxh2xqXEGXy7/object/LmNvbXBvbmVudHMvejhpYTFXRWlCWjdoeFVSZjZMd0gyMVdwZzk5dm9waEZ3U0pkdS9wb3N0Lzg5YjE4OWYyLWE3OTktNDY1Zi1iZDY3LTkxZTg1MDczZGFlMy9tZXRhZGF0YS5qc29u" | |
], | |
"prefix": "All except:", | |
"readOnly": true | |
} | |
}, | |
"properties": [ | |
{ | |
"id": "custom.hideFrom", | |
"value": { | |
"legend": false, | |
"tooltip": false, | |
"viz": true | |
} | |
} | |
] | |
} | |
] | |
}, | |
"gridPos": { | |
"h": 9, | |
"w": 24, | |
"x": 0, | |
"y": 11 | |
}, | |
"id": 44, | |
"options": { | |
"dataLinks": [], | |
"legend": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"displayMode": "table", | |
"placement": "right", | |
"showLegend": true, | |
"sortBy": "Last *", | |
"sortDesc": true | |
}, | |
"tooltip": { | |
"hideZeros": false, | |
"mode": "multi", | |
"sort": "none" | |
} | |
}, | |
"pluginVersion": "11.6.0", | |
"targets": [ | |
{ | |
"editorMode": "code", | |
"exemplar": false, | |
"expr": "avg by (request) (avg_over_time(nginxlog_request_time{instance=~\"$instance\", resp_code=~\"20.\"}[$__range]))", | |
"format": "time_series", | |
"instant": true, | |
"legendFormat": "{{request}}", | |
"range": false, | |
"refId": "A" | |
} | |
], | |
"title": "Response 2XX", | |
"type": "timeseries" | |
}, | |
{ | |
"datasource": { | |
"uid": "$datasource" | |
}, | |
"description": "Requests with 3XX Status Code", | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisBorderShow": false, | |
"axisCenteredZero": false, | |
"axisColorMode": "text", | |
"axisLabel": "", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"barWidthFactor": 0.6, | |
"drawStyle": "line", | |
"fillOpacity": 10, | |
"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" | |
} | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green" | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "s" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 9, | |
"w": 24, | |
"x": 0, | |
"y": 20 | |
}, | |
"id": 48, | |
"options": { | |
"dataLinks": [], | |
"legend": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"displayMode": "table", | |
"placement": "right", | |
"showLegend": true | |
}, | |
"tooltip": { | |
"hideZeros": false, | |
"mode": "multi", | |
"sort": "none" | |
} | |
}, | |
"pluginVersion": "11.6.0", | |
"targets": [ | |
{ | |
"datasource": { | |
"uid": "$datasource" | |
}, | |
"editorMode": "code", | |
"exemplar": false, | |
"expr": "avg by (request) (avg_over_time(nginxlog_request_time{instance=~\"$instance\", resp_code=~\"30.\"}[$__range]))", | |
"instant": true, | |
"interval": "", | |
"legendFormat": "{{request}}", | |
"range": false, | |
"refId": "A" | |
} | |
], | |
"title": "Response 3XX", | |
"type": "timeseries" | |
}, | |
{ | |
"datasource": { | |
"uid": "$datasource" | |
}, | |
"description": "Requests with 4XX Status Code", | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisBorderShow": false, | |
"axisCenteredZero": false, | |
"axisColorMode": "text", | |
"axisLabel": "", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"barWidthFactor": 0.6, | |
"drawStyle": "line", | |
"fillOpacity": 10, | |
"gradientMode": "none", | |
"hideFrom": { | |
"legend": false, | |
"tooltip": false, | |
"viz": false | |
}, | |
"insertNulls": false, | |
"lineInterpolation": "linear", | |
"lineWidth": 2, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": false, | |
"stacking": { | |
"group": "A", | |
"mode": "none" | |
}, | |
"thresholdsStyle": { | |
"mode": "off" | |
} | |
}, | |
"decimals": 3, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green" | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "s" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 9, | |
"w": 24, | |
"x": 0, | |
"y": 29 | |
}, | |
"id": 46, | |
"options": { | |
"dataLinks": [], | |
"legend": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"displayMode": "table", | |
"placement": "right", | |
"showLegend": true, | |
"sortBy": "Last *", | |
"sortDesc": true | |
}, | |
"tooltip": { | |
"hideZeros": false, | |
"mode": "multi", | |
"sort": "none" | |
} | |
}, | |
"pluginVersion": "11.6.0", | |
"targets": [ | |
{ | |
"datasource": { | |
"uid": "$datasource" | |
}, | |
"editorMode": "code", | |
"exemplar": false, | |
"expr": "avg by (request) (avg_over_time(nginxlog_request_time{instance=~\"$instance\", resp_code=~\"40.\"}[$__range]))", | |
"instant": true, | |
"interval": "", | |
"legendFormat": "{{request}}", | |
"range": false, | |
"refId": "A" | |
} | |
], | |
"title": "Response 4XX ", | |
"type": "timeseries" | |
}, | |
{ | |
"datasource": { | |
"uid": "$datasource" | |
}, | |
"description": "Requests with 5XX Status Code", | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisBorderShow": false, | |
"axisCenteredZero": false, | |
"axisColorMode": "text", | |
"axisLabel": "", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"barWidthFactor": 0.6, | |
"drawStyle": "line", | |
"fillOpacity": 10, | |
"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" | |
} | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green" | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "s" | |
}, | |
"overrides": [ | |
{ | |
"__systemRef": "hideSeriesFrom", | |
"matcher": { | |
"id": "byNames", | |
"options": { | |
"mode": "exclude", | |
"names": [ | |
"/" | |
], | |
"prefix": "All except:", | |
"readOnly": true | |
} | |
}, | |
"properties": [ | |
{ | |
"id": "custom.hideFrom", | |
"value": { | |
"legend": false, | |
"tooltip": false, | |
"viz": true | |
} | |
} | |
] | |
} | |
] | |
}, | |
"gridPos": { | |
"h": 9, | |
"w": 24, | |
"x": 0, | |
"y": 38 | |
}, | |
"id": 49, | |
"options": { | |
"dataLinks": [], | |
"legend": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"displayMode": "table", | |
"placement": "right", | |
"showLegend": true, | |
"sortBy": "Last *", | |
"sortDesc": true | |
}, | |
"tooltip": { | |
"hideZeros": false, | |
"mode": "multi", | |
"sort": "none" | |
} | |
}, | |
"pluginVersion": "11.6.0", | |
"targets": [ | |
{ | |
"datasource": { | |
"uid": "$datasource" | |
}, | |
"editorMode": "code", | |
"exemplar": false, | |
"expr": "avg by (request) (avg_over_time(nginxlog_request_time{instance=~\"$instance\", resp_code=~\"50.\"}[$__range]))", | |
"instant": true, | |
"interval": "", | |
"legendFormat": "{{request}}", | |
"range": false, | |
"refId": "A" | |
} | |
], | |
"title": "Response 5XX", | |
"type": "timeseries" | |
}, | |
{ | |
"collapsed": false, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 47 | |
}, | |
"id": 24, | |
"panels": [], | |
"title": "Body Bytes Sent", | |
"type": "row" | |
}, | |
{ | |
"datasource": { | |
"uid": "$datasource" | |
}, | |
"description": "Requests with 200 Status Code", | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisBorderShow": false, | |
"axisCenteredZero": false, | |
"axisColorMode": "text", | |
"axisLabel": "", | |
"axisPlacement": "auto", | |
"axisWidth": 19, | |
"barAlignment": 0, | |
"barWidthFactor": 0.6, | |
"drawStyle": "line", | |
"fillOpacity": 10, | |
"gradientMode": "none", | |
"hideFrom": { | |
"legend": false, | |
"tooltip": false, | |
"viz": false | |
}, | |
"insertNulls": false, | |
"lineInterpolation": "linear", | |
"lineWidth": 2, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": false, | |
"stacking": { | |
"group": "A", | |
"mode": "none" | |
}, | |
"thresholdsStyle": { | |
"mode": "off" | |
} | |
}, | |
"fieldMinMax": false, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green" | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "bytes" | |
}, | |
"overrides": [ | |
{ | |
"__systemRef": "hideSeriesFrom", | |
"matcher": { | |
"id": "byNames", | |
"options": { | |
"mode": "exclude", | |
"names": [ | |
"bade015d195cd0e1569cab30a636427e | /app/api/space/zjdtucZBFq71BgX9ckXPX8Swc6GU48zFy6s1/app/zNKXSSSsga18dk1YygnzV43fnxh2xqXEGXy7/object/LmNvbXBvbmVudHMvejhpYTFXRWlCWjdoeFVSZjZMd0gyMVdwZzk5dm9waEZ3U0pkdS9wb3N0Lzg5YjE4OWYyLWE3OTktNDY1Zi1iZDY3LTkxZTg1MDczZGFlMy9tZXRhZGF0YS5qc29u" | |
], | |
"prefix": "All except:", | |
"readOnly": true | |
} | |
}, | |
"properties": [ | |
{ | |
"id": "custom.hideFrom", | |
"value": { | |
"legend": false, | |
"tooltip": false, | |
"viz": true | |
} | |
} | |
] | |
} | |
] | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 24, | |
"x": 0, | |
"y": 48 | |
}, | |
"id": 50, | |
"options": { | |
"dataLinks": [], | |
"legend": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"displayMode": "table", | |
"placement": "right", | |
"showLegend": true, | |
"sortBy": "Last *", | |
"sortDesc": true | |
}, | |
"tooltip": { | |
"hideZeros": false, | |
"mode": "multi", | |
"sort": "none" | |
} | |
}, | |
"pluginVersion": "11.6.0", | |
"targets": [ | |
{ | |
"editorMode": "code", | |
"exemplar": false, | |
"expr": "avg by (request) (avg_over_time(nginxlog_resp_bytes{instance=~\"$instance\", resp_code=~\"20.\"}[$__range]))", | |
"instant": true, | |
"legendFormat": "{{request}}", | |
"range": false, | |
"refId": "A" | |
} | |
], | |
"title": "Response 2XX", | |
"type": "timeseries" | |
}, | |
{ | |
"datasource": { | |
"uid": "$datasource" | |
}, | |
"description": "Requests with 3XX Status Code", | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisBorderShow": false, | |
"axisCenteredZero": false, | |
"axisColorMode": "text", | |
"axisLabel": "", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"barWidthFactor": 0.6, | |
"drawStyle": "line", | |
"fillOpacity": 10, | |
"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" | |
} | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green" | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "bytes" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 9, | |
"w": 24, | |
"x": 0, | |
"y": 55 | |
}, | |
"id": 31, | |
"options": { | |
"dataLinks": [], | |
"legend": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"displayMode": "table", | |
"placement": "right", | |
"showLegend": true | |
}, | |
"tooltip": { | |
"hideZeros": false, | |
"mode": "multi", | |
"sort": "none" | |
} | |
}, | |
"pluginVersion": "11.6.0", | |
"targets": [ | |
{ | |
"datasource": { | |
"uid": "$datasource" | |
}, | |
"editorMode": "code", | |
"exemplar": false, | |
"expr": "avg by (request) (avg_over_time(nginxlog_resp_bytes{instance=~\"$instance\", resp_code=~\"30.\"}[$__range]))", | |
"instant": true, | |
"interval": "", | |
"legendFormat": "{{request}}", | |
"range": false, | |
"refId": "A" | |
} | |
], | |
"title": "Response 3XX", | |
"type": "timeseries" | |
}, | |
{ | |
"datasource": { | |
"uid": "$datasource" | |
}, | |
"description": "Requests with 4XX Status Code", | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisBorderShow": false, | |
"axisCenteredZero": false, | |
"axisColorMode": "text", | |
"axisLabel": "", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"barWidthFactor": 0.6, | |
"drawStyle": "line", | |
"fillOpacity": 10, | |
"gradientMode": "none", | |
"hideFrom": { | |
"legend": false, | |
"tooltip": false, | |
"viz": false | |
}, | |
"insertNulls": false, | |
"lineInterpolation": "linear", | |
"lineWidth": 2, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": false, | |
"stacking": { | |
"group": "A", | |
"mode": "none" | |
}, | |
"thresholdsStyle": { | |
"mode": "off" | |
} | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green" | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "bytes" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 9, | |
"w": 24, | |
"x": 0, | |
"y": 64 | |
}, | |
"id": 30, | |
"options": { | |
"dataLinks": [], | |
"legend": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"displayMode": "table", | |
"placement": "right", | |
"showLegend": true | |
}, | |
"tooltip": { | |
"hideZeros": false, | |
"mode": "multi", | |
"sort": "none" | |
} | |
}, | |
"pluginVersion": "11.6.0", | |
"targets": [ | |
{ | |
"datasource": { | |
"uid": "$datasource" | |
}, | |
"editorMode": "code", | |
"exemplar": false, | |
"expr": "avg by (request) (avg_over_time(nginxlog_resp_bytes{instance=~\"$instance\", resp_code=~\"40.\"}[$__range]))", | |
"instant": true, | |
"interval": "", | |
"legendFormat": "{{request}}", | |
"range": false, | |
"refId": "A" | |
} | |
], | |
"title": "Response 4XX", | |
"type": "timeseries" | |
}, | |
{ | |
"datasource": { | |
"uid": "$datasource" | |
}, | |
"description": "Requests with 5XX Status Code", | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisBorderShow": false, | |
"axisCenteredZero": false, | |
"axisColorMode": "text", | |
"axisLabel": "", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"barWidthFactor": 0.6, | |
"drawStyle": "line", | |
"fillOpacity": 10, | |
"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" | |
} | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green" | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "bytes" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 9, | |
"w": 24, | |
"x": 0, | |
"y": 73 | |
}, | |
"id": 32, | |
"options": { | |
"dataLinks": [], | |
"legend": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"displayMode": "table", | |
"placement": "right", | |
"showLegend": true, | |
"sortBy": "Last *", | |
"sortDesc": true | |
}, | |
"tooltip": { | |
"hideZeros": false, | |
"mode": "multi", | |
"sort": "none" | |
} | |
}, | |
"pluginVersion": "11.6.0", | |
"targets": [ | |
{ | |
"datasource": { | |
"uid": "$datasource" | |
}, | |
"editorMode": "code", | |
"exemplar": false, | |
"expr": "avg by (request) (avg_over_time(nginxlog_resp_bytes{instance=~\"$instance\", resp_code=~\"50.\"}[$__range]))", | |
"instant": true, | |
"interval": "", | |
"legendFormat": "{{request}}", | |
"range": false, | |
"refId": "A" | |
} | |
], | |
"title": "Response 5XX", | |
"type": "timeseries" | |
}, | |
{ | |
"collapsed": true, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 82 | |
}, | |
"id": 22, | |
"panels": [ | |
{ | |
"datasource": { | |
"uid": "$datasource" | |
}, | |
"description": "The total number of accepted connections from clients since the nginx master process started. Note that reloading configurations or restarting worker processes will not reset this metric. If you terminate and restart the master process, you will reset the metric.\n\n", | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisBorderShow": false, | |
"axisCenteredZero": false, | |
"axisColorMode": "text", | |
"axisLabel": "", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"barWidthFactor": 0.6, | |
"drawStyle": "line", | |
"fillOpacity": 30, | |
"gradientMode": "none", | |
"hideFrom": { | |
"legend": false, | |
"tooltip": false, | |
"viz": false | |
}, | |
"insertNulls": false, | |
"lineInterpolation": "linear", | |
"lineWidth": 3, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": false, | |
"stacking": { | |
"group": "A", | |
"mode": "none" | |
}, | |
"thresholdsStyle": { | |
"mode": "off" | |
} | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "rgb(242, 61, 5)" | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "short" | |
}, | |
"overrides": [ | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "172.31.0.131:9273" | |
}, | |
"properties": [ | |
{ | |
"id": "color", | |
"value": { | |
"fixedColor": "super-light-purple", | |
"mode": "fixed" | |
} | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "{__name__=\"nginx_accepts\", env=\"prod\", exported_env=\"DEV\", instance=\"172.31.0.131:9273\", job=\"telegraf\", port=\"80\", server=\"localhost\"}" | |
}, | |
"properties": [ | |
{ | |
"id": "color", | |
"value": { | |
"fixedColor": "purple", | |
"mode": "fixed" | |
} | |
} | |
] | |
} | |
] | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 9, | |
"x": 0, | |
"y": 341 | |
}, | |
"id": 4, | |
"options": { | |
"dataLinks": [], | |
"legend": { | |
"calcs": [ | |
"lastNotNull", | |
"max", | |
"min" | |
], | |
"displayMode": "table", | |
"placement": "bottom", | |
"showLegend": true | |
}, | |
"tooltip": { | |
"hideZeros": false, | |
"mode": "multi", | |
"sort": "none" | |
} | |
}, | |
"pluginVersion": "11.6.0", | |
"targets": [ | |
{ | |
"datasource": { | |
"uid": "$datasource" | |
}, | |
"editorMode": "code", | |
"exemplar": false, | |
"expr": "nginx_accepts{instance=~\"$instance*\"}", | |
"format": "time_series", | |
"instant": false, | |
"interval": "", | |
"legendFormat": "{{ instance }}", | |
"range": true, | |
"refId": "A" | |
} | |
], | |
"title": "Nginx Connections Accepted", | |
"type": "timeseries" | |
}, | |
{ | |
"datasource": { | |
"uid": "$datasource" | |
}, | |
"description": "The current number of connections from clients where nginx is writing a response back to the client.\n", | |
"fieldConfig": { | |
"defaults": { | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "red" | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 4, | |
"x": 9, | |
"y": 341 | |
}, | |
"id": 12, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "auto", | |
"percentChangeColorMode": "standard", | |
"reduceOptions": { | |
"calcs": [ | |
"mean" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"showPercentChange": false, | |
"textMode": "auto", | |
"wideLayout": true | |
}, | |
"pluginVersion": "11.6.0", | |
"targets": [ | |
{ | |
"datasource": { | |
"uid": "$datasource" | |
}, | |
"expr": "nginx_writing{instance=~\"$instance*\"}\t", | |
"interval": "", | |
"legendFormat": "{{ host }}", | |
"refId": "A" | |
} | |
], | |
"title": "Nginx Writing", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"uid": "$datasource" | |
}, | |
"description": "The current number of active (accepted) connections from clients. Includes all connections with the statuses Idle / Waiting, Reading, and Writing.", | |
"fieldConfig": { | |
"defaults": { | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "dark-orange" | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 7, | |
"x": 13, | |
"y": 341 | |
}, | |
"id": 6, | |
"options": { | |
"displayMode": "lcd", | |
"legend": { | |
"calcs": [], | |
"displayMode": "list", | |
"placement": "bottom", | |
"showLegend": false | |
}, | |
"maxVizHeight": 300, | |
"minVizHeight": 16, | |
"minVizWidth": 8, | |
"namePlacement": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"min" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"showUnfilled": true, | |
"sizing": "auto", | |
"valueMode": "color" | |
}, | |
"pluginVersion": "11.6.0", | |
"targets": [ | |
{ | |
"datasource": { | |
"uid": "$datasource" | |
}, | |
"expr": "nginx_active{instance=~\"$instance*\"}\t", | |
"interval": "", | |
"legendFormat": "{{instance }}", | |
"refId": "A" | |
} | |
], | |
"title": "Nginx Active Connections[accepted]", | |
"type": "bargauge" | |
}, | |
{ | |
"datasource": { | |
"uid": "$datasource" | |
}, | |
"description": "The current number of connections from clients that are in the Idle / Waiting state.", | |
"fieldConfig": { | |
"defaults": { | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "semi-dark-blue" | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 4, | |
"x": 20, | |
"y": 341 | |
}, | |
"id": 10, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "area", | |
"justifyMode": "auto", | |
"orientation": "auto", | |
"percentChangeColorMode": "standard", | |
"reduceOptions": { | |
"calcs": [ | |
"min" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"showPercentChange": false, | |
"textMode": "auto", | |
"wideLayout": true | |
}, | |
"pluginVersion": "11.6.0", | |
"targets": [ | |
{ | |
"datasource": { | |
"uid": "$datasource" | |
}, | |
"expr": "nginx_waiting{instance=~\"$instance*\"}\t", | |
"interval": "", | |
"legendFormat": "{{ instance}}", | |
"refId": "A" | |
} | |
], | |
"title": "Nginx Waiting Connections", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"uid": "$datasource" | |
}, | |
"description": "The total number of handled connections from clients since the nginx master process started. This will be lower than accepted only in cases where a connection is dropped before it is handled.", | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisBorderShow": false, | |
"axisCenteredZero": false, | |
"axisColorMode": "text", | |
"axisLabel": "", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"barWidthFactor": 0.6, | |
"drawStyle": "line", | |
"fillOpacity": 30, | |
"gradientMode": "none", | |
"hideFrom": { | |
"legend": false, | |
"tooltip": false, | |
"viz": false | |
}, | |
"insertNulls": false, | |
"lineInterpolation": "linear", | |
"lineWidth": 3, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": false, | |
"stacking": { | |
"group": "A", | |
"mode": "none" | |
}, | |
"thresholdsStyle": { | |
"mode": "off" | |
} | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green" | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "short" | |
}, | |
"overrides": [ | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "172.31.0.131:9273" | |
}, | |
"properties": [ | |
{ | |
"id": "color", | |
"value": { | |
"fixedColor": "rgb(219, 237, 9)", | |
"mode": "fixed" | |
} | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "{__name__=\"nginx_handled\", env=\"prod\", exported_env=\"DEV\", instance=\"172.31.0.131:9273\", job=\"telegraf\", port=\"80\", server=\"localhost\"}" | |
}, | |
"properties": [ | |
{ | |
"id": "color", | |
"value": { | |
"fixedColor": "rgb(208, 240, 17)", | |
"mode": "fixed" | |
} | |
} | |
] | |
} | |
] | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 10, | |
"x": 0, | |
"y": 348 | |
}, | |
"id": 14, | |
"options": { | |
"dataLinks": [], | |
"legend": { | |
"calcs": [ | |
"mean", | |
"lastNotNull", | |
"max" | |
], | |
"displayMode": "table", | |
"placement": "bottom", | |
"showLegend": true | |
}, | |
"tooltip": { | |
"hideZeros": false, | |
"mode": "multi", | |
"sort": "none" | |
} | |
}, | |
"pluginVersion": "11.6.0", | |
"targets": [ | |
{ | |
"datasource": { | |
"uid": "$datasource" | |
}, | |
"expr": "nginx_handled{instance=~\"$instance*\"}\t", | |
"interval": "", | |
"legendFormat": "{{ instance }}", | |
"refId": "A" | |
} | |
], | |
"title": "Handled Request", | |
"type": "timeseries" | |
}, | |
{ | |
"datasource": { | |
"uid": "$datasource" | |
}, | |
"description": "The total number of client requests since the nginx master process started. A request is an application-level (HTTP, etc.) event. It occurs when a client requests a resource via the application protocol. A single connection can (and often does) make many requests. So most of the time, there are more requests than accepted/handled connections.", | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisBorderShow": false, | |
"axisCenteredZero": false, | |
"axisColorMode": "text", | |
"axisLabel": "", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"barWidthFactor": 0.6, | |
"drawStyle": "line", | |
"fillOpacity": 30, | |
"gradientMode": "none", | |
"hideFrom": { | |
"legend": false, | |
"tooltip": false, | |
"viz": false | |
}, | |
"insertNulls": false, | |
"lineInterpolation": "linear", | |
"lineWidth": 3, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": false, | |
"stacking": { | |
"group": "A", | |
"mode": "none" | |
}, | |
"thresholdsStyle": { | |
"mode": "off" | |
} | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green" | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "short" | |
}, | |
"overrides": [ | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "172.31.0.131:9273" | |
}, | |
"properties": [ | |
{ | |
"id": "color", | |
"value": { | |
"fixedColor": "rgb(250, 0, 225)", | |
"mode": "fixed" | |
} | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "{__name__=\"nginx_requests\", env=\"prod\", exported_env=\"DEV\", instance=\"172.31.0.131:9273\", job=\"telegraf\", port=\"80\", server=\"localhost\"}" | |
}, | |
"properties": [ | |
{ | |
"id": "color", | |
"value": { | |
"fixedColor": "orange", | |
"mode": "fixed" | |
} | |
} | |
] | |
} | |
] | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 10, | |
"x": 10, | |
"y": 348 | |
}, | |
"id": 2, | |
"options": { | |
"dataLinks": [], | |
"legend": { | |
"calcs": [ | |
"mean", | |
"lastNotNull", | |
"min" | |
], | |
"displayMode": "table", | |
"placement": "bottom", | |
"showLegend": true | |
}, | |
"tooltip": { | |
"hideZeros": false, | |
"mode": "multi", | |
"sort": "none" | |
} | |
}, | |
"pluginVersion": "11.6.0", | |
"targets": [ | |
{ | |
"datasource": { | |
"uid": "$datasource" | |
}, | |
"expr": "nginx_requests{instance=~\"$instance*\"}\t", | |
"interval": "", | |
"legendFormat": "{{ instance }}", | |
"refId": "A" | |
} | |
], | |
"title": "Nginx Requests", | |
"type": "timeseries" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "bejkhltenvfnka" | |
}, | |
"description": "The current number of (accepted) connections from clients where nginx is reading the request. Measured at the time the status module was queried.", | |
"fieldConfig": { | |
"defaults": { | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "semi-dark-green" | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 4, | |
"x": 20, | |
"y": 348 | |
}, | |
"id": 8, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "auto", | |
"percentChangeColorMode": "standard", | |
"reduceOptions": { | |
"calcs": [ | |
"mean" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"showPercentChange": false, | |
"textMode": "auto", | |
"wideLayout": true | |
}, | |
"pluginVersion": "11.6.0", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "bejkhltenvfnka" | |
}, | |
"expr": "nginx_reading{instance=~\"$instance*\"}", | |
"interval": "", | |
"legendFormat": "{{ host }}", | |
"refId": "A" | |
} | |
], | |
"title": "nginx_reading", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"uid": "$datasource" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"custom": { | |
"align": "center", | |
"cellOptions": { | |
"type": "auto" | |
}, | |
"filterable": false, | |
"inspect": false | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green" | |
} | |
] | |
} | |
}, | |
"overrides": [ | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "Time" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 144 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "agent" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 173 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "auth" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 84 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "client_ip" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 143 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "env" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 20 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "exported_env" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 122 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "ident" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 74 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "job" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 53 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "path" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 151 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "referrer" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 82 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "resp_code" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 94 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "verb" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 48 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "request" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 208 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "Value" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 29 | |
} | |
] | |
} | |
] | |
}, | |
"gridPos": { | |
"h": 16, | |
"w": 24, | |
"x": 0, | |
"y": 355 | |
}, | |
"id": 34, | |
"options": { | |
"cellHeight": "sm", | |
"footer": { | |
"countRows": false, | |
"fields": "", | |
"reducer": [ | |
"sum" | |
], | |
"show": false | |
}, | |
"showHeader": true, | |
"sortBy": [] | |
}, | |
"pluginVersion": "11.6.0", | |
"targets": [ | |
{ | |
"datasource": { | |
"uid": "$datasource" | |
}, | |
"expr": "nginxlog_resp_bytes{instance=~\"$instance*\"}", | |
"interval": "", | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"title": "Each Request Detail", | |
"transformations": [ | |
{ | |
"id": "labelsToFields", | |
"options": {} | |
}, | |
{ | |
"id": "merge", | |
"options": {} | |
} | |
], | |
"type": "table" | |
} | |
], | |
"title": "Nginx Metrics", | |
"type": "row" | |
} | |
], | |
"preload": false, | |
"refresh": false, | |
"schemaVersion": 41, | |
"tags": [], | |
"templating": { | |
"list": [ | |
{ | |
"current": { | |
"text": "local-prometheus", | |
"value": "bejkhltenvfnka" | |
}, | |
"hide": 1, | |
"includeAll": false, | |
"label": "Datasource", | |
"name": "datasource", | |
"options": [], | |
"query": "prometheus", | |
"refresh": 1, | |
"regex": "", | |
"type": "datasource" | |
}, | |
{ | |
"current": { | |
"text": [ | |
"bbqay7s6gob43y2cld45icndq7qoolgz6chrgijrhj4.did.abtnet.io" | |
], | |
"value": [ | |
"bbqay7s6gob43y2cld45icndq7qoolgz6chrgijrhj4.did.abtnet.io" | |
] | |
}, | |
"datasource": "$datasource", | |
"definition": "label_values(system_uptime, instance)", | |
"includeAll": false, | |
"label": "instance", | |
"multi": true, | |
"name": "instance", | |
"options": [], | |
"query": "label_values(system_uptime, instance)", | |
"refresh": 1, | |
"regex": "", | |
"type": "query" | |
}, | |
{ | |
"auto": true, | |
"auto_count": 30, | |
"auto_min": "10s", | |
"current": { | |
"text": "$__auto", | |
"value": "$__auto" | |
}, | |
"label": "Interval", | |
"name": "inter", | |
"options": [ | |
{ | |
"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": "30m", | |
"value": "30m" | |
}, | |
{ | |
"selected": false, | |
"text": "1h", | |
"value": "1h" | |
} | |
], | |
"query": "30s,1m,2m,5m,10m,30m,1h", | |
"refresh": 2, | |
"type": "interval" | |
} | |
] | |
}, | |
"time": { | |
"from": "now-5m", | |
"to": "now" | |
}, | |
"timepicker": { | |
"refresh_intervals": [ | |
"10s", | |
"30s", | |
"1m", | |
"5m", | |
"15m", | |
"30m", | |
"1h", | |
"2h", | |
"1d" | |
] | |
}, | |
"timezone": "", | |
"title": "Nginx", | |
"uid": "4DFTt9Wnk", | |
"version": 131 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment