| {% raw %} |
| { |
| "description": "", |
| "editable": true, |
| "gnetId": 315, |
| "graphTooltip": 0, |
| "hideControls": false, |
| "id": null, |
| "links": [], |
| "refresh": "1m", |
| "rows": [ |
| { |
| "collapse": false, |
| "height": "250px", |
| "panels": [ |
| { |
| "cacheTimeout": null, |
| "colorBackground": false, |
| "colorValue": true, |
| "colors": [ |
| "rgba(245, 54, 54, 0.9)", |
| "rgba(237, 129, 40, 0.89)", |
| "rgba(50, 172, 45, 0.97)" |
| ], |
| "datasource": "prometheus", |
| "format": "none", |
| "gauge": { |
| "maxValue": 100, |
| "minValue": 0, |
| "show": false, |
| "thresholdLabels": false, |
| "thresholdMarkers": true |
| }, |
| "id": 1, |
| "interval": "> 60s", |
| "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" |
| } |
| ], |
| "span": 2, |
| "sparkline": { |
| "fillColor": "rgba(31, 118, 189, 0.18)", |
| "full": false, |
| "lineColor": "rgb(31, 120, 193)", |
| "show": false |
| }, |
| "targets": [ |
| { |
| "expr": "nginx_up{host=~\"$host\"}", |
| "format": "time_series", |
| "intervalFactor": 2, |
| "legendFormat": "{{ cluster_name }}", |
| "refId": "A", |
| "step": 20 |
| } |
| ], |
| "thresholds": "0.5,0.5", |
| "title": "Status", |
| "type": "singlestat", |
| "valueFontSize": "80%", |
| "valueMaps": [ |
| { |
| "op": "=", |
| "text": "no data", |
| "value": "null" |
| }, |
| { |
| "op": "=", |
| "text": "DOWN", |
| "value": "0" |
| }, |
| { |
| "op": "=", |
| "text": "UP", |
| "value": "1" |
| } |
| ], |
| "valueName": "current" |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "datasource": null, |
| "editable": true, |
| "error": false, |
| "fill": 1, |
| "grid": { |
| "threshold1": null, |
| "threshold1Color": "rgba(216, 200, 27, 0.27)", |
| "threshold2": null, |
| "threshold2Color": "rgba(234, 112, 112, 0.22)" |
| }, |
| "id": 9, |
| "interval": "> 60s", |
| "legend": { |
| "avg": false, |
| "current": false, |
| "max": false, |
| "min": false, |
| "show": false, |
| "total": false, |
| "values": false |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "connected", |
| "percentage": false, |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "span": 5, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "expr": "irate(nginx_requests{host=~\"$host\"}[1m])", |
| "format": "time_series", |
| "intervalFactor": 2, |
| "legendFormat": "{{ host }}", |
| "metric": "nginx_requests", |
| "refId": "A", |
| "step": 2 |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Requests", |
| "tooltip": { |
| "msResolution": false, |
| "shared": false, |
| "sort": 0, |
| "value_type": "cumulative" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "show": true |
| }, |
| "yaxes": [ |
| { |
| "format": "ops", |
| "logBase": 1, |
| "max": null, |
| "min": 0, |
| "show": true |
| }, |
| { |
| "format": "short", |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| } |
| ] |
| }, |
| { |
| "aliasColors": {}, |
| "bars": false, |
| "datasource": null, |
| "editable": true, |
| "error": false, |
| "fill": 1, |
| "grid": { |
| "threshold1": null, |
| "threshold1Color": "rgba(216, 200, 27, 0.27)", |
| "threshold2": null, |
| "threshold2Color": "rgba(234, 112, 112, 0.22)" |
| }, |
| "id": 10, |
| "interval": "> 60s", |
| "legend": { |
| "avg": false, |
| "current": false, |
| "max": false, |
| "min": false, |
| "show": true, |
| "total": false, |
| "values": false |
| }, |
| "lines": true, |
| "linewidth": 1, |
| "links": [], |
| "nullPointMode": "connected", |
| "percentage": false, |
| "pointradius": 5, |
| "points": false, |
| "renderer": "flot", |
| "seriesOverrides": [], |
| "span": 5, |
| "stack": false, |
| "steppedLine": false, |
| "targets": [ |
| { |
| "expr": "irate(nginx_accepts{host=~\"$host\"}[1m])", |
| "format": "time_series", |
| "intervalFactor": 2, |
| "legendFormat": "accepted", |
| "metric": "nginx_accepts", |
| "refId": "A", |
| "step": 2 |
| }, |
| { |
| "expr": "irate(nginx_handled{host=~\"$host\"}[1m])", |
| "format": "time_series", |
| "intervalFactor": 2, |
| "legendFormat": "handled", |
| "metric": "nginx_handled", |
| "refId": "B", |
| "step": 2 |
| } |
| ], |
| "timeFrom": null, |
| "timeShift": null, |
| "title": "Connections", |
| "tooltip": { |
| "msResolution": false, |
| "shared": true, |
| "sort": 0, |
| "value_type": "cumulative" |
| }, |
| "type": "graph", |
| "xaxis": { |
| "show": true |
| }, |
| "yaxes": [ |
| { |
| "format": "ops", |
| "logBase": 1, |
| "max": null, |
| "min": 0, |
| "show": true |
| }, |
| { |
| "format": "short", |
| "logBase": 1, |
| "max": null, |
| "min": null, |
| "show": true |
| } |
| ] |
| }, |
| { |
| "cacheTimeout": null, |
| "colorBackground": false, |
| "colorValue": false, |
| "colors": [ |
| "rgba(245, 54, 54, 0.9)", |
| "rgba(237, 129, 40, 0.89)", |
| "rgba(50, 172, 45, 0.97)" |
| ], |
| "datasource": null, |
| "editable": true, |
| "error": false, |
| "format": "none", |
| "gauge": { |
| "maxValue": 100, |
| "minValue": 0, |
| "show": false, |
| "thresholdLabels": false, |
| "thresholdMarkers": true |
| }, |
| "id": 6, |
| "interval": "> 60s", |
| "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" |
| } |
| ], |
| "span": 3, |
| "sparkline": { |
| "fillColor": "rgba(31, 118, 189, 0.18)", |
| "full": false, |
| "lineColor": "rgb(31, 120, 193)", |
| "show": true |
| }, |
| "targets": [ |
| { |
| "expr": "nginx_active{host=~\"$host\"}", |
| "format": "time_series", |
| "intervalFactor": 2, |
| "legendFormat": "{{ host }}", |
| "metric": "nginx_active", |
| "refId": "A", |
| "step": 2 |
| } |
| ], |
| "thresholds": "", |
| "title": "Active connections", |
| "type": "singlestat", |
| "valueFontSize": "80%", |
| "valueMaps": [ |
| { |
| "op": "=", |
| "text": "N/A", |
| "value": "null" |
| } |
| ], |
| "valueName": "current" |
| }, |
| { |
| "cacheTimeout": null, |
| "colorBackground": false, |
| "colorValue": false, |
| "colors": [ |
| "rgba(245, 54, 54, 0.9)", |
| "rgba(237, 129, 40, 0.89)", |
| "rgba(50, 172, 45, 0.97)" |
| ], |
| "datasource": null, |
| "editable": true, |
| "error": false, |
| "format": "none", |
| "gauge": { |
| "maxValue": 100, |
| "minValue": 0, |
| "show": false, |
| "thresholdLabels": false, |
| "thresholdMarkers": true |
| }, |
| "id": 12, |
| "interval": "> 60s", |
| "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" |
| } |
| ], |
| "span": 3, |
| "sparkline": { |
| "fillColor": "rgba(31, 118, 189, 0.18)", |
| "full": false, |
| "lineColor": "rgb(31, 120, 193)", |
| "show": true |
| }, |
| "targets": [ |
| { |
| "expr": "nginx_reading{host=~\"$host\"}", |
| "format": "time_series", |
| "intervalFactor": 2, |
| "legendFormat": "{{ host }}", |
| "metric": "nginx_reading", |
| "refId": "A", |
| "step": 2 |
| } |
| ], |
| "thresholds": "", |
| "title": "Reading connections", |
| "type": "singlestat", |
| "valueFontSize": "80%", |
| "valueMaps": [ |
| { |
| "op": "=", |
| "text": "N/A", |
| "value": "null" |
| } |
| ], |
| "valueName": "current" |
| }, |
| { |
| "cacheTimeout": null, |
| "colorBackground": false, |
| "colorValue": false, |
| "colors": [ |
| "rgba(245, 54, 54, 0.9)", |
| "rgba(237, 129, 40, 0.89)", |
| "rgba(50, 172, 45, 0.97)" |
| ], |
| "datasource": null, |
| "editable": true, |
| "error": false, |
| "format": "none", |
| "gauge": { |
| "maxValue": 100, |
| "minValue": 0, |
| "show": false, |
| "thresholdLabels": false, |
| "thresholdMarkers": true |
| }, |
| "id": 13, |
| "interval": "> 60s", |
| "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" |
| } |
| ], |
| "span": 3, |
| "sparkline": { |
| "fillColor": "rgba(31, 118, 189, 0.18)", |
| "full": false, |
| "lineColor": "rgb(31, 120, 193)", |
| "show": true |
| }, |
| "targets": [ |
| { |
| "expr": "nginx_writing{host=~\"$host\"}", |
| "format": "time_series", |
| "intervalFactor": 2, |
| "legendFormat": "{{ host }}", |
| "metric": "nginx_writing", |
| "refId": "A", |
| "step": 2 |
| } |
| ], |
| "thresholds": "", |
| "title": "Writing connections", |
| "type": "singlestat", |
| "valueFontSize": "80%", |
| "valueMaps": [ |
| { |
| "op": "=", |
| "text": "N/A", |
| "value": "null" |
| } |
| ], |
| "valueName": "current" |
| }, |
| { |
| "cacheTimeout": null, |
| "colorBackground": false, |
| "colorValue": false, |
| "colors": [ |
| "rgba(245, 54, 54, 0.9)", |
| "rgba(237, 129, 40, 0.89)", |
| "rgba(50, 172, 45, 0.97)" |
| ], |
| "datasource": null, |
| "editable": true, |
| "error": false, |
| "format": "none", |
| "gauge": { |
| "maxValue": 100, |
| "minValue": 0, |
| "show": false, |
| "thresholdLabels": false, |
| "thresholdMarkers": true |
| }, |
| "id": 14, |
| "interval": "> 60s", |
| "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" |
| } |
| ], |
| "span": 3, |
| "sparkline": { |
| "fillColor": "rgba(31, 118, 189, 0.18)", |
| "full": false, |
| "lineColor": "rgb(31, 120, 193)", |
| "show": true |
| }, |
| "targets": [ |
| { |
| "expr": "nginx_waiting{host=~\"$host\"}", |
| "format": "time_series", |
| "intervalFactor": 2, |
| "legendFormat": "{{ host }}", |
| "metric": "nginx_waiting", |
| "refId": "A", |
| "step": 2 |
| } |
| ], |
| "thresholds": "", |
| "title": "Waiting connections", |
| "type": "singlestat", |
| "valueFontSize": "80%", |
| "valueMaps": [ |
| { |
| "op": "=", |
| "text": "N/A", |
| "value": "null" |
| } |
| ], |
| "valueName": "current" |
| } |
| ], |
| "repeat": null, |
| "repeatIteration": null, |
| "repeatRowId": null, |
| "showTitle": true, |
| "title": "Metrics", |
| "titleSize": "h6" |
| } |
| ], |
| "templating": { |
| "list": [ |
| { |
| "allValue": ".*", |
| "current": {}, |
| "datasource": "prometheus", |
| "hide": 0, |
| "includeAll": false, |
| "label": null, |
| "multi": false, |
| "name": "host", |
| "options": [], |
| "query": "label_values(nginx_up,host)", |
| "refresh": 1, |
| "refresh_on_load": true, |
| "regex": "", |
| "sort": 1, |
| "tagValuesQuery": "", |
| "tags": [], |
| "tagsQuery": "", |
| "type": "query", |
| "useTags": false |
| } |
| ] |
| }, |
| "timezone": "browser", |
| "title": "Nginx", |
| "version": 1 |
| } |
| {% endraw %} |