Last active
December 14, 2018 10:01
-
-
Save varunpalekar/5297ac0ff07453b72b51285c9740e373 to your computer and use it in GitHub Desktop.
grafana dashboard
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
| { | |
| "__inputs": [ | |
| { | |
| "name": "DS_PROMETHEUS", | |
| "label": "prometheus", | |
| "description": "", | |
| "type": "datasource", | |
| "pluginId": "prometheus", | |
| "pluginName": "Prometheus" | |
| } | |
| ], | |
| "__requires": [ | |
| { | |
| "type": "grafana", | |
| "id": "grafana", | |
| "name": "Grafana", | |
| "version": "5.0.0" | |
| }, | |
| { | |
| "type": "panel", | |
| "id": "graph", | |
| "name": "Graph", | |
| "version": "5.0.0" | |
| }, | |
| { | |
| "type": "datasource", | |
| "id": "prometheus", | |
| "name": "Prometheus", | |
| "version": "5.0.0" | |
| }, | |
| { | |
| "type": "panel", | |
| "id": "singlestat", | |
| "name": "Singlestat", | |
| "version": "5.0.0" | |
| } | |
| ], | |
| "annotations": { | |
| "list": [ | |
| { | |
| "builtIn": 1, | |
| "datasource": "-- Grafana --", | |
| "enable": true, | |
| "hide": true, | |
| "iconColor": "rgba(0, 211, 255, 1)", | |
| "name": "Annotations & Alerts", | |
| "type": "dashboard" | |
| } | |
| ] | |
| }, | |
| "description": "Complete dashboard using metrics from prometheus JMX exporter, with drill down per release > pod", | |
| "editable": true, | |
| "gnetId": 7727, | |
| "graphTooltip": 0, | |
| "id": null, | |
| "iteration": 1539780018868, | |
| "links": [], | |
| "panels": [ | |
| { | |
| "cacheTimeout": null, | |
| "colorBackground": false, | |
| "colorValue": true, | |
| "colors": [ | |
| "#299c46", | |
| "rgba(237, 129, 40, 0.89)", | |
| "#d44a3a" | |
| ], | |
| "datasource": "${DS_PROMETHEUS}", | |
| "format": "percent", | |
| "gauge": { | |
| "maxValue": 100, | |
| "minValue": 0, | |
| "show": false, | |
| "thresholdLabels": false, | |
| "thresholdMarkers": true | |
| }, | |
| "gridPos": { | |
| "h": 4, | |
| "w": 6, | |
| "x": 0, | |
| "y": 0 | |
| }, | |
| "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": true, | |
| "lineColor": "rgb(31, 120, 193)", | |
| "show": true | |
| }, | |
| "tableColumn": "", | |
| "targets": [ | |
| { | |
| "expr": "(sum(jvm_memory_bytes_used{area=\"heap\",instance=\"$instance\"})*100) / sum(jvm_memory_bytes_max{area=\"heap\",instance=\"$instance\"})", | |
| "format": "time_series", | |
| "intervalFactor": 1, | |
| "refId": "A" | |
| } | |
| ], | |
| "thresholds": "50,75", | |
| "title": "Heap used", | |
| "type": "singlestat", | |
| "valueFontSize": "80%", | |
| "valueMaps": [ | |
| { | |
| "op": "=", | |
| "text": "N/A", | |
| "value": "null" | |
| } | |
| ], | |
| "valueName": "avg" | |
| }, | |
| { | |
| "cacheTimeout": null, | |
| "colorBackground": false, | |
| "colorValue": false, | |
| "colors": [ | |
| "#299c46", | |
| "rgba(237, 129, 40, 0.89)", | |
| "#d44a3a" | |
| ], | |
| "datasource": "${DS_PROMETHEUS}", | |
| "decimals": null, | |
| "format": "dateTimeAsUS", | |
| "gauge": { | |
| "maxValue": 100, | |
| "minValue": 0, | |
| "show": false, | |
| "thresholdLabels": false, | |
| "thresholdMarkers": true | |
| }, | |
| "gridPos": { | |
| "h": 4, | |
| "w": 6, | |
| "x": 6, | |
| "y": 0 | |
| }, | |
| "id": 15, | |
| "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": true, | |
| "lineColor": "rgb(31, 120, 193)", | |
| "show": false | |
| }, | |
| "tableColumn": "", | |
| "targets": [ | |
| { | |
| "expr": "avg(process_start_time_seconds{instance=\"$instance\"})*1000", | |
| "format": "time_series", | |
| "intervalFactor": 1, | |
| "refId": "A" | |
| } | |
| ], | |
| "thresholds": "35,50", | |
| "title": "Start time", | |
| "type": "singlestat", | |
| "valueFontSize": "80%", | |
| "valueMaps": [ | |
| { | |
| "op": "=", | |
| "text": "N/A", | |
| "value": "null" | |
| } | |
| ], | |
| "valueName": "current" | |
| }, | |
| { | |
| "cacheTimeout": null, | |
| "colorBackground": false, | |
| "colorValue": false, | |
| "colors": [ | |
| "#299c46", | |
| "rgba(237, 129, 40, 0.89)", | |
| "#d44a3a" | |
| ], | |
| "datasource": "${DS_PROMETHEUS}", | |
| "decimals": 0, | |
| "format": "s", | |
| "gauge": { | |
| "maxValue": 100, | |
| "minValue": 0, | |
| "show": false, | |
| "thresholdLabels": false, | |
| "thresholdMarkers": true | |
| }, | |
| "gridPos": { | |
| "h": 4, | |
| "w": 6, | |
| "x": 12, | |
| "y": 0 | |
| }, | |
| "id": 14, | |
| "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": true, | |
| "lineColor": "rgb(31, 120, 193)", | |
| "show": false | |
| }, | |
| "tableColumn": "", | |
| "targets": [ | |
| { | |
| "expr": "time() - max(process_start_time_seconds{instance=\"$instance\"})", | |
| "format": "time_series", | |
| "intervalFactor": 1, | |
| "refId": "A" | |
| } | |
| ], | |
| "thresholds": "35,50", | |
| "title": "Uptime", | |
| "type": "singlestat", | |
| "valueFontSize": "80%", | |
| "valueMaps": [ | |
| { | |
| "op": "=", | |
| "text": "N/A", | |
| "value": "null" | |
| } | |
| ], | |
| "valueName": "current" | |
| }, | |
| { | |
| "cacheTimeout": null, | |
| "colorBackground": false, | |
| "colorValue": false, | |
| "colors": [ | |
| "#299c46", | |
| "rgba(237, 129, 40, 0.89)", | |
| "#d44a3a" | |
| ], | |
| "datasource": "${DS_PROMETHEUS}", | |
| "decimals": 0, | |
| "format": "none", | |
| "gauge": { | |
| "maxValue": 100, | |
| "minValue": 0, | |
| "show": false, | |
| "thresholdLabels": false, | |
| "thresholdMarkers": true | |
| }, | |
| "gridPos": { | |
| "h": 4, | |
| "w": 6, | |
| "x": 18, | |
| "y": 0 | |
| }, | |
| "id": 19, | |
| "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": true, | |
| "lineColor": "rgb(31, 120, 193)", | |
| "show": false | |
| }, | |
| "tableColumn": "version", | |
| "targets": [ | |
| { | |
| "expr": "jvm_info{}", | |
| "format": "table", | |
| "instant": true, | |
| "intervalFactor": 1, | |
| "legendFormat": "", | |
| "refId": "A" | |
| } | |
| ], | |
| "thresholds": "35,50", | |
| "title": "JVM Version", | |
| "type": "singlestat", | |
| "valueFontSize": "50%", | |
| "valueMaps": [ | |
| { | |
| "op": "=", | |
| "text": "N/A", | |
| "value": "null" | |
| } | |
| ], | |
| "valueName": "current" | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_PROMETHEUS}", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 10, | |
| "w": 12, | |
| "x": 0, | |
| "y": 4 | |
| }, | |
| "id": 8, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "max": true, | |
| "min": true, | |
| "rightSide": false, | |
| "show": true, | |
| "sort": "current", | |
| "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": "jvm_memory_bytes_used{area=\"heap\",instance=\"$instance\",kubernetes_pod_name=~\"$pod\"}", | |
| "format": "time_series", | |
| "intervalFactor": 1, | |
| "legendFormat": "Used {{kubernetes_pod_name}}", | |
| "refId": "A" | |
| }, | |
| { | |
| "expr": " jvm_memory_bytes_max{area=\"heap\",instance=\"$instance\",kubernetes_pod_name=~\"$pod\"}", | |
| "format": "time_series", | |
| "intervalFactor": 1, | |
| "legendFormat": "Max {{kubernetes_pod_name}}", | |
| "refId": "B" | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Heap", | |
| "tooltip": { | |
| "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": "${DS_PROMETHEUS}", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 10, | |
| "w": 12, | |
| "x": 12, | |
| "y": 4 | |
| }, | |
| "id": 18, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "max": true, | |
| "min": true, | |
| "rightSide": false, | |
| "show": true, | |
| "sort": "current", | |
| "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": "jvm_memory_bytes_used{area=\"nonheap\",instance=\"$instance\",kubernetes_pod_name=~\"$pod\"}", | |
| "format": "time_series", | |
| "intervalFactor": 1, | |
| "legendFormat": "Used {{kubernetes_pod_name}}", | |
| "refId": "A" | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Non Heap", | |
| "tooltip": { | |
| "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": "${DS_PROMETHEUS}", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 8, | |
| "w": 8, | |
| "x": 0, | |
| "y": 14 | |
| }, | |
| "id": 2, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "max": true, | |
| "min": true, | |
| "rightSide": false, | |
| "show": true, | |
| "sort": "current", | |
| "sortDesc": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "repeat": null, | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "expr": "jvm_memory_pool_bytes_max{instance=\"$instance\", pool=\"PS Eden Space\",kubernetes_pod_name=~\"$pod\"}", | |
| "format": "time_series", | |
| "interval": "", | |
| "intervalFactor": 5, | |
| "legendFormat": "Max {{kubernetes_pod_name}}", | |
| "metric": "jvm_memory_bytes_used", | |
| "refId": "B", | |
| "step": 5 | |
| }, | |
| { | |
| "expr": "jvm_memory_pool_bytes_used{instance=\"$instance\", pool=\"PS Eden Space\",kubernetes_pod_name=~\"$pod\"}", | |
| "format": "time_series", | |
| "interval": "", | |
| "intervalFactor": 5, | |
| "legendFormat": "Used {{kubernetes_pod_name}}", | |
| "metric": "jvm_memory_bytes_used", | |
| "refId": "A", | |
| "step": 5 | |
| }, | |
| { | |
| "expr": "jvm_memory_pool_bytes_committed{instance=\"$instance\", pool=\"PS Eden Space\",kubernetes_pod_name=~\"$pod\"}", | |
| "format": "time_series", | |
| "interval": "", | |
| "intervalFactor": 5, | |
| "legendFormat": "Committed {{kubernetes_pod_name}}", | |
| "metric": "jvm_memory_bytes_used", | |
| "refId": "C", | |
| "step": 5 | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "PS Eden Space", | |
| "tooltip": { | |
| "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": "${DS_PROMETHEUS}", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 8, | |
| "w": 8, | |
| "x": 8, | |
| "y": 14 | |
| }, | |
| "id": 16, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "max": true, | |
| "min": true, | |
| "rightSide": false, | |
| "show": true, | |
| "sort": "current", | |
| "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": "jvm_memory_pool_bytes_max{instance=\"$instance\", pool=\"PS Old Gen\",kubernetes_pod_name=~\"$pod\"}", | |
| "format": "time_series", | |
| "interval": "", | |
| "intervalFactor": 5, | |
| "legendFormat": "Max {{kubernetes_pod_name}}", | |
| "metric": "jvm_memory_bytes_used", | |
| "refId": "B", | |
| "step": 5 | |
| }, | |
| { | |
| "expr": "jvm_memory_pool_bytes_used{instance=\"$instance\", pool=\"PS Old Gen\",kubernetes_pod_name=~\"$pod\"}", | |
| "format": "time_series", | |
| "interval": "", | |
| "intervalFactor": 5, | |
| "legendFormat": "Used {{kubernetes_pod_name}}", | |
| "metric": "jvm_memory_bytes_used", | |
| "refId": "A", | |
| "step": 5 | |
| }, | |
| { | |
| "expr": "jvm_memory_pool_bytes_committed{instance=\"$instance\", pool=\"PS Old Gen\",kubernetes_pod_name=~\"$pod\"}", | |
| "format": "time_series", | |
| "interval": "", | |
| "intervalFactor": 5, | |
| "legendFormat": "Committed {{kubernetes_pod_name}}", | |
| "metric": "jvm_memory_bytes_used", | |
| "refId": "C", | |
| "step": 5 | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "PS Old Gen", | |
| "tooltip": { | |
| "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": "${DS_PROMETHEUS}", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 8, | |
| "w": 8, | |
| "x": 16, | |
| "y": 14 | |
| }, | |
| "id": 7, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "max": true, | |
| "min": true, | |
| "rightSide": false, | |
| "show": true, | |
| "sort": "current", | |
| "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": "jvm_memory_pool_bytes_max{instance=\"$instance\", pool=\"PS Survivor Space\",kubernetes_pod_name=~\"$pod\"}", | |
| "format": "time_series", | |
| "interval": "", | |
| "intervalFactor": 5, | |
| "legendFormat": "Max {{kubernetes_pod_name}}", | |
| "metric": "jvm_memory_bytes_used", | |
| "refId": "B", | |
| "step": 5 | |
| }, | |
| { | |
| "expr": "jvm_memory_pool_bytes_used{instance=\"$instance\", pool=\"PS Survivor Space\",kubernetes_pod_name=~\"$pod\"}", | |
| "format": "time_series", | |
| "interval": "", | |
| "intervalFactor": 5, | |
| "legendFormat": "Used {{kubernetes_pod_name}}", | |
| "metric": "jvm_memory_bytes_used", | |
| "refId": "A", | |
| "step": 5 | |
| }, | |
| { | |
| "expr": "jvm_memory_pool_bytes_committed{instance=\"$instance\", pool=\"PS Survivor Space\",kubernetes_pod_name=~\"$pod\"}", | |
| "format": "time_series", | |
| "interval": "", | |
| "intervalFactor": 5, | |
| "legendFormat": "Committed {{kubernetes_pod_name}}", | |
| "metric": "jvm_memory_bytes_used", | |
| "refId": "C", | |
| "step": 5 | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "PS Survivor Space", | |
| "tooltip": { | |
| "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": "${DS_PROMETHEUS}", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 8, | |
| "w": 8, | |
| "x": 0, | |
| "y": 22 | |
| }, | |
| "id": 9, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "max": true, | |
| "min": true, | |
| "rightSide": false, | |
| "show": true, | |
| "sort": "current", | |
| "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": "jvm_memory_pool_bytes_max{instance=\"$instance\", pool=\"Metaspace\",kubernetes_pod_name=~\"$pod\"}", | |
| "format": "time_series", | |
| "interval": "", | |
| "intervalFactor": 5, | |
| "legendFormat": "Max {{kubernetes_pod_name}}", | |
| "metric": "jvm_memory_bytes_used", | |
| "refId": "B", | |
| "step": 5 | |
| }, | |
| { | |
| "expr": "jvm_memory_pool_bytes_used{instance=\"$instance\", pool=\"Metaspace\",kubernetes_pod_name=~\"$pod\"}", | |
| "format": "time_series", | |
| "interval": "", | |
| "intervalFactor": 5, | |
| "legendFormat": "Used {{kubernetes_pod_name}}", | |
| "metric": "jvm_memory_bytes_used", | |
| "refId": "A", | |
| "step": 5 | |
| }, | |
| { | |
| "expr": "jvm_memory_pool_bytes_committed{instance=\"$instance\", pool=\"Metaspace\",kubernetes_pod_name=~\"$pod\"}", | |
| "format": "time_series", | |
| "interval": "", | |
| "intervalFactor": 5, | |
| "legendFormat": "Committed {{kubernetes_pod_name}}", | |
| "metric": "jvm_memory_bytes_used", | |
| "refId": "C", | |
| "step": 5 | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Metaspace", | |
| "tooltip": { | |
| "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": "${DS_PROMETHEUS}", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 8, | |
| "w": 8, | |
| "x": 8, | |
| "y": 22 | |
| }, | |
| "id": 11, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "max": true, | |
| "min": true, | |
| "rightSide": false, | |
| "show": true, | |
| "sort": "current", | |
| "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": "jvm_memory_pool_bytes_max{instance=\"$instance\", pool=\"Compressed Class Space\",kubernetes_pod_name=~\"$pod\"}", | |
| "format": "time_series", | |
| "interval": "", | |
| "intervalFactor": 5, | |
| "legendFormat": "Max {{kubernetes_pod_name}}", | |
| "metric": "jvm_memory_bytes_used", | |
| "refId": "B", | |
| "step": 5 | |
| }, | |
| { | |
| "expr": "jvm_memory_pool_bytes_used{instance=\"$instance\", pool=\"Compressed Class Space\",kubernetes_pod_name=~\"$pod\"}", | |
| "format": "time_series", | |
| "interval": "", | |
| "intervalFactor": 5, | |
| "legendFormat": "Used {{kubernetes_pod_name}}", | |
| "metric": "jvm_memory_bytes_used", | |
| "refId": "A", | |
| "step": 5 | |
| }, | |
| { | |
| "expr": "jvm_memory_pool_bytes_committed{instance=\"$instance\", pool=\"Compressed Class Space\",kubernetes_pod_name=~\"$pod\"}", | |
| "format": "time_series", | |
| "interval": "", | |
| "intervalFactor": 5, | |
| "legendFormat": "Committed {{kubernetes_pod_name}}", | |
| "metric": "jvm_memory_bytes_used", | |
| "refId": "C", | |
| "step": 5 | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Compressed Class Space", | |
| "tooltip": { | |
| "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": "${DS_PROMETHEUS}", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 8, | |
| "w": 8, | |
| "x": 16, | |
| "y": 22 | |
| }, | |
| "id": 10, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "max": true, | |
| "min": true, | |
| "rightSide": false, | |
| "show": true, | |
| "sort": "current", | |
| "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": "jvm_memory_pool_bytes_max{instance=\"$instance\", pool=\"Code Cache\",kubernetes_pod_name=~\"$pod\"}", | |
| "format": "time_series", | |
| "interval": "", | |
| "intervalFactor": 5, | |
| "legendFormat": "Max {{kubernetes_pod_name}}", | |
| "metric": "jvm_memory_bytes_used", | |
| "refId": "B", | |
| "step": 5 | |
| }, | |
| { | |
| "expr": "jvm_memory_pool_bytes_used{instance=\"$instance\", pool=\"Code Cache\",kubernetes_pod_name=~\"$pod\"}", | |
| "format": "time_series", | |
| "interval": "", | |
| "intervalFactor": 5, | |
| "legendFormat": "Used {{kubernetes_pod_name}}", | |
| "metric": "jvm_memory_bytes_used", | |
| "refId": "A", | |
| "step": 5 | |
| }, | |
| { | |
| "expr": "jvm_memory_pool_bytes_committed{instance=\"$instance\", pool=\"Code Cache\",kubernetes_pod_name=~\"$pod\"}", | |
| "format": "time_series", | |
| "interval": "", | |
| "intervalFactor": 5, | |
| "legendFormat": "Committed {{kubernetes_pod_name}}", | |
| "metric": "jvm_memory_bytes_used", | |
| "refId": "C", | |
| "step": 5 | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Code Cache", | |
| "tooltip": { | |
| "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": "${DS_PROMETHEUS}", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 8, | |
| "w": 12, | |
| "x": 0, | |
| "y": 30 | |
| }, | |
| "id": 3, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": false, | |
| "current": true, | |
| "max": true, | |
| "min": false, | |
| "rightSide": false, | |
| "show": 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": "jvm_threads_current{instance=\"$instance\",kubernetes_pod_name=~\"$pod\"}", | |
| "format": "time_series", | |
| "intervalFactor": 5, | |
| "legendFormat": "JVM current threads {{kubernetes_pod_name}}", | |
| "metric": "jvm_threads_current", | |
| "refId": "A", | |
| "step": 10 | |
| }, | |
| { | |
| "expr": "jvm_threads_daemon{instance=\"$instance\",kubernetes_pod_name=~\"$pod\"}", | |
| "format": "time_series", | |
| "intervalFactor": 5, | |
| "legendFormat": "JVM daemon threads {{kubernetes_pod_name}}", | |
| "metric": "jvm_threads_daemon", | |
| "refId": "B", | |
| "step": 10 | |
| }, | |
| { | |
| "expr": "jvm_threads_deadlocked{instance=\"$instance\",kubernetes_pod_name=~\"$pod\"}", | |
| "format": "time_series", | |
| "intervalFactor": 1, | |
| "legendFormat": "JVM deadlocked threads {{kubernetes_pod_name}}", | |
| "refId": "C" | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Threads used", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "decimals": 0, | |
| "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": "${DS_PROMETHEUS}", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 8, | |
| "w": 12, | |
| "x": 12, | |
| "y": 30 | |
| }, | |
| "id": 6, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": false, | |
| "current": true, | |
| "max": true, | |
| "min": true, | |
| "show": 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": "jvm_gc_collection_seconds_count{instance=~\"$instance\",kubernetes_pod_name=~\"$pod\"}", | |
| "format": "time_series", | |
| "interval": "", | |
| "intervalFactor": 5, | |
| "legendFormat": "{{gc}} {{kubernetes_pod_name}}", | |
| "metric": "", | |
| "refId": "A", | |
| "step": 10 | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "GC count", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "decimals": 0, | |
| "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": "${DS_PROMETHEUS}", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 8, | |
| "w": 12, | |
| "x": 0, | |
| "y": 38 | |
| }, | |
| "id": 5, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": false, | |
| "current": true, | |
| "max": true, | |
| "min": true, | |
| "rightSide": false, | |
| "show": 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": "rate(jvm_gc_collection_seconds_sum{instance=~\"$instance\",kubernetes_pod_name=~\"$pod\"}[5m])", | |
| "format": "time_series", | |
| "interval": "", | |
| "intervalFactor": 5, | |
| "legendFormat": "{{gc}} {{kubernetes_pod_name}}", | |
| "metric": "jvm_gc_collection_seconds_sum", | |
| "refId": "A", | |
| "step": 10 | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "GC time / 1 min. rate", | |
| "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": 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": "${DS_PROMETHEUS}", | |
| "fill": 1, | |
| "gridPos": { | |
| "h": 8, | |
| "w": 12, | |
| "x": 12, | |
| "y": 38 | |
| }, | |
| "id": 4, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": false, | |
| "current": true, | |
| "max": true, | |
| "min": true, | |
| "show": 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": "jvm_classes_loaded{instance=~\"$instance\",kubernetes_pod_name=~\"$pod\"}", | |
| "format": "time_series", | |
| "interval": "", | |
| "intervalFactor": 5, | |
| "legendFormat": "loaded {{kubernetes_pod_name}}", | |
| "metric": "jvm_classes_loaded", | |
| "refId": "A", | |
| "step": 10 | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Class loading", | |
| "tooltip": { | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "decimals": 0, | |
| "format": "short", | |
| "label": "", | |
| "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 | |
| } | |
| } | |
| ], | |
| "refresh": false, | |
| "schemaVersion": 16, | |
| "style": "dark", | |
| "tags": [ | |
| "JVM" | |
| ], | |
| "templating": { | |
| "list": [ | |
| { | |
| "allValue": "", | |
| "current": {}, | |
| "datasource": "${DS_PROMETHEUS}", | |
| "hide": 0, | |
| "includeAll": false, | |
| "label": "instance", | |
| "multi": false, | |
| "name": "instance", | |
| "options": [], | |
| "query": "label_values(jvm_info{job=\"kubernetes-pods\"}, instance)", | |
| "refresh": 1, | |
| "regex": "", | |
| "sort": 0, | |
| "tagValuesQuery": "", | |
| "tags": [], | |
| "tagsQuery": "", | |
| "type": "query", | |
| "useTags": false | |
| }, | |
| { | |
| "allValue": ".*", | |
| "current": {}, | |
| "datasource": "${DS_PROMETHEUS}", | |
| "hide": 0, | |
| "includeAll": true, | |
| "label": "pod", | |
| "multi": false, | |
| "name": "pod", | |
| "options": [], | |
| "query": "label_values(jvm_info{instance=\"$instance\"}, kubernetes_pod_name)", | |
| "refresh": 1, | |
| "regex": "/.*(?!-).*/", | |
| "sort": 0, | |
| "tagValuesQuery": "label_values(release)", | |
| "tags": [], | |
| "tagsQuery": "label_values(release)", | |
| "type": "query", | |
| "useTags": false | |
| } | |
| ] | |
| }, | |
| "time": { | |
| "from": "2018-10-17T08:56:27.515Z", | |
| "to": "2018-10-17T12:56:27.515Z" | |
| }, | |
| "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": "", | |
| "title": "JMX exporter prometheus", | |
| "uid": "nshAi8pmz", | |
| "version": 7 | |
| } |
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": "-- Grafana --", | |
| "enable": true, | |
| "hide": true, | |
| "iconColor": "rgba(0, 211, 255, 1)", | |
| "name": "Annotations & Alerts", | |
| "type": "dashboard" | |
| } | |
| ] | |
| }, | |
| "editable": true, | |
| "gnetId": null, | |
| "graphTooltip": 0, | |
| "id": 5, | |
| "iteration": 1544779174746, | |
| "links": [], | |
| "panels": [ | |
| { | |
| "columns": [], | |
| "datasource": "mysql", | |
| "fontSize": "100%", | |
| "gridPos": { | |
| "h": 9, | |
| "w": 12, | |
| "x": 0, | |
| "y": 0 | |
| }, | |
| "id": 2, | |
| "links": [], | |
| "pageSize": null, | |
| "scroll": true, | |
| "showHeader": true, | |
| "sort": { | |
| "col": 0, | |
| "desc": true | |
| }, | |
| "styles": [ | |
| { | |
| "alias": "Time", | |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", | |
| "pattern": "Time", | |
| "type": "date" | |
| }, | |
| { | |
| "alias": "", | |
| "colorMode": null, | |
| "colors": [ | |
| "rgba(245, 54, 54, 0.9)", | |
| "rgba(237, 129, 40, 0.89)", | |
| "rgba(50, 172, 45, 0.97)" | |
| ], | |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", | |
| "decimals": 0, | |
| "mappingType": 1, | |
| "pattern": "as_src", | |
| "thresholds": [], | |
| "type": "number", | |
| "unit": "none" | |
| }, | |
| { | |
| "alias": "", | |
| "colorMode": null, | |
| "colors": [ | |
| "rgba(245, 54, 54, 0.9)", | |
| "rgba(237, 129, 40, 0.89)", | |
| "rgba(50, 172, 45, 0.97)" | |
| ], | |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", | |
| "decimals": 2, | |
| "mappingType": 1, | |
| "pattern": "data", | |
| "thresholds": [], | |
| "type": "number", | |
| "unit": "bytes" | |
| }, | |
| { | |
| "alias": "", | |
| "colorMode": null, | |
| "colors": [ | |
| "rgba(245, 54, 54, 0.9)", | |
| "rgba(237, 129, 40, 0.89)", | |
| "rgba(50, 172, 45, 0.97)" | |
| ], | |
| "decimals": 2, | |
| "pattern": "/.*/", | |
| "thresholds": [], | |
| "type": "number", | |
| "unit": "short" | |
| } | |
| ], | |
| "targets": [ | |
| { | |
| "alias": "", | |
| "format": "table", | |
| "rawSql": "SELECT\r\n sum(bytes) as data,\r\n $table.as_src,\r\n asn_name.name as ASN_NAME,\r\n $table.stamp_updated as timestamp\r\nFROM $table\r\nleft join asn_name on asn_name.id=$table.as_src\r\nWHERE $__timeFilter(stamp_updated) and $type in (SELECT id from interface where name='$interface')\r\nGROUP BY as_src\r\nORDER BY timestamp DESC", | |
| "refId": "A" | |
| } | |
| ], | |
| "title": "For ASN SRC only", | |
| "transform": "table", | |
| "type": "table" | |
| }, | |
| { | |
| "columns": [], | |
| "datasource": "mysql", | |
| "fontSize": "100%", | |
| "gridPos": { | |
| "h": 9, | |
| "w": 12, | |
| "x": 12, | |
| "y": 0 | |
| }, | |
| "id": 3, | |
| "links": [], | |
| "pageSize": null, | |
| "scroll": true, | |
| "showHeader": true, | |
| "sort": { | |
| "col": 0, | |
| "desc": true | |
| }, | |
| "styles": [ | |
| { | |
| "alias": "Time", | |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", | |
| "pattern": "Time", | |
| "type": "date" | |
| }, | |
| { | |
| "alias": "as_dst", | |
| "colorMode": null, | |
| "colors": [ | |
| "rgba(245, 54, 54, 0.9)", | |
| "rgba(237, 129, 40, 0.89)", | |
| "rgba(50, 172, 45, 0.97)" | |
| ], | |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", | |
| "decimals": 0, | |
| "mappingType": 1, | |
| "pattern": "as_dst", | |
| "thresholds": [], | |
| "type": "number", | |
| "unit": "none" | |
| }, | |
| { | |
| "alias": "", | |
| "colorMode": null, | |
| "colors": [ | |
| "rgba(245, 54, 54, 0.9)", | |
| "rgba(237, 129, 40, 0.89)", | |
| "rgba(50, 172, 45, 0.97)" | |
| ], | |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", | |
| "decimals": 2, | |
| "mappingType": 1, | |
| "pattern": "data", | |
| "thresholds": [], | |
| "type": "number", | |
| "unit": "bytes" | |
| }, | |
| { | |
| "alias": "", | |
| "colorMode": null, | |
| "colors": [ | |
| "rgba(245, 54, 54, 0.9)", | |
| "rgba(237, 129, 40, 0.89)", | |
| "rgba(50, 172, 45, 0.97)" | |
| ], | |
| "decimals": 2, | |
| "pattern": "/.*/", | |
| "thresholds": [], | |
| "type": "number", | |
| "unit": "short" | |
| } | |
| ], | |
| "targets": [ | |
| { | |
| "alias": "", | |
| "format": "table", | |
| "rawSql": "SELECT\r\n sum(bytes) as data,\r\n $table.as_dst,\r\n asn_name.name as ASN_NAME,\r\n $table.stamp_updated as timestamp\r\nFROM $table\r\nleft join asn_name on asn_name.id=$table.as_dst\r\nWHERE $__timeFilter(stamp_updated) and $type in (SELECT id from interface where name='$interface')\r\nGROUP BY as_dst\r\nORDER BY timestamp DESC", | |
| "refId": "A" | |
| } | |
| ], | |
| "title": "For ASN DST only", | |
| "transform": "table", | |
| "type": "table" | |
| } | |
| ], | |
| "schemaVersion": 16, | |
| "style": "dark", | |
| "tags": [], | |
| "templating": { | |
| "list": [ | |
| { | |
| "allValue": null, | |
| "current": { | |
| "text": "AMS-IX-sfp3", | |
| "value": "AMS-IX-sfp3" | |
| }, | |
| "datasource": "mysql", | |
| "hide": 0, | |
| "includeAll": false, | |
| "label": null, | |
| "multi": false, | |
| "name": "interface", | |
| "options": [], | |
| "query": "Select name from interface", | |
| "refresh": 1, | |
| "regex": "", | |
| "skipUrlSync": false, | |
| "sort": 0, | |
| "tagValuesQuery": "", | |
| "tags": [], | |
| "tagsQuery": "", | |
| "type": "query", | |
| "useTags": false | |
| }, | |
| { | |
| "allValue": null, | |
| "current": { | |
| "text": "asn_monthly_20181201_0000", | |
| "value": "asn_monthly_20181201_0000" | |
| }, | |
| "datasource": "mysql", | |
| "hide": 0, | |
| "includeAll": false, | |
| "label": "show tables", | |
| "multi": false, | |
| "name": "table", | |
| "options": [], | |
| "query": "show tables", | |
| "refresh": 1, | |
| "regex": "/asn_monthly*/", | |
| "skipUrlSync": false, | |
| "sort": 0, | |
| "tagValuesQuery": "", | |
| "tags": [], | |
| "tagsQuery": "", | |
| "type": "query", | |
| "useTags": false | |
| }, | |
| { | |
| "allValue": null, | |
| "current": { | |
| "tags": [], | |
| "text": "iface_out", | |
| "value": "iface_out" | |
| }, | |
| "hide": 0, | |
| "includeAll": false, | |
| "label": null, | |
| "multi": false, | |
| "name": "type", | |
| "options": [ | |
| { | |
| "selected": false, | |
| "text": "iface_in", | |
| "value": "iface_in" | |
| }, | |
| { | |
| "selected": true, | |
| "text": "iface_out", | |
| "value": "iface_out" | |
| } | |
| ], | |
| "query": "iface_in, iface_out", | |
| "skipUrlSync": false, | |
| "type": "custom" | |
| } | |
| ] | |
| }, | |
| "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": "", | |
| "title": "netflow ASN", | |
| "uid": "qxztaEEiz", | |
| "version": 8 | |
| } |
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": "-- Grafana --", | |
| "enable": true, | |
| "hide": true, | |
| "iconColor": "rgba(0, 211, 255, 1)", | |
| "name": "Annotations & Alerts", | |
| "type": "dashboard" | |
| } | |
| ] | |
| }, | |
| "description": "Netflow IPFIX", | |
| "editable": true, | |
| "gnetId": null, | |
| "graphTooltip": 0, | |
| "id": 3, | |
| "iteration": 1544781628491, | |
| "links": [], | |
| "panels": [ | |
| { | |
| "columns": [], | |
| "datasource": "mysql", | |
| "fontSize": "100%", | |
| "gridPos": { | |
| "h": 9, | |
| "w": 12, | |
| "x": 0, | |
| "y": 0 | |
| }, | |
| "id": 2, | |
| "links": [], | |
| "pageSize": null, | |
| "scroll": true, | |
| "showHeader": true, | |
| "sort": { | |
| "col": null, | |
| "desc": false | |
| }, | |
| "styles": [ | |
| { | |
| "alias": "data", | |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", | |
| "pattern": "data", | |
| "type": "number", | |
| "unit": "decbytes" | |
| }, | |
| { | |
| "alias": "", | |
| "colorMode": null, | |
| "colors": [ | |
| "rgba(245, 54, 54, 0.9)", | |
| "rgba(237, 129, 40, 0.89)", | |
| "rgba(50, 172, 45, 0.97)" | |
| ], | |
| "decimals": 2, | |
| "pattern": "/.*/", | |
| "thresholds": [], | |
| "type": "number", | |
| "unit": "short" | |
| } | |
| ], | |
| "targets": [ | |
| { | |
| "alias": "", | |
| "format": "table", | |
| "rawSql": "SELECT\r\n sum(bytes) as data,\r\n INET_NTOA(ip_src) as source_address\r\nFROM $table\r\nWHERE $__timeFilter(stamp_updated) and iface_in in (SELECT id from interface where name=$interface)\r\nGROUP BY source_address\r\nORDER BY data DESC", | |
| "refId": "A" | |
| } | |
| ], | |
| "title": "Iface IN IP Source Address", | |
| "transform": "table", | |
| "type": "table" | |
| }, | |
| { | |
| "columns": [], | |
| "datasource": "mysql", | |
| "fontSize": "100%", | |
| "gridPos": { | |
| "h": 9, | |
| "w": 12, | |
| "x": 12, | |
| "y": 0 | |
| }, | |
| "id": 3, | |
| "links": [], | |
| "pageSize": null, | |
| "scroll": true, | |
| "showHeader": true, | |
| "sort": { | |
| "col": 0, | |
| "desc": true | |
| }, | |
| "styles": [ | |
| { | |
| "alias": "data", | |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", | |
| "pattern": "data", | |
| "type": "number", | |
| "unit": "decbytes" | |
| }, | |
| { | |
| "alias": "", | |
| "colorMode": null, | |
| "colors": [ | |
| "rgba(245, 54, 54, 0.9)", | |
| "rgba(237, 129, 40, 0.89)", | |
| "rgba(50, 172, 45, 0.97)" | |
| ], | |
| "decimals": 2, | |
| "pattern": "/.*/", | |
| "thresholds": [], | |
| "type": "number", | |
| "unit": "short" | |
| } | |
| ], | |
| "targets": [ | |
| { | |
| "alias": "", | |
| "format": "table", | |
| "rawSql": "SELECT\r\n sum(bytes) as data,\r\n INET_NTOA(ip_dst) as dest_address\r\nFROM $table\r\nWHERE $__timeFilter(stamp_updated) and iface_in in (SELECT id from interface where name=$interface)\r\nGROUP BY dest_address\r\nORDER BY data DESC", | |
| "refId": "A" | |
| } | |
| ], | |
| "title": "Iface_In IP destination Address", | |
| "transform": "table", | |
| "type": "table" | |
| }, | |
| { | |
| "columns": [], | |
| "datasource": "mysql", | |
| "fontSize": "100%", | |
| "gridPos": { | |
| "h": 9, | |
| "w": 12, | |
| "x": 0, | |
| "y": 9 | |
| }, | |
| "id": 5, | |
| "links": [], | |
| "pageSize": null, | |
| "scroll": true, | |
| "showHeader": true, | |
| "sort": { | |
| "col": 0, | |
| "desc": true | |
| }, | |
| "styles": [ | |
| { | |
| "alias": "data", | |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", | |
| "pattern": "data", | |
| "type": "number", | |
| "unit": "decbytes" | |
| }, | |
| { | |
| "alias": "", | |
| "colorMode": null, | |
| "colors": [ | |
| "rgba(245, 54, 54, 0.9)", | |
| "rgba(237, 129, 40, 0.89)", | |
| "rgba(50, 172, 45, 0.97)" | |
| ], | |
| "decimals": 2, | |
| "pattern": "/.*/", | |
| "thresholds": [], | |
| "type": "number", | |
| "unit": "short" | |
| } | |
| ], | |
| "targets": [ | |
| { | |
| "alias": "", | |
| "format": "table", | |
| "rawSql": "SELECT\r\n sum(bytes) as data,\r\n INET_NTOA(ip_src) as source_address\r\nFROM $table\r\nWHERE $__timeFilter(stamp_updated) and iface_out in (SELECT id from interface where name=$interface)\r\nGROUP BY source_address\r\nORDER BY data DESC", | |
| "refId": "A" | |
| } | |
| ], | |
| "title": "Iface OUT IP Source Address", | |
| "transform": "table", | |
| "type": "table" | |
| }, | |
| { | |
| "columns": [], | |
| "datasource": "mysql", | |
| "fontSize": "100%", | |
| "gridPos": { | |
| "h": 9, | |
| "w": 12, | |
| "x": 12, | |
| "y": 9 | |
| }, | |
| "id": 4, | |
| "links": [], | |
| "pageSize": null, | |
| "scroll": true, | |
| "showHeader": true, | |
| "sort": { | |
| "col": 0, | |
| "desc": true | |
| }, | |
| "styles": [ | |
| { | |
| "alias": "data", | |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", | |
| "pattern": "data", | |
| "type": "number", | |
| "unit": "decbytes" | |
| }, | |
| { | |
| "alias": "", | |
| "colorMode": null, | |
| "colors": [ | |
| "rgba(245, 54, 54, 0.9)", | |
| "rgba(237, 129, 40, 0.89)", | |
| "rgba(50, 172, 45, 0.97)" | |
| ], | |
| "decimals": 2, | |
| "pattern": "/.*/", | |
| "thresholds": [], | |
| "type": "number", | |
| "unit": "short" | |
| } | |
| ], | |
| "targets": [ | |
| { | |
| "alias": "", | |
| "format": "table", | |
| "rawSql": "SELECT\r\n sum(bytes) as data,\r\n INET_NTOA(ip_dst) as dest_address\r\nFROM $table\r\nWHERE $__timeFilter(stamp_updated) and iface_out in (SELECT id from interface where name=$interface)\r\nGROUP BY dest_address\r\nORDER BY data DESC", | |
| "refId": "A" | |
| } | |
| ], | |
| "title": "Iface OUT IP destination Address", | |
| "transform": "table", | |
| "type": "table" | |
| } | |
| ], | |
| "schemaVersion": 16, | |
| "style": "dark", | |
| "tags": [ | |
| "netflow" | |
| ], | |
| "templating": { | |
| "list": [ | |
| { | |
| "allValue": null, | |
| "current": { | |
| "text": "AMS-IX-sfp3", | |
| "value": "AMS-IX-sfp3" | |
| }, | |
| "datasource": "mysql", | |
| "hide": 0, | |
| "includeAll": false, | |
| "label": null, | |
| "multi": true, | |
| "name": "interface", | |
| "options": [], | |
| "query": "select name from interface", | |
| "refresh": 1, | |
| "regex": "", | |
| "skipUrlSync": false, | |
| "sort": 0, | |
| "tagValuesQuery": "", | |
| "tags": [], | |
| "tagsQuery": "", | |
| "type": "query", | |
| "useTags": false | |
| }, | |
| { | |
| "allValue": null, | |
| "current": { | |
| "text": "acct_2hours_20181214_1200", | |
| "value": "acct_2hours_20181214_1200" | |
| }, | |
| "datasource": "mysql", | |
| "hide": 0, | |
| "includeAll": false, | |
| "label": "table", | |
| "multi": false, | |
| "name": "table", | |
| "options": [], | |
| "query": "show tables", | |
| "refresh": 1, | |
| "regex": "/acct_*/", | |
| "skipUrlSync": false, | |
| "sort": 0, | |
| "tagValuesQuery": "", | |
| "tags": [], | |
| "tagsQuery": "", | |
| "type": "query", | |
| "useTags": false | |
| } | |
| ] | |
| }, | |
| "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": "", | |
| "title": "netflow", | |
| "uid": "u06n6MEiz", | |
| "version": 9 | |
| } |
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": "-- Grafana --", | |
| "enable": true, | |
| "hide": true, | |
| "iconColor": "rgba(0, 211, 255, 1)", | |
| "name": "Annotations & Alerts", | |
| "type": "dashboard" | |
| } | |
| ] | |
| }, | |
| "editable": true, | |
| "gnetId": null, | |
| "graphTooltip": 0, | |
| "id": 4, | |
| "iteration": 1544781584613, | |
| "links": [], | |
| "panels": [ | |
| { | |
| "columns": [], | |
| "datasource": "mysql", | |
| "fontSize": "100%", | |
| "gridPos": { | |
| "h": 9, | |
| "w": 12, | |
| "x": 0, | |
| "y": 0 | |
| }, | |
| "id": 2, | |
| "links": [], | |
| "pageSize": null, | |
| "scroll": true, | |
| "showHeader": true, | |
| "sort": { | |
| "col": 0, | |
| "desc": true | |
| }, | |
| "styles": [ | |
| { | |
| "alias": "Time", | |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", | |
| "pattern": "timestamp", | |
| "type": "date" | |
| }, | |
| { | |
| "alias": "data", | |
| "colorMode": null, | |
| "colors": [ | |
| "rgba(245, 54, 54, 0.9)", | |
| "rgba(237, 129, 40, 0.89)", | |
| "rgba(50, 172, 45, 0.97)" | |
| ], | |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", | |
| "decimals": 2, | |
| "mappingType": 1, | |
| "pattern": "data", | |
| "thresholds": [], | |
| "type": "number", | |
| "unit": "decbytes" | |
| }, | |
| { | |
| "alias": "", | |
| "colorMode": null, | |
| "colors": [ | |
| "rgba(245, 54, 54, 0.9)", | |
| "rgba(237, 129, 40, 0.89)", | |
| "rgba(50, 172, 45, 0.97)" | |
| ], | |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", | |
| "decimals": 0, | |
| "mappingType": 1, | |
| "pattern": "as_src", | |
| "thresholds": [], | |
| "type": "number", | |
| "unit": "none" | |
| }, | |
| { | |
| "alias": "", | |
| "colorMode": null, | |
| "colors": [ | |
| "rgba(245, 54, 54, 0.9)", | |
| "rgba(237, 129, 40, 0.89)", | |
| "rgba(50, 172, 45, 0.97)" | |
| ], | |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", | |
| "decimals": 0, | |
| "mappingType": 1, | |
| "pattern": "as_dst", | |
| "thresholds": [], | |
| "type": "number", | |
| "unit": "none" | |
| }, | |
| { | |
| "alias": "", | |
| "colorMode": null, | |
| "colors": [ | |
| "rgba(245, 54, 54, 0.9)", | |
| "rgba(237, 129, 40, 0.89)", | |
| "rgba(50, 172, 45, 0.97)" | |
| ], | |
| "decimals": 2, | |
| "pattern": "/.*/", | |
| "thresholds": [], | |
| "type": "number", | |
| "unit": "short" | |
| } | |
| ], | |
| "targets": [ | |
| { | |
| "alias": "", | |
| "format": "table", | |
| "rawSql": "SELECT\r\n sum(bytes) as data,\r\n INET_NTOA(ip_src) as source_address,\r\n INET_NTOA(ip_dst) as dst_address,\r\n as_src, \r\n as_dst,\r\n stamp_updated as timestamp\r\nFROM $table\r\nWHERE $__timeFilter(stamp_updated) and $type in (SELECT id from interface where name='$interface') and as_dst in ($asn_dst) and as_src in ($asn_src)\r\nGROUP BY dst_address, source_address\r\nORDER BY timestamp DESC\r\n", | |
| "refId": "A" | |
| } | |
| ], | |
| "title": "Connections", | |
| "transform": "table", | |
| "type": "table" | |
| } | |
| ], | |
| "schemaVersion": 16, | |
| "style": "dark", | |
| "tags": [], | |
| "templating": { | |
| "list": [ | |
| { | |
| "allValue": null, | |
| "current": { | |
| "text": "AMS-IX-sfp3", | |
| "value": "AMS-IX-sfp3" | |
| }, | |
| "datasource": "mysql", | |
| "hide": 0, | |
| "includeAll": false, | |
| "label": null, | |
| "multi": false, | |
| "name": "interface", | |
| "options": [], | |
| "query": "Select name from interface", | |
| "refresh": 1, | |
| "regex": "", | |
| "skipUrlSync": false, | |
| "sort": 0, | |
| "tagValuesQuery": "", | |
| "tags": [], | |
| "tagsQuery": "", | |
| "type": "query", | |
| "useTags": false | |
| }, | |
| { | |
| "allValue": null, | |
| "current": { | |
| "text": "acct_2hours_20181214_1200", | |
| "value": "acct_2hours_20181214_1200" | |
| }, | |
| "datasource": "mysql", | |
| "hide": 0, | |
| "includeAll": false, | |
| "label": "table", | |
| "multi": false, | |
| "name": "table", | |
| "options": [], | |
| "query": "show tables", | |
| "refresh": 1, | |
| "regex": "/acct_*/", | |
| "skipUrlSync": false, | |
| "sort": 0, | |
| "tagValuesQuery": "", | |
| "tags": [], | |
| "tagsQuery": "", | |
| "type": "query", | |
| "useTags": false | |
| }, | |
| { | |
| "allValue": null, | |
| "current": { | |
| "tags": [], | |
| "text": "iface_out", | |
| "value": "iface_out" | |
| }, | |
| "hide": 0, | |
| "includeAll": false, | |
| "label": null, | |
| "multi": false, | |
| "name": "type", | |
| "options": [ | |
| { | |
| "selected": true, | |
| "text": "iface_in", | |
| "value": "iface_in" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "iface_out", | |
| "value": "iface_out" | |
| } | |
| ], | |
| "query": "iface_in, iface_out", | |
| "skipUrlSync": false, | |
| "type": "custom" | |
| }, | |
| { | |
| "allValue": null, | |
| "current": { | |
| "text": "All", | |
| "value": "$__all" | |
| }, | |
| "datasource": "mysql", | |
| "hide": 0, | |
| "includeAll": true, | |
| "label": "asn_src", | |
| "multi": true, | |
| "name": "asn_src", | |
| "options": [], | |
| "query": "select distinct as_src from $table", | |
| "refresh": 1, | |
| "regex": "", | |
| "skipUrlSync": false, | |
| "sort": 0, | |
| "tagValuesQuery": "", | |
| "tags": [], | |
| "tagsQuery": "", | |
| "type": "query", | |
| "useTags": false | |
| }, | |
| { | |
| "allValue": null, | |
| "current": { | |
| "text": "138222", | |
| "value": "138222" | |
| }, | |
| "datasource": "mysql", | |
| "hide": 0, | |
| "includeAll": true, | |
| "label": "asn_dst", | |
| "multi": true, | |
| "name": "asn_dst", | |
| "options": [], | |
| "query": "select distinct as_dst from $table", | |
| "refresh": 1, | |
| "regex": "", | |
| "skipUrlSync": false, | |
| "sort": 0, | |
| "tagValuesQuery": "", | |
| "tags": [], | |
| "tagsQuery": "", | |
| "type": "query", | |
| "useTags": false | |
| } | |
| ] | |
| }, | |
| "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": "", | |
| "title": "Netflow Ip address", | |
| "uid": "5YehhhPik", | |
| "version": 9 | |
| } |
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
| { | |
| "__inputs": [ | |
| { | |
| "name": "DS_PROMETHEUS", | |
| "label": "Prometheus", | |
| "description": "", | |
| "type": "datasource", | |
| "pluginId": "prometheus", | |
| "pluginName": "Prometheus" | |
| } | |
| ], | |
| "__requires": [ | |
| { | |
| "type": "grafana", | |
| "id": "grafana", | |
| "name": "Grafana", | |
| "version": "5.2.1" | |
| }, | |
| { | |
| "type": "datasource", | |
| "id": "prometheus", | |
| "name": "Prometheus", | |
| "version": "5.0.0" | |
| }, | |
| { | |
| "type": "panel", | |
| "id": "singlestat", | |
| "name": "Singlestat", | |
| "version": "5.0.0" | |
| } | |
| ], | |
| "annotations": { | |
| "list": [ | |
| { | |
| "builtIn": 1, | |
| "datasource": "-- Grafana --", | |
| "enable": true, | |
| "hide": true, | |
| "iconColor": "rgba(0, 211, 255, 1)", | |
| "name": "Annotations & Alerts", | |
| "type": "dashboard" | |
| }, | |
| { | |
| "datasource": "${DS_PROMETHEUS}", | |
| "enable": true, | |
| "expr": "sum(changes(nginx_ingress_controller_config_last_reload_successful_timestamp_seconds{instance!=\"unknown\",controller_class=~\"$controller_class\",namespace=~\"$namespace\"}[30s])) by (controller_class)", | |
| "hide": false, | |
| "iconColor": "rgba(255, 96, 96, 1)", | |
| "limit": 100, | |
| "name": "Config Reloads", | |
| "showIn": 0, | |
| "step": "30s", | |
| "tagKeys": "controller_class", | |
| "tags": [], | |
| "titleFormat": "Config Reloaded", | |
| "type": "tags" | |
| } | |
| ] | |
| }, | |
| "editable": true, | |
| "gnetId": null, | |
| "graphTooltip": 0, | |
| "iteration": 1534359654832, | |
| "links": [], | |
| "panels": [ | |
| { | |
| "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": "${DS_PROMETHEUS}", | |
| "format": "ops", | |
| "gauge": { | |
| "maxValue": 100, | |
| "minValue": 0, | |
| "show": false, | |
| "thresholdLabels": false, | |
| "thresholdMarkers": true | |
| }, | |
| "gridPos": { | |
| "h": 3, | |
| "w": 6, | |
| "x": 0, | |
| "y": 0 | |
| }, | |
| "id": 20, | |
| "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": true, | |
| "lineColor": "rgb(31, 120, 193)", | |
| "show": true | |
| }, | |
| "tableColumn": "", | |
| "targets": [ | |
| { | |
| "expr": "round(sum(irate(nginx_ingress_controller_requests{controller_pod=~\"$controller\",controller_class=~\"$controller_class\",namespace=~\"$namespace\"}[2m])), 0.001)", | |
| "format": "time_series", | |
| "intervalFactor": 1, | |
| "refId": "A", | |
| "step": 4 | |
| } | |
| ], | |
| "thresholds": "", | |
| "title": "Controller Request Volume", | |
| "transparent": false, | |
| "type": "singlestat", | |
| "valueFontSize": "80%", | |
| "valueMaps": [ | |
| { | |
| "op": "=", | |
| "text": "N/A", | |
| "value": "null" | |
| } | |
| ], | |
| "valueName": "avg" | |
| }, | |
| { | |
| "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": "${DS_PROMETHEUS}", | |
| "format": "none", | |
| "gauge": { | |
| "maxValue": 100, | |
| "minValue": 0, | |
| "show": false, | |
| "thresholdLabels": false, | |
| "thresholdMarkers": true | |
| }, | |
| "gridPos": { | |
| "h": 3, | |
| "w": 6, | |
| "x": 6, | |
| "y": 0 | |
| }, | |
| "id": 82, | |
| "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": true, | |
| "lineColor": "rgb(31, 120, 193)", | |
| "show": true | |
| }, | |
| "tableColumn": "", | |
| "targets": [ | |
| { | |
| "expr": "sum(avg_over_time(nginx_ingress_controller_nginx_process_connections{controller_pod=~\"$controller\",controller_class=~\"$controller_class\",controller_namespace=~\"$namespace\"}[2m]))", | |
| "format": "time_series", | |
| "instant": false, | |
| "intervalFactor": 1, | |
| "refId": "A", | |
| "step": 4 | |
| } | |
| ], | |
| "thresholds": "", | |
| "title": "Controller Connections", | |
| "transparent": false, | |
| "type": "singlestat", | |
| "valueFontSize": "80%", | |
| "valueMaps": [ | |
| { | |
| "op": "=", | |
| "text": "N/A", | |
| "value": "null" | |
| } | |
| ], | |
| "valueName": "avg" | |
| }, | |
| { | |
| "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": "${DS_PROMETHEUS}", | |
| "format": "percentunit", | |
| "gauge": { | |
| "maxValue": 100, | |
| "minValue": 80, | |
| "show": false, | |
| "thresholdLabels": false, | |
| "thresholdMarkers": false | |
| }, | |
| "gridPos": { | |
| "h": 3, | |
| "w": 6, | |
| "x": 12, | |
| "y": 0 | |
| }, | |
| "id": 21, | |
| "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": true, | |
| "lineColor": "rgb(31, 120, 193)", | |
| "show": true | |
| }, | |
| "tableColumn": "", | |
| "targets": [ | |
| { | |
| "expr": "sum(rate(nginx_ingress_controller_requests{controller_pod=~\"$controller\",controller_class=~\"$controller_class\",namespace=~\"$namespace\",status!~\"[4-5].*\"}[2m])) / sum(rate(nginx_ingress_controller_requests{controller_pod=~\"$controller\",controller_class=~\"$controller_class\",namespace=~\"$namespace\"}[2m]))", | |
| "format": "time_series", | |
| "intervalFactor": 1, | |
| "refId": "A", | |
| "step": 4 | |
| } | |
| ], | |
| "thresholds": "95, 99, 99.5", | |
| "title": "Controller Success Rate (non-4|5xx responses)", | |
| "transparent": false, | |
| "type": "singlestat", | |
| "valueFontSize": "80%", | |
| "valueMaps": [ | |
| { | |
| "op": "=", | |
| "text": "N/A", | |
| "value": "null" | |
| } | |
| ], | |
| "valueName": "avg" | |
| }, | |
| { | |
| "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": "${DS_PROMETHEUS}", | |
| "decimals": 0, | |
| "format": "none", | |
| "gauge": { | |
| "maxValue": 100, | |
| "minValue": 0, | |
| "show": false, | |
| "thresholdLabels": false, | |
| "thresholdMarkers": true | |
| }, | |
| "gridPos": { | |
| "h": 3, | |
| "w": 3, | |
| "x": 18, | |
| "y": 0 | |
| }, | |
| "id": 81, | |
| "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": true, | |
| "lineColor": "rgb(31, 120, 193)", | |
| "show": true | |
| }, | |
| "tableColumn": "", | |
| "targets": [ | |
| { | |
| "expr": "avg(nginx_ingress_controller_success{controller_pod=~\"$controller\",controller_class=~\"$controller_class\",controller_namespace=~\"$namespace\"})", | |
| "format": "time_series", | |
| "instant": true, | |
| "intervalFactor": 1, | |
| "refId": "A", | |
| "step": 4 | |
| } | |
| ], | |
| "thresholds": "", | |
| "title": "Config Reloads", | |
| "transparent": false, | |
| "type": "singlestat", | |
| "valueFontSize": "80%", | |
| "valueMaps": [ | |
| { | |
| "op": "=", | |
| "text": "N/A", | |
| "value": "null" | |
| } | |
| ], | |
| "valueName": "avg" | |
| }, | |
| { | |
| "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": "${DS_PROMETHEUS}", | |
| "decimals": 0, | |
| "format": "none", | |
| "gauge": { | |
| "maxValue": 100, | |
| "minValue": 0, | |
| "show": false, | |
| "thresholdLabels": false, | |
| "thresholdMarkers": true | |
| }, | |
| "gridPos": { | |
| "h": 3, | |
| "w": 3, | |
| "x": 21, | |
| "y": 0 | |
| }, | |
| "id": 83, | |
| "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": true, | |
| "lineColor": "rgb(31, 120, 193)", | |
| "show": true | |
| }, | |
| "tableColumn": "", | |
| "targets": [ | |
| { | |
| "expr": "count(nginx_ingress_controller_config_last_reload_successful{controller_pod=~\"$controller\",controller_namespace=~\"$namespace\"} == 0)", | |
| "format": "time_series", | |
| "instant": true, | |
| "intervalFactor": 1, | |
| "refId": "A", | |
| "step": 4 | |
| } | |
| ], | |
| "thresholds": "", | |
| "title": "Last Config Failed", | |
| "transparent": false, | |
| "type": "singlestat", | |
| "valueFontSize": "80%", | |
| "valueMaps": [ | |
| { | |
| "op": "=", | |
| "text": "N/A", | |
| "value": "null" | |
| } | |
| ], | |
| "valueName": "avg" | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_PROMETHEUS}", | |
| "decimals": 2, | |
| "editable": true, | |
| "error": false, | |
| "fill": 1, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 7, | |
| "w": 12, | |
| "x": 0, | |
| "y": 3 | |
| }, | |
| "height": "200px", | |
| "id": 86, | |
| "isNew": true, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": false, | |
| "hideEmpty": false, | |
| "hideZero": true, | |
| "max": false, | |
| "min": false, | |
| "rightSide": true, | |
| "show": true, | |
| "sideWidth": 300, | |
| "sort": "current", | |
| "sortDesc": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 2, | |
| "links": [], | |
| "nullPointMode": "connected", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "repeat": null, | |
| "repeatDirection": "h", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "expr": "round(sum(irate(nginx_ingress_controller_requests{controller_pod=~\"$controller\",controller_class=~\"$controller_class\",controller_namespace=~\"$namespace\",ingress=~\"$ingress\"}[2m])) by (ingress), 0.001)", | |
| "format": "time_series", | |
| "hide": false, | |
| "instant": false, | |
| "interval": "", | |
| "intervalFactor": 1, | |
| "legendFormat": "{{ ingress }}", | |
| "metric": "network", | |
| "refId": "A", | |
| "step": 10 | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Ingress Request Volume", | |
| "tooltip": { | |
| "msResolution": false, | |
| "shared": true, | |
| "sort": 2, | |
| "value_type": "cumulative" | |
| }, | |
| "transparent": false, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "reqps", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "Bps", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": false | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "aliasColors": { | |
| "max - istio-proxy": "#890f02", | |
| "max - master": "#bf1b00", | |
| "max - prometheus": "#bf1b00" | |
| }, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_PROMETHEUS}", | |
| "decimals": 2, | |
| "editable": false, | |
| "error": false, | |
| "fill": 0, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 7, | |
| "w": 12, | |
| "x": 12, | |
| "y": 3 | |
| }, | |
| "id": 87, | |
| "isNew": true, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": false, | |
| "hideEmpty": true, | |
| "hideZero": false, | |
| "max": false, | |
| "min": false, | |
| "rightSide": true, | |
| "show": true, | |
| "sideWidth": 300, | |
| "sort": "avg", | |
| "sortDesc": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 2, | |
| "links": [], | |
| "nullPointMode": "connected", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "expr": "sum(rate(nginx_ingress_controller_requests{controller_pod=~\"$controller\",controller_class=~\"$controller_class\",namespace=~\"$namespace\",ingress=~\"$ingress\",status!~\"[4-5].*\"}[2m])) by (ingress) / sum(rate(nginx_ingress_controller_requests{controller_pod=~\"$controller\",controller_class=~\"$controller_class\",namespace=~\"$namespace\",ingress=~\"$ingress\"}[2m])) by (ingress)", | |
| "format": "time_series", | |
| "instant": false, | |
| "interval": "10s", | |
| "intervalFactor": 1, | |
| "legendFormat": "{{ ingress }}", | |
| "metric": "container_memory_usage:sort_desc", | |
| "refId": "A", | |
| "step": 10 | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Ingress Success Rate (non-4|5xx responses)", | |
| "tooltip": { | |
| "msResolution": false, | |
| "shared": true, | |
| "sort": 1, | |
| "value_type": "cumulative" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "percentunit", | |
| "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": "${DS_PROMETHEUS}", | |
| "decimals": 2, | |
| "editable": true, | |
| "error": false, | |
| "fill": 1, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 6, | |
| "w": 8, | |
| "x": 0, | |
| "y": 10 | |
| }, | |
| "height": "200px", | |
| "id": 32, | |
| "isNew": true, | |
| "legend": { | |
| "alignAsTable": false, | |
| "avg": true, | |
| "current": true, | |
| "max": false, | |
| "min": false, | |
| "rightSide": false, | |
| "show": false, | |
| "sideWidth": 200, | |
| "sort": "current", | |
| "sortDesc": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 2, | |
| "links": [], | |
| "nullPointMode": "connected", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "expr": "sum (irate (nginx_ingress_controller_request_size_sum{controller_pod=~\"$controller\",controller_class=~\"$controller_class\",controller_namespace=~\"$namespace\"}[2m]))", | |
| "format": "time_series", | |
| "instant": false, | |
| "interval": "10s", | |
| "intervalFactor": 1, | |
| "legendFormat": "Received", | |
| "metric": "network", | |
| "refId": "A", | |
| "step": 10 | |
| }, | |
| { | |
| "expr": "- sum (irate (nginx_ingress_controller_response_size_sum{controller_pod=~\"$controller\",controller_class=~\"$controller_class\",controller_namespace=~\"$namespace\"}[2m]))", | |
| "format": "time_series", | |
| "hide": false, | |
| "interval": "10s", | |
| "intervalFactor": 1, | |
| "legendFormat": "Sent", | |
| "metric": "network", | |
| "refId": "B", | |
| "step": 10 | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Network I/O pressure", | |
| "tooltip": { | |
| "msResolution": false, | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "cumulative" | |
| }, | |
| "transparent": false, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "Bps", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "Bps", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": false | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "aliasColors": { | |
| "max - istio-proxy": "#890f02", | |
| "max - master": "#bf1b00", | |
| "max - prometheus": "#bf1b00" | |
| }, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_PROMETHEUS}", | |
| "decimals": 2, | |
| "editable": false, | |
| "error": false, | |
| "fill": 0, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 6, | |
| "w": 8, | |
| "x": 8, | |
| "y": 10 | |
| }, | |
| "id": 77, | |
| "isNew": true, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "max": false, | |
| "min": false, | |
| "rightSide": false, | |
| "show": false, | |
| "sideWidth": 200, | |
| "sort": "current", | |
| "sortDesc": true, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 2, | |
| "links": [], | |
| "nullPointMode": "connected", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "expr": "avg(nginx_ingress_controller_nginx_process_resident_memory_bytes{controller_pod=~\"$controller\",controller_class=~\"$controller_class\",controller_namespace=~\"$namespace\"}) ", | |
| "format": "time_series", | |
| "instant": false, | |
| "interval": "10s", | |
| "intervalFactor": 1, | |
| "legendFormat": "nginx", | |
| "metric": "container_memory_usage:sort_desc", | |
| "refId": "A", | |
| "step": 10 | |
| } | |
| ], | |
| "thresholds": [], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Average Memory Usage", | |
| "tooltip": { | |
| "msResolution": false, | |
| "shared": true, | |
| "sort": 2, | |
| "value_type": "cumulative" | |
| }, | |
| "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": false | |
| } | |
| ], | |
| "yaxis": { | |
| "align": false, | |
| "alignLevel": null | |
| } | |
| }, | |
| { | |
| "aliasColors": { | |
| "max - istio-proxy": "#890f02", | |
| "max - master": "#bf1b00" | |
| }, | |
| "bars": false, | |
| "dashLength": 10, | |
| "dashes": false, | |
| "datasource": "${DS_PROMETHEUS}", | |
| "decimals": 3, | |
| "editable": false, | |
| "error": false, | |
| "fill": 0, | |
| "grid": {}, | |
| "gridPos": { | |
| "h": 6, | |
| "w": 8, | |
| "x": 16, | |
| "y": 10 | |
| }, | |
| "height": "", | |
| "id": 79, | |
| "isNew": true, | |
| "legend": { | |
| "alignAsTable": true, | |
| "avg": true, | |
| "current": true, | |
| "max": false, | |
| "min": false, | |
| "rightSide": false, | |
| "show": false, | |
| "sort": null, | |
| "sortDesc": null, | |
| "total": false, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 2, | |
| "links": [], | |
| "nullPointMode": "connected", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "spaceLength": 10, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "expr": "sum (rate (nginx_ingress_controller_nginx_process_cpu_seconds_total{controller_pod=~\"$controller\",controller_class=~\"$controller_class\",controller_namespace=~\"$namespace\"}[2m])) ", | |
| "format": "time_series", | |
| "interval": "10s", | |
| "intervalFactor": 1, | |
| "legendFormat": "nginx", | |
| "metric": "container_cpu", | |
| "refId": "A", | |
| "step": 10 | |
| } | |
| ], | |
| "thresholds": [ | |
| { | |
| "colorMode": "critical", | |
| "fill": true, | |
| "line": true, | |
| "op": "gt" | |
| } | |
| ], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Average CPU Usage", | |
| "tooltip": { | |
| "msResolution": true, | |
| "shared": true, | |
| "sort": 2, | |
| "value_type": "cumulative" | |
| }, | |
| "transparent": false, | |
| "type": "graph", | |
| "xaxis": { | |
| "buckets": null, | |
| "mode": "time", | |
| "name": null, | |
| "show": true, | |
| "values": [] | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "none", | |
| "label": "cores", | |
| "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 | |
| } | |
| }, | |
| { | |
| "columns": [], | |
| "datasource": "${DS_PROMETHEUS}", | |
| "fontSize": "100%", | |
| "gridPos": { | |
| "h": 8, | |
| "w": 24, | |
| "x": 0, | |
| "y": 16 | |
| }, | |
| "hideTimeOverride": false, | |
| "id": 75, | |
| "links": [], | |
| "pageSize": 7, | |
| "repeat": null, | |
| "repeatDirection": "h", | |
| "scroll": true, | |
| "showHeader": true, | |
| "sort": { | |
| "col": 1, | |
| "desc": true | |
| }, | |
| "styles": [ | |
| { | |
| "alias": "Ingress", | |
| "colorMode": null, | |
| "colors": [ | |
| "rgba(245, 54, 54, 0.9)", | |
| "rgba(237, 129, 40, 0.89)", | |
| "rgba(50, 172, 45, 0.97)" | |
| ], | |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", | |
| "decimals": 2, | |
| "pattern": "ingress", | |
| "preserveFormat": false, | |
| "sanitize": false, | |
| "thresholds": [], | |
| "type": "string", | |
| "unit": "short" | |
| }, | |
| { | |
| "alias": "Requests", | |
| "colorMode": null, | |
| "colors": [ | |
| "rgba(245, 54, 54, 0.9)", | |
| "rgba(237, 129, 40, 0.89)", | |
| "rgba(50, 172, 45, 0.97)" | |
| ], | |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", | |
| "decimals": 2, | |
| "pattern": "Value #A", | |
| "thresholds": [ | |
| "" | |
| ], | |
| "type": "number", | |
| "unit": "ops" | |
| }, | |
| { | |
| "alias": "Errors", | |
| "colorMode": null, | |
| "colors": [ | |
| "rgba(245, 54, 54, 0.9)", | |
| "rgba(237, 129, 40, 0.89)", | |
| "rgba(50, 172, 45, 0.97)" | |
| ], | |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", | |
| "decimals": 2, | |
| "pattern": "Value #B", | |
| "thresholds": [], | |
| "type": "number", | |
| "unit": "ops" | |
| }, | |
| { | |
| "alias": "P50 Latency", | |
| "colorMode": null, | |
| "colors": [ | |
| "rgba(245, 54, 54, 0.9)", | |
| "rgba(237, 129, 40, 0.89)", | |
| "rgba(50, 172, 45, 0.97)" | |
| ], | |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", | |
| "decimals": 0, | |
| "link": false, | |
| "pattern": "Value #C", | |
| "thresholds": [], | |
| "type": "number", | |
| "unit": "dtdurations" | |
| }, | |
| { | |
| "alias": "P90 Latency", | |
| "colorMode": null, | |
| "colors": [ | |
| "rgba(245, 54, 54, 0.9)", | |
| "rgba(237, 129, 40, 0.89)", | |
| "rgba(50, 172, 45, 0.97)" | |
| ], | |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", | |
| "decimals": 0, | |
| "pattern": "Value #D", | |
| "thresholds": [], | |
| "type": "number", | |
| "unit": "dtdurations" | |
| }, | |
| { | |
| "alias": "P99 Latency", | |
| "colorMode": null, | |
| "colors": [ | |
| "rgba(245, 54, 54, 0.9)", | |
| "rgba(237, 129, 40, 0.89)", | |
| "rgba(50, 172, 45, 0.97)" | |
| ], | |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", | |
| "decimals": 0, | |
| "pattern": "Value #E", | |
| "thresholds": [], | |
| "type": "number", | |
| "unit": "dtdurations" | |
| }, | |
| { | |
| "alias": "IN", | |
| "colorMode": null, | |
| "colors": [ | |
| "rgba(245, 54, 54, 0.9)", | |
| "rgba(237, 129, 40, 0.89)", | |
| "rgba(50, 172, 45, 0.97)" | |
| ], | |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", | |
| "decimals": 2, | |
| "pattern": "Value #F", | |
| "thresholds": [ | |
| "" | |
| ], | |
| "type": "number", | |
| "unit": "Bps" | |
| }, | |
| { | |
| "alias": "", | |
| "colorMode": null, | |
| "colors": [ | |
| "rgba(245, 54, 54, 0.9)", | |
| "rgba(237, 129, 40, 0.89)", | |
| "rgba(50, 172, 45, 0.97)" | |
| ], | |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", | |
| "decimals": 2, | |
| "pattern": "Time", | |
| "thresholds": [], | |
| "type": "hidden", | |
| "unit": "short" | |
| }, | |
| { | |
| "alias": "OUT", | |
| "colorMode": null, | |
| "colors": [ | |
| "rgba(245, 54, 54, 0.9)", | |
| "rgba(237, 129, 40, 0.89)", | |
| "rgba(50, 172, 45, 0.97)" | |
| ], | |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", | |
| "decimals": 2, | |
| "mappingType": 1, | |
| "pattern": "Value #G", | |
| "thresholds": [], | |
| "type": "number", | |
| "unit": "Bps" | |
| } | |
| ], | |
| "targets": [ | |
| { | |
| "expr": "histogram_quantile(0.50, sum(rate(nginx_ingress_controller_request_duration_seconds_bucket{ingress!=\"\",controller_pod=~\"$controller\",controller_class=~\"$controller_class\",controller_namespace=~\"$namespace\",ingress=~\"$ingress\"}[2m])) by (le, ingress))", | |
| "format": "table", | |
| "hide": false, | |
| "instant": true, | |
| "intervalFactor": 1, | |
| "legendFormat": "{{ ingress }}", | |
| "refId": "C" | |
| }, | |
| { | |
| "expr": "histogram_quantile(0.90, sum(rate(nginx_ingress_controller_request_duration_seconds_bucket{ingress!=\"\",controller_pod=~\"$controller\",controller_class=~\"$controller_class\",controller_namespace=~\"$namespace\",ingress=~\"$ingress\"}[2m])) by (le, ingress))", | |
| "format": "table", | |
| "hide": false, | |
| "instant": true, | |
| "intervalFactor": 1, | |
| "legendFormat": "{{ ingress }}", | |
| "refId": "D" | |
| }, | |
| { | |
| "expr": "histogram_quantile(0.99, sum(rate(nginx_ingress_controller_request_duration_seconds_bucket{ingress!=\"\",controller_pod=~\"$controller\",controller_class=~\"$controller_class\",controller_namespace=~\"$namespace\",ingress=~\"$ingress\"}[2m])) by (le, ingress))", | |
| "format": "table", | |
| "hide": false, | |
| "instant": true, | |
| "intervalFactor": 1, | |
| "legendFormat": "{{ destination_service }}", | |
| "refId": "E" | |
| }, | |
| { | |
| "expr": "sum(irate(nginx_ingress_controller_request_size_sum{ingress!=\"\",controller_pod=~\"$controller\",controller_class=~\"$controller_class\",controller_namespace=~\"$namespace\",ingress=~\"$ingress\"}[2m])) by (ingress)", | |
| "format": "table", | |
| "hide": false, | |
| "instant": true, | |
| "interval": "", | |
| "intervalFactor": 1, | |
| "legendFormat": "{{ ingress }}", | |
| "refId": "F" | |
| }, | |
| { | |
| "expr": "sum(irate(nginx_ingress_controller_response_size_sum{ingress!=\"\",controller_pod=~\"$controller\",controller_class=~\"$controller_class\",controller_namespace=~\"$namespace\",ingress=~\"$ingress\"}[2m])) by (ingress)", | |
| "format": "table", | |
| "instant": true, | |
| "intervalFactor": 1, | |
| "legendFormat": "{{ ingress }}", | |
| "refId": "G" | |
| } | |
| ], | |
| "timeFrom": null, | |
| "title": "Ingress Percentile Response Times and Transfer Rates", | |
| "transform": "table", | |
| "transparent": false, | |
| "type": "table" | |
| }, | |
| { | |
| "columns": [ | |
| { | |
| "text": "Current", | |
| "value": "current" | |
| } | |
| ], | |
| "datasource": "${DS_PROMETHEUS}", | |
| "fontSize": "100%", | |
| "gridPos": { | |
| "h": 8, | |
| "w": 24, | |
| "x": 0, | |
| "y": 24 | |
| }, | |
| "height": "1024", | |
| "id": 85, | |
| "links": [], | |
| "pageSize": 7, | |
| "scroll": true, | |
| "showHeader": true, | |
| "sort": { | |
| "col": 1, | |
| "desc": false | |
| }, | |
| "styles": [ | |
| { | |
| "alias": "Time", | |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", | |
| "pattern": "Time", | |
| "type": "date" | |
| }, | |
| { | |
| "alias": "TTL", | |
| "colorMode": "cell", | |
| "colors": [ | |
| "rgba(245, 54, 54, 0.9)", | |
| "rgba(237, 129, 40, 0.89)", | |
| "rgba(50, 172, 45, 0.97)" | |
| ], | |
| "dateFormat": "YYYY-MM-DD HH:mm:ss", | |
| "decimals": 0, | |
| "pattern": "Current", | |
| "thresholds": [ | |
| "0", | |
| "691200" | |
| ], | |
| "type": "number", | |
| "unit": "s" | |
| }, | |
| { | |
| "alias": "", | |
| "colorMode": null, | |
| "colors": [ | |
| "rgba(245, 54, 54, 0.9)", | |
| "rgba(237, 129, 40, 0.89)", | |
| "rgba(50, 172, 45, 0.97)" | |
| ], | |
| "decimals": 2, | |
| "pattern": "/.*/", | |
| "thresholds": [], | |
| "type": "number", | |
| "unit": "short" | |
| } | |
| ], | |
| "targets": [ | |
| { | |
| "expr": "avg(nginx_ingress_controller_ssl_expire_time_seconds{kubernetes_pod_name=~\"$controller\",namespace=~\"$namespace\",ingress=~\"$ingress\"}) by (host) - time()", | |
| "format": "time_series", | |
| "intervalFactor": 1, | |
| "legendFormat": "{{ host }}", | |
| "metric": "gke_letsencrypt_cert_expiration", | |
| "refId": "A", | |
| "step": 1 | |
| } | |
| ], | |
| "title": "Ingress Certificate Expiry", | |
| "transform": "timeseries_aggregations", | |
| "type": "table" | |
| } | |
| ], | |
| "refresh": "5s", | |
| "schemaVersion": 16, | |
| "style": "dark", | |
| "tags": [ | |
| "nginx" | |
| ], | |
| "templating": { | |
| "list": [ | |
| { | |
| "allValue": ".*", | |
| "current": { | |
| "text": "All", | |
| "value": "$__all" | |
| }, | |
| "datasource": "${DS_PROMETHEUS}", | |
| "hide": 0, | |
| "includeAll": true, | |
| "label": "Namespace", | |
| "multi": false, | |
| "name": "namespace", | |
| "options": [], | |
| "query": "label_values(nginx_ingress_controller_config_hash, controller_namespace)", | |
| "refresh": 1, | |
| "regex": "", | |
| "sort": 0, | |
| "tagValuesQuery": "", | |
| "tags": [], | |
| "tagsQuery": "", | |
| "type": "query", | |
| "useTags": false | |
| }, | |
| { | |
| "allValue": ".*", | |
| "current": { | |
| "text": "All", | |
| "value": "$__all" | |
| }, | |
| "datasource": "${DS_PROMETHEUS}", | |
| "hide": 0, | |
| "includeAll": true, | |
| "label": "Controller Class", | |
| "multi": false, | |
| "name": "controller_class", | |
| "options": [], | |
| "query": "label_values(nginx_ingress_controller_config_hash{namespace=~\"$namespace\"}, controller_class) ", | |
| "refresh": 1, | |
| "regex": "", | |
| "sort": 0, | |
| "tagValuesQuery": "", | |
| "tags": [], | |
| "tagsQuery": "", | |
| "type": "query", | |
| "useTags": false | |
| }, | |
| { | |
| "allValue": ".*", | |
| "current": { | |
| "text": "All", | |
| "value": "$__all" | |
| }, | |
| "datasource": "${DS_PROMETHEUS}", | |
| "hide": 0, | |
| "includeAll": true, | |
| "label": "Controller", | |
| "multi": false, | |
| "name": "controller", | |
| "options": [], | |
| "query": "label_values(nginx_ingress_controller_config_hash{namespace=~\"$namespace\",controller_class=~\"$controller_class\"}, controller_pod) ", | |
| "refresh": 1, | |
| "regex": "", | |
| "sort": 0, | |
| "tagValuesQuery": "", | |
| "tags": [], | |
| "tagsQuery": "", | |
| "type": "query", | |
| "useTags": false | |
| }, | |
| { | |
| "allValue": ".*", | |
| "current": { | |
| "tags": [], | |
| "text": "All", | |
| "value": "$__all" | |
| }, | |
| "datasource": "${DS_PROMETHEUS}", | |
| "hide": 0, | |
| "includeAll": true, | |
| "label": "Ingress", | |
| "multi": false, | |
| "name": "ingress", | |
| "options": [], | |
| "query": "label_values(nginx_ingress_controller_requests{namespace=~\"$namespace\",controller_class=~\"$controller_class\",controller=~\"$controller\"}, ingress) ", | |
| "refresh": 1, | |
| "regex": "", | |
| "sort": 2, | |
| "tagValuesQuery": "", | |
| "tags": [], | |
| "tagsQuery": "", | |
| "type": "query", | |
| "useTags": false | |
| } | |
| ] | |
| }, | |
| "time": { | |
| "from": "now-1h", | |
| "to": "now" | |
| }, | |
| "timepicker": { | |
| "refresh_intervals": [ | |
| "5s", | |
| "10s", | |
| "30s", | |
| "2m", | |
| "5m", | |
| "15m", | |
| "30m", | |
| "1h", | |
| "2h", | |
| "1d" | |
| ], | |
| "time_options": [ | |
| "5m", | |
| "15m", | |
| "1h", | |
| "6h", | |
| "12h", | |
| "24h", | |
| "2d", | |
| "7d", | |
| "30d" | |
| ] | |
| }, | |
| "timezone": "browser", | |
| "title": "NGINX Ingress controller", | |
| "uid": "nginx", | |
| "version": 1 | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment