diff --git a/modules/monitoring-streamx-grafana-dashboards/dashboards/jvmmicrometer.json b/modules/monitoring-streamx-grafana-dashboards/dashboards/jvmmicrometer.tftpl.json similarity index 77% rename from modules/monitoring-streamx-grafana-dashboards/dashboards/jvmmicrometer.json rename to modules/monitoring-streamx-grafana-dashboards/dashboards/jvmmicrometer.tftpl.json index 5e630ae..44ccaf9 100644 --- a/modules/monitoring-streamx-grafana-dashboards/dashboards/jvmmicrometer.json +++ b/modules/monitoring-streamx-grafana-dashboards/dashboards/jvmmicrometer.tftpl.json @@ -1,13 +1,36 @@ { + "__requires": [ + { + "type": "grafana", + "id": "grafana", + "name": "Grafana", + "version": "6.7.0" + }, + { + "type": "panel", + "id": "graph", + "name": "Graph", + "version": "" + }, + { + "type": "datasource", + "id": "prometheus", + "name": "Prometheus", + "version": "1.0.0" + }, + { + "type": "panel", + "id": "singlestat", + "name": "Singlestat", + "version": "" + } + ], "annotations": { "list": [ { "$$hashKey": "object:137", "builtIn": 1, - "datasource": { - "type": "datasource", - "uid": "grafana" - }, + "datasource": "-- Grafana --", "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", @@ -18,10 +41,7 @@ }, { "$$hashKey": "object:138", - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "enable": true, "expr": "resets(process_uptime_seconds{application=\"$application\", instance=\"$instance\"}[1m]) > 0", "iconColor": "rgba(255, 96, 96, 1)", @@ -36,17 +56,15 @@ }, "description": "Dashboard for Micrometer instrumented applications (Java, Spring Boot, Micronaut)", "editable": true, - "fiscalYearStartMonth": 0, "gnetId": 14370, "graphTooltip": 1, + "id": null, + "iteration": 1620923495677, "links": [], "panels": [ { "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "gridPos": { "h": 1, "w": 24, @@ -55,56 +73,30 @@ }, "id": 125, "panels": [], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, - "refId": "A" - } - ], + "repeat": null, "title": "Quick Facts", "type": "row" }, { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 1, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] + "cacheTimeout": null, + "colorBackground": false, + "colorValue": true, + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "datasource": "$${prometheus}", + "decimals": 1, + "editable": true, + "error": false, + "format": "s", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true }, "gridPos": { "h": 3, @@ -112,31 +104,44 @@ "x": 0, "y": 1 }, + "height": "", "id": 63, - "maxDataPoints": 100, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false + "interval": null, + "links": [], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 }, - "showPercentChange": false, - "textMode": "auto", - "wideLayout": true + { + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "70%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": false }, - "pluginVersion": "10.4.1", + "tableColumn": "", "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "process_uptime_seconds{application=\"$application\", instance=\"$instance\"}", "format": "time_series", "intervalFactor": 2, @@ -146,46 +151,39 @@ "step": 14400 } ], + "thresholds": "", "title": "Uptime", - "type": "stat" + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "current" }, { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "dateTimeAsIso" - }, - "overrides": [] + "cacheTimeout": null, + "colorBackground": false, + "colorValue": true, + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "datasource": "$${prometheus}", + "decimals": null, + "editable": true, + "error": false, + "format": "dateTimeAsIso", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true }, "gridPos": { "h": 3, @@ -193,31 +191,44 @@ "x": 6, "y": 1 }, + "height": "", "id": 92, - "maxDataPoints": 100, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false + "interval": null, + "links": [], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 }, - "showPercentChange": false, - "textMode": "auto", - "wideLayout": true + { + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "70%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": false }, - "pluginVersion": "10.4.1", + "tableColumn": "", "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "process_start_time_seconds{application=\"$application\", instance=\"$instance\"}*1000", "format": "time_series", "intervalFactor": 2, @@ -227,51 +238,39 @@ "step": 14400 } ], + "thresholds": "", "title": "Start time", - "type": "stat" + "type": "singlestat", + "valueFontSize": "70%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "current" }, { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 2, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "rgba(50, 172, 45, 0.97)", - "value": null - }, - { - "color": "rgba(237, 129, 40, 0.89)", - "value": 70 - }, - { - "color": "rgba(245, 54, 54, 0.9)", - "value": 90 - } - ] - }, - "unit": "percent" - }, - "overrides": [] + "cacheTimeout": null, + "colorBackground": false, + "colorValue": true, + "colors": [ + "rgba(50, 172, 45, 0.97)", + "rgba(237, 129, 40, 0.89)", + "rgba(245, 54, 54, 0.9)" + ], + "datasource": "$${prometheus}", + "decimals": 2, + "editable": true, + "error": false, + "format": "percent", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true }, "gridPos": { "h": 3, @@ -280,30 +279,42 @@ "y": 1 }, "id": 65, - "maxDataPoints": 100, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false + "interval": null, + "links": [], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 }, - "showPercentChange": false, - "textMode": "auto", - "wideLayout": true + { + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "70%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": false }, - "pluginVersion": "10.4.1", + "tableColumn": "", "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "sum(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\"})*100/sum(jvm_memory_max_bytes{application=\"$application\",instance=\"$instance\", area=\"heap\"})", "format": "time_series", "intervalFactor": 2, @@ -312,61 +323,39 @@ "step": 14400 } ], + "thresholds": "70,90", "title": "Heap used", - "type": "stat" + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "current" }, { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "decimals": 2, - "mappings": [ - { - "options": { - "match": "null", - "result": { - "text": "N/A" - } - }, - "type": "special" - }, - { - "options": { - "from": -1e+32, - "result": { - "text": "N/A" - }, - "to": 0 - }, - "type": "range" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "rgba(50, 172, 45, 0.97)", - "value": null - }, - { - "color": "rgba(237, 129, 40, 0.89)", - "value": 70 - }, - { - "color": "rgba(245, 54, 54, 0.9)", - "value": 90 - } - ] - }, - "unit": "percent" - }, - "overrides": [] + "cacheTimeout": null, + "colorBackground": false, + "colorValue": true, + "colors": [ + "rgba(50, 172, 45, 0.97)", + "rgba(237, 129, 40, 0.89)", + "rgba(245, 54, 54, 0.9)" + ], + "datasource": "$${prometheus}", + "decimals": 2, + "editable": true, + "error": false, + "format": "percent", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true }, "gridPos": { "h": 3, @@ -375,30 +364,47 @@ "y": 1 }, "id": 75, + "interval": null, + "links": [], + "mappingType": 2, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } + ], "maxDataPoints": 100, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false + "nullPointMode": "connected", + "nullText": null, + "postfix": "", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "70%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" }, - "showPercentChange": false, - "textMode": "auto", - "wideLayout": true + { + "from": "-99999999999999999999999999999999", + "text": "N/A", + "to": "0" + } + ], + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": false }, - "pluginVersion": "10.4.1", + "tableColumn": "", "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "sum(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"nonheap\"})*100/sum(jvm_memory_max_bytes{application=\"$application\",instance=\"$instance\", area=\"nonheap\"})", "format": "time_series", "intervalFactor": 2, @@ -407,15 +413,27 @@ "step": 14400 } ], + "thresholds": "70,90", "title": "Non-Heap used", - "type": "stat" + "type": "singlestat", + "valueFontSize": "80%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + }, + { + "op": "=", + "text": "x", + "value": "" + } + ], + "valueName": "current" }, { "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "gridPos": { "h": 1, "w": 24, @@ -424,15 +442,7 @@ }, "id": 126, "panels": [], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, - "refId": "A" - } - ], + "repeat": null, "title": "I/O Overview", "type": "row" }, @@ -441,16 +451,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, + "datasource": "$${prometheus}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -472,12 +473,12 @@ }, "lines": true, "linewidth": 1, + "links": [], "nullPointMode": "null", "options": { - "alertThreshold": true + "dataLinks": [] }, "percentage": false, - "pluginVersion": "10.4.1", "pointradius": 5, "points": false, "renderer": "flot", @@ -487,10 +488,6 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "sum(rate(http_server_requests_seconds_count{application=\"$application\", instance=\"$instance\"}[2m]))", "format": "time_series", "interval": "", @@ -500,36 +497,47 @@ } ], "thresholds": [], + "timeFrom": null, "timeRegions": [], + "timeShift": null, "title": "Rate", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, - "type": "timeseries", + "type": "graph", "xaxis": { + "buckets": null, "mode": "time", + "name": null, "show": true, "values": [] }, "yaxes": [ { "$$hashKey": "object:3248", + "decimals": null, "format": "ops", + "label": null, "logBase": 1, + "max": null, "min": "0", "show": true }, { "$$hashKey": "object:3249", "format": "short", + "label": null, "logBase": 1, + "max": null, + "min": null, "show": true } ], "yaxis": { - "align": false + "align": false, + "alignLevel": null } }, { @@ -537,16 +545,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, + "datasource": "$${prometheus}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -568,12 +567,12 @@ }, "lines": true, "linewidth": 1, + "links": [], "nullPointMode": "null", "options": { - "alertThreshold": true + "dataLinks": [] }, "percentage": false, - "pluginVersion": "10.4.1", "pointradius": 5, "points": false, "renderer": "flot", @@ -583,10 +582,6 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "sum(rate(http_server_requests_seconds_sum{application=\"$application\", instance=\"$instance\", status!~\"5..\"}[2m]))/sum(rate(http_server_requests_seconds_count{application=\"$application\", instance=\"$instance\", status!~\"5..\"}[2m]))", "format": "time_series", "hide": false, @@ -596,10 +591,6 @@ "refId": "A" }, { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "max(http_server_requests_seconds_max{application=\"$application\", instance=\"$instance\", status!~\"5..\"})", "format": "time_series", "hide": false, @@ -610,16 +601,20 @@ } ], "thresholds": [], + "timeFrom": null, "timeRegions": [], + "timeShift": null, "title": "Duration", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, - "type": "timeseries", + "type": "graph", "xaxis": { + "buckets": null, "mode": "time", + "name": null, "show": true, "values": [] }, @@ -627,19 +622,25 @@ { "$$hashKey": "object:1260", "format": "s", + "label": null, "logBase": 1, + "max": null, "min": "0", "show": true }, { "$$hashKey": "object:1261", "format": "short", + "label": null, "logBase": 1, + "max": null, + "min": null, "show": true } ], "yaxis": { - "align": false + "align": false, + "alignLevel": null } }, { @@ -650,16 +651,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, + "datasource": "$${prometheus}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -681,12 +673,12 @@ }, "lines": true, "linewidth": 1, + "links": [], "nullPointMode": "null", "options": { - "alertThreshold": true + "dataLinks": [] }, "percentage": false, - "pluginVersion": "10.4.1", "pointradius": 5, "points": false, "renderer": "flot", @@ -696,10 +688,6 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "sum(rate(http_server_requests_seconds_count{application=\"$application\", instance=\"$instance\", status=~\"5..\"}[5m]))", "format": "time_series", "interval": "", @@ -709,42 +697,50 @@ } ], "thresholds": [], + "timeFrom": null, "timeRegions": [], + "timeShift": null, "title": "Errors", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, - "type": "timeseries", + "type": "graph", "xaxis": { + "buckets": null, "mode": "time", + "name": null, "show": true, "values": [] }, "yaxes": [ { + "decimals": null, "format": "ops", + "label": null, "logBase": 1, + "max": null, "min": "0", "show": true }, { "format": "short", + "label": null, "logBase": 1, + "max": null, + "min": null, "show": true } ], "yaxis": { - "align": false + "align": false, + "alignLevel": null } }, { "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "gridPos": { "h": 1, "w": 24, @@ -753,15 +749,7 @@ }, "id": 127, "panels": [], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, - "refId": "A" - } - ], + "repeat": null, "title": "JVM Memory", "type": "row" }, @@ -770,23 +758,18 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "editable": true, "error": false, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, "fill": 1, "fillGradient": 0, "grid": { "leftLogBase": 1, - "rightLogBase": 1 + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null }, "gridPos": { "h": 7, @@ -807,12 +790,12 @@ }, "lines": true, "linewidth": 1, + "links": [], "nullPointMode": "null", "options": { - "alertThreshold": true + "dataLinks": [] }, "percentage": false, - "pluginVersion": "10.4.1", "pointradius": 5, "points": false, "renderer": "flot", @@ -822,10 +805,6 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "sum(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\"})", "format": "time_series", "intervalFactor": 2, @@ -835,10 +814,6 @@ "step": 2400 }, { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "sum(jvm_memory_committed_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\"})", "format": "time_series", "intervalFactor": 2, @@ -847,10 +822,6 @@ "step": 2400 }, { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "sum(jvm_memory_max_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\"})", "format": "time_series", "intervalFactor": 2, @@ -860,7 +831,9 @@ } ], "thresholds": [], + "timeFrom": null, "timeRegions": [], + "timeShift": null, "title": "JVM Heap", "tooltip": { "msResolution": false, @@ -868,10 +841,12 @@ "sort": 0, "value_type": "cumulative" }, - "type": "timeseries", + "type": "graph", "x-axis": true, "xaxis": { + "buckets": null, "mode": "time", + "name": null, "show": true, "values": [] }, @@ -883,18 +858,24 @@ "yaxes": [ { "format": "bytes", + "label": null, "logBase": 1, + "max": null, "min": 0, "show": true }, { "format": "short", + "label": null, "logBase": 1, + "max": null, + "min": null, "show": true } ], "yaxis": { - "align": false + "align": false, + "alignLevel": null } }, { @@ -902,23 +883,18 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "editable": true, "error": false, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, "fill": 1, "fillGradient": 0, "grid": { "leftLogBase": 1, - "rightLogBase": 1 + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null }, "gridPos": { "h": 7, @@ -939,12 +915,12 @@ }, "lines": true, "linewidth": 1, + "links": [], "nullPointMode": "null", "options": { - "alertThreshold": true + "dataLinks": [] }, "percentage": false, - "pluginVersion": "10.4.1", "pointradius": 5, "points": false, "renderer": "flot", @@ -954,10 +930,6 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "sum(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"nonheap\"})", "format": "time_series", "interval": "", @@ -968,10 +940,6 @@ "step": 2400 }, { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "sum(jvm_memory_committed_bytes{application=\"$application\", instance=\"$instance\", area=\"nonheap\"})", "format": "time_series", "intervalFactor": 2, @@ -980,10 +948,6 @@ "step": 2400 }, { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "sum(jvm_memory_max_bytes{application=\"$application\", instance=\"$instance\", area=\"nonheap\"})", "format": "time_series", "intervalFactor": 2, @@ -993,7 +957,9 @@ } ], "thresholds": [], + "timeFrom": null, "timeRegions": [], + "timeShift": null, "title": "JVM Non-Heap", "tooltip": { "msResolution": false, @@ -1001,10 +967,12 @@ "sort": 0, "value_type": "cumulative" }, - "type": "timeseries", + "type": "graph", "x-axis": true, "xaxis": { + "buckets": null, "mode": "time", + "name": null, "show": true, "values": [] }, @@ -1016,18 +984,24 @@ "yaxes": [ { "format": "bytes", + "label": null, "logBase": 1, + "max": null, "min": 0, "show": true }, { "format": "short", + "label": null, "logBase": 1, + "max": null, + "min": null, "show": true } ], "yaxis": { - "align": false + "align": false, + "alignLevel": null } }, { @@ -1035,23 +1009,18 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "editable": true, "error": false, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, "fill": 1, "fillGradient": 0, "grid": { "leftLogBase": 1, - "rightLogBase": 1 + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null }, "gridPos": { "h": 7, @@ -1073,12 +1042,12 @@ }, "lines": true, "linewidth": 1, + "links": [], "nullPointMode": "null", "options": { - "alertThreshold": true + "dataLinks": [] }, "percentage": false, - "pluginVersion": "10.4.1", "pointradius": 5, "points": false, "renderer": "flot", @@ -1088,10 +1057,6 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "sum(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\"})", "format": "time_series", "intervalFactor": 2, @@ -1101,10 +1066,6 @@ "step": 2400 }, { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "sum(jvm_memory_committed_bytes{application=\"$application\", instance=\"$instance\"})", "format": "time_series", "intervalFactor": 2, @@ -1113,10 +1074,6 @@ "step": 2400 }, { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "sum(jvm_memory_max_bytes{application=\"$application\", instance=\"$instance\"})", "format": "time_series", "intervalFactor": 2, @@ -1126,7 +1083,9 @@ } ], "thresholds": [], + "timeFrom": null, "timeRegions": [], + "timeShift": null, "title": "JVM Total", "tooltip": { "msResolution": false, @@ -1134,10 +1093,12 @@ "sort": 0, "value_type": "cumulative" }, - "type": "timeseries", + "type": "graph", "x-axis": true, "xaxis": { + "buckets": null, "mode": "time", + "name": null, "show": true, "values": [] }, @@ -1151,17 +1112,22 @@ "format": "bytes", "label": "", "logBase": 1, + "max": null, "min": 0, "show": true }, { "format": "short", + "label": null, "logBase": 1, + "max": null, + "min": null, "show": true } ], "yaxis": { - "align": false + "align": false, + "alignLevel": null } }, { @@ -1169,23 +1135,18 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "editable": true, "error": false, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, "fill": 1, "fillGradient": 0, "grid": { "leftLogBase": 1, - "rightLogBase": 1 + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null }, "gridPos": { "h": 7, @@ -1206,12 +1167,12 @@ }, "lines": true, "linewidth": 1, + "links": [], "nullPointMode": "null", "options": { - "alertThreshold": true + "dataLinks": [] }, "percentage": false, - "pluginVersion": "10.4.1", "pointradius": 5, "points": false, "renderer": "flot", @@ -1221,10 +1182,6 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "process_memory_vss_bytes{application=\"$application\", instance=\"$instance\"}", "format": "time_series", "hide": true, @@ -1236,10 +1193,6 @@ "step": 2400 }, { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "process_memory_rss_bytes{application=\"$application\", instance=\"$instance\"}", "format": "time_series", "interval": "", @@ -1248,10 +1201,6 @@ "refId": "B" }, { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "process_memory_swap_bytes{application=\"$application\", instance=\"$instance\"}", "format": "time_series", "interval": "", @@ -1260,10 +1209,6 @@ "refId": "C" }, { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "process_memory_rss_bytes{application=\"$application\", instance=\"$instance\"} + process_memory_swap_bytes{application=\"$application\", instance=\"$instance\"}", "format": "time_series", "intervalFactor": 2, @@ -1272,7 +1217,9 @@ } ], "thresholds": [], + "timeFrom": null, "timeRegions": [], + "timeShift": null, "title": "JVM Process Memory", "tooltip": { "msResolution": false, @@ -1280,10 +1227,12 @@ "sort": 0, "value_type": "cumulative" }, - "type": "timeseries", + "type": "graph", "x-axis": true, "xaxis": { + "buckets": null, "mode": "time", + "name": null, "show": true, "values": [] }, @@ -1297,25 +1246,27 @@ "format": "bytes", "label": "", "logBase": 1, + "max": null, "min": "0", "show": true }, { "format": "short", + "label": null, "logBase": 1, + "max": null, + "min": null, "show": true } ], "yaxis": { - "align": false + "align": false, + "alignLevel": null } }, { "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "gridPos": { "h": 1, "w": 24, @@ -1324,15 +1275,7 @@ }, "id": 128, "panels": [], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, - "refId": "A" - } - ], + "repeat": null, "title": "JVM Misc", "type": "row" }, @@ -1341,23 +1284,18 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "editable": true, "error": false, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, "fill": 1, "fillGradient": 0, "grid": { "leftLogBase": 1, - "rightLogBase": 1 + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null }, "gridPos": { "h": 7, @@ -1378,12 +1316,12 @@ }, "lines": true, "linewidth": 1, + "links": [], "nullPointMode": "null", "options": { - "alertThreshold": true + "dataLinks": [] }, "percentage": false, - "pluginVersion": "10.4.1", "pointradius": 5, "points": false, "renderer": "flot", @@ -1393,10 +1331,6 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "system_cpu_usage{application=\"$application\", instance=\"$instance\"}", "format": "time_series", "hide": false, @@ -1407,10 +1341,6 @@ "step": 2400 }, { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "process_cpu_usage{application=\"$application\", instance=\"$instance\"}", "format": "time_series", "hide": false, @@ -1419,10 +1349,6 @@ "refId": "B" }, { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "avg_over_time(process_cpu_usage{application=\"$application\", instance=\"$instance\"}[1h])", "format": "time_series", "hide": false, @@ -1432,7 +1358,9 @@ } ], "thresholds": [], + "timeFrom": null, "timeRegions": [], + "timeShift": null, "title": "CPU Usage", "tooltip": { "msResolution": false, @@ -1440,10 +1368,12 @@ "sort": 0, "value_type": "cumulative" }, - "type": "timeseries", + "type": "graph", "x-axis": true, "xaxis": { + "buckets": null, "mode": "time", + "name": null, "show": true, "values": [] }, @@ -1464,12 +1394,16 @@ }, { "format": "short", + "label": null, "logBase": 1, + "max": null, + "min": null, "show": true } ], "yaxis": { - "align": false + "align": false, + "alignLevel": null } }, { @@ -1477,23 +1411,18 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "editable": true, "error": false, - "fieldConfig": { - "defaults": { - "links": [] - }, - "overrides": [] - }, "fill": 1, "fillGradient": 0, "grid": { "leftLogBase": 1, - "rightLogBase": 1 + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null }, "gridPos": { "h": 7, @@ -1514,12 +1443,12 @@ }, "lines": true, "linewidth": 1, + "links": [], "nullPointMode": "null", "options": { - "alertThreshold": true + "dataLinks": [] }, "percentage": false, - "pluginVersion": "10.4.1", "pointradius": 5, "points": false, "renderer": "flot", @@ -1529,10 +1458,6 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "system_load_average_1m{application=\"$application\", instance=\"$instance\"}", "format": "time_series", "intervalFactor": 2, @@ -1542,10 +1467,6 @@ "step": 2400 }, { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "system_cpu_count{application=\"$application\", instance=\"$instance\"}", "format": "time_series", "intervalFactor": 2, @@ -1554,7 +1475,9 @@ } ], "thresholds": [], + "timeFrom": null, "timeRegions": [], + "timeShift": null, "title": "Load", "tooltip": { "msResolution": false, @@ -1562,10 +1485,12 @@ "sort": 0, "value_type": "cumulative" }, - "type": "timeseries", + "type": "graph", "x-axis": true, "xaxis": { + "buckets": null, "mode": "time", + "name": null, "show": true, "values": [] }, @@ -1580,17 +1505,22 @@ "format": "short", "label": "", "logBase": 1, + "max": null, "min": 0, "show": true }, { "format": "short", + "label": null, "logBase": 1, + "max": null, + "min": null, "show": true } ], "yaxis": { - "align": false + "align": false, + "alignLevel": null } }, { @@ -1605,10 +1535,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -1632,6 +1559,7 @@ }, "lines": true, "linewidth": 1, + "links": [], "nullPointMode": "null", "options": { "dataLinks": [] @@ -1646,10 +1574,6 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "jvm_threads_states_threads{application=\"$application\", instance=\"$instance\"}", "format": "time_series", "interval": "", @@ -1659,33 +1583,44 @@ } ], "thresholds": [], + "timeFrom": null, "timeRegions": [], + "timeShift": null, "title": "Thread States", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, - "type": "timeseries", + "type": "graph", "xaxis": { + "buckets": null, "mode": "time", + "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", + "label": null, "logBase": 1, + "max": null, + "min": null, "show": true }, { "format": "short", + "label": null, "logBase": 1, + "max": null, + "min": null, "show": true } ], "yaxis": { - "align": false + "align": false, + "alignLevel": null } }, { @@ -1693,17 +1628,18 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "editable": true, "error": false, "fill": 1, "fillGradient": 0, "grid": { "leftLogBase": 1, - "rightLogBase": 1 + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null }, "gridPos": { "h": 7, @@ -1724,6 +1660,7 @@ }, "lines": true, "linewidth": 1, + "links": [], "nullPointMode": "null", "options": { "dataLinks": [] @@ -1738,10 +1675,6 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "jvm_threads_live_threads{application=\"$application\", instance=\"$instance\"}", "format": "time_series", "intervalFactor": 2, @@ -1751,10 +1684,6 @@ "step": 2400 }, { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "jvm_threads_daemon_threads{application=\"$application\", instance=\"$instance\"}", "format": "time_series", "intervalFactor": 2, @@ -1764,10 +1693,6 @@ "step": 2400 }, { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "jvm_threads_peak_threads{application=\"$application\", instance=\"$instance\"}", "format": "time_series", "intervalFactor": 2, @@ -1776,10 +1701,6 @@ "step": 2400 }, { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "process_threads{application=\"$application\", instance=\"$instance\"}", "format": "time_series", "interval": "", @@ -1790,7 +1711,9 @@ } ], "thresholds": [], + "timeFrom": null, "timeRegions": [], + "timeShift": null, "title": "Threads", "tooltip": { "msResolution": false, @@ -1798,10 +1721,12 @@ "sort": 0, "value_type": "cumulative" }, - "type": "timeseries", + "type": "graph", "x-axis": true, "xaxis": { + "buckets": null, "mode": "time", + "name": null, "show": true, "values": [] }, @@ -1814,18 +1739,24 @@ { "decimals": 0, "format": "short", + "label": null, "logBase": 1, + "max": null, "min": 0, "show": true }, { "format": "short", + "label": null, "logBase": 1, + "max": null, + "min": null, "show": true } ], "yaxis": { - "align": false + "align": false, + "alignLevel": null } }, { @@ -1833,17 +1764,18 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "editable": true, "error": false, "fill": 1, "fillGradient": 0, "grid": { "leftLogBase": 1, - "rightLogBase": 1 + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null }, "gridPos": { "h": 7, @@ -1864,6 +1796,7 @@ }, "lines": true, "linewidth": 1, + "links": [], "nullPointMode": "null", "options": { "dataLinks": [] @@ -1878,10 +1811,6 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "process_files_open_files{application=\"$application\", instance=\"$instance\"}", "format": "time_series", "hide": false, @@ -1892,10 +1821,6 @@ "step": 2400 }, { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "process_files_max_files{application=\"$application\", instance=\"$instance\"}", "format": "time_series", "hide": false, @@ -1907,7 +1832,9 @@ } ], "thresholds": [], + "timeFrom": null, "timeRegions": [], + "timeShift": null, "title": "File Descriptors", "tooltip": { "msResolution": false, @@ -1915,10 +1842,12 @@ "sort": 0, "value_type": "cumulative" }, - "type": "timeseries", + "type": "graph", "x-axis": true, "xaxis": { + "buckets": null, "mode": "time", + "name": null, "show": true, "values": [] }, @@ -1931,26 +1860,29 @@ { "decimals": 0, "format": "short", + "label": null, "logBase": 10, + "max": null, "min": 0, "show": true }, { "format": "short", + "label": null, "logBase": 1, + "max": null, + "min": null, "show": true } ], "yaxis": { - "align": false + "align": false, + "alignLevel": null } }, { "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "gridPos": { "h": 1, "w": 24, @@ -1960,15 +1892,6 @@ "id": 129, "panels": [], "repeat": "persistence_counts", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, - "refId": "A" - } - ], "title": "JVM Memory Pools (Heap)", "type": "row" }, @@ -1977,17 +1900,18 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "editable": true, "error": false, "fill": 1, "fillGradient": 0, "grid": { "leftLogBase": 1, - "rightLogBase": 1 + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null }, "gridPos": { "h": 7, @@ -2010,6 +1934,7 @@ }, "lines": true, "linewidth": 1, + "links": [], "maxPerRow": 3, "nullPointMode": "null", "options": { @@ -2026,10 +1951,6 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_heap\"}", "format": "time_series", "hide": false, @@ -2041,10 +1962,6 @@ "step": 1800 }, { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "jvm_memory_committed_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_heap\"}", "format": "time_series", "hide": false, @@ -2056,10 +1973,6 @@ "step": 1800 }, { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "jvm_memory_max_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_heap\"}", "format": "time_series", "hide": false, @@ -2072,7 +1985,9 @@ } ], "thresholds": [], + "timeFrom": null, "timeRegions": [], + "timeShift": null, "title": "$jvm_memory_pool_heap", "tooltip": { "msResolution": false, @@ -2080,10 +1995,12 @@ "sort": 0, "value_type": "cumulative" }, - "type": "timeseries", + "type": "graph", "x-axis": true, "xaxis": { + "buckets": null, "mode": "time", + "name": null, "show": true, "values": [] }, @@ -2095,26 +2012,29 @@ "yaxes": [ { "format": "bytes", + "label": null, "logBase": 1, + "max": null, "min": 0, "show": true }, { "format": "short", + "label": null, "logBase": 1, + "max": null, + "min": null, "show": true } ], "yaxis": { - "align": false + "align": false, + "alignLevel": null } }, { "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "gridPos": { "h": 1, "w": 24, @@ -2123,15 +2043,7 @@ }, "id": 130, "panels": [], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, - "refId": "A" - } - ], + "repeat": null, "title": "JVM Memory Pools (Non-Heap)", "type": "row" }, @@ -2140,17 +2052,18 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "editable": true, "error": false, "fill": 1, "fillGradient": 0, "grid": { "leftLogBase": 1, - "rightLogBase": 1 + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null }, "gridPos": { "h": 7, @@ -2173,6 +2086,7 @@ }, "lines": true, "linewidth": 1, + "links": [], "maxPerRow": 3, "nullPointMode": "null", "options": { @@ -2189,10 +2103,6 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_nonheap\"}", "format": "time_series", "hide": false, @@ -2204,10 +2114,6 @@ "step": 1800 }, { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "jvm_memory_committed_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_nonheap\"}", "format": "time_series", "hide": false, @@ -2219,10 +2125,6 @@ "step": 1800 }, { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "jvm_memory_max_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_nonheap\"}", "format": "time_series", "hide": false, @@ -2235,7 +2137,9 @@ } ], "thresholds": [], + "timeFrom": null, "timeRegions": [], + "timeShift": null, "title": "$jvm_memory_pool_nonheap", "tooltip": { "msResolution": false, @@ -2243,10 +2147,12 @@ "sort": 0, "value_type": "cumulative" }, - "type": "timeseries", + "type": "graph", "x-axis": true, "xaxis": { + "buckets": null, "mode": "time", + "name": null, "show": true, "values": [] }, @@ -2258,26 +2164,29 @@ "yaxes": [ { "format": "bytes", + "label": null, "logBase": 1, + "max": null, "min": 0, "show": true }, { "format": "short", + "label": null, "logBase": 1, + "max": null, + "min": null, "show": true } ], "yaxis": { - "align": false + "align": false, + "alignLevel": null } }, { "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "gridPos": { "h": 1, "w": 24, @@ -2286,15 +2195,7 @@ }, "id": 131, "panels": [], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, - "refId": "A" - } - ], + "repeat": null, "title": "Garbage Collection", "type": "row" }, @@ -2303,10 +2204,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -2328,6 +2226,7 @@ }, "lines": true, "linewidth": 1, + "links": [], "nullPointMode": "null", "options": { "dataLinks": [] @@ -2342,10 +2241,6 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "rate(jvm_gc_pause_seconds_count{application=\"$application\", instance=\"$instance\"}[2m])", "format": "time_series", "hide": false, @@ -2356,23 +2251,29 @@ } ], "thresholds": [], + "timeFrom": null, "timeRegions": [], + "timeShift": null, "title": "Collections", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, - "type": "timeseries", + "type": "graph", "xaxis": { + "buckets": null, "mode": "time", + "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "ops", + "label": null, "logBase": 1, + "max": null, "min": "0", "show": true }, @@ -2380,11 +2281,14 @@ "format": "short", "label": "", "logBase": 1, + "max": null, + "min": null, "show": true } ], "yaxis": { - "align": false + "align": false, + "alignLevel": null } }, { @@ -2392,10 +2296,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -2417,6 +2318,7 @@ }, "lines": true, "linewidth": 1, + "links": [], "nullPointMode": "null", "options": { "dataLinks": [] @@ -2431,10 +2333,6 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "rate(jvm_gc_pause_seconds_sum{application=\"$application\", instance=\"$instance\"}[1m])/rate(jvm_gc_pause_seconds_count{application=\"$application\", instance=\"$instance\"}[1m])", "format": "time_series", "hide": false, @@ -2444,10 +2342,6 @@ "refId": "A" }, { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "jvm_gc_pause_seconds_max{application=\"$application\", instance=\"$instance\"}", "format": "time_series", "hide": false, @@ -2458,23 +2352,29 @@ } ], "thresholds": [], + "timeFrom": null, "timeRegions": [], + "timeShift": null, "title": "Pause Durations", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, - "type": "timeseries", + "type": "graph", "xaxis": { + "buckets": null, "mode": "time", + "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "s", + "label": null, "logBase": 1, + "max": null, "min": "0", "show": true }, @@ -2482,11 +2382,14 @@ "format": "short", "label": "", "logBase": 1, + "max": null, + "min": null, "show": true } ], "yaxis": { - "align": false + "align": false, + "alignLevel": null } }, { @@ -2494,10 +2397,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -2519,6 +2419,7 @@ }, "lines": true, "linewidth": 1, + "links": [], "nullPointMode": "null", "options": { "dataLinks": [] @@ -2533,10 +2434,6 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "rate(jvm_gc_memory_allocated_bytes_total{application=\"$application\", instance=\"$instance\"}[2m])", "format": "time_series", "interval": "", @@ -2545,10 +2442,6 @@ "refId": "A" }, { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "rate(jvm_gc_memory_promoted_bytes_total{application=\"$application\", instance=\"$instance\"}[2m])", "format": "time_series", "interval": "", @@ -2558,42 +2451,49 @@ } ], "thresholds": [], + "timeFrom": null, "timeRegions": [], + "timeShift": null, "title": "Allocated/Promoted", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, - "type": "timeseries", + "type": "graph", "xaxis": { + "buckets": null, "mode": "time", + "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "Bps", + "label": null, "logBase": 1, + "max": null, "min": "0", "show": true }, { "format": "short", + "label": null, "logBase": 1, + "max": null, + "min": null, "show": true } ], "yaxis": { - "align": false + "align": false, + "alignLevel": null } }, { "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "gridPos": { "h": 1, "w": 24, @@ -2602,15 +2502,7 @@ }, "id": 132, "panels": [], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, - "refId": "A" - } - ], + "repeat": null, "title": "Classloading", "type": "row" }, @@ -2619,17 +2511,18 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "editable": true, "error": false, "fill": 1, "fillGradient": 0, "grid": { "leftLogBase": 1, - "rightLogBase": 1 + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null }, "gridPos": { "h": 7, @@ -2650,6 +2543,7 @@ }, "lines": true, "linewidth": 1, + "links": [], "nullPointMode": "null", "options": { "dataLinks": [] @@ -2664,10 +2558,6 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "jvm_classes_loaded_classes{application=\"$application\", instance=\"$instance\"}", "format": "time_series", "intervalFactor": 2, @@ -2678,7 +2568,9 @@ } ], "thresholds": [], + "timeFrom": null, "timeRegions": [], + "timeShift": null, "title": "Classes loaded", "tooltip": { "msResolution": false, @@ -2686,10 +2578,12 @@ "sort": 0, "value_type": "cumulative" }, - "type": "timeseries", + "type": "graph", "x-axis": true, "xaxis": { + "buckets": null, "mode": "time", + "name": null, "show": true, "values": [] }, @@ -2701,18 +2595,24 @@ "yaxes": [ { "format": "short", + "label": null, "logBase": 1, + "max": null, "min": 0, "show": true }, { "format": "short", + "label": null, "logBase": 1, + "max": null, + "min": null, "show": true } ], "yaxis": { - "align": false + "align": false, + "alignLevel": null } }, { @@ -2720,17 +2620,18 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "editable": true, "error": false, "fill": 1, "fillGradient": 0, "grid": { "leftLogBase": 1, - "rightLogBase": 1 + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null }, "gridPos": { "h": 7, @@ -2751,6 +2652,7 @@ }, "lines": true, "linewidth": 1, + "links": [], "nullPointMode": "null", "options": { "dataLinks": [] @@ -2765,10 +2667,6 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "delta(jvm_classes_loaded_classes{application=\"$application\",instance=\"$instance\"}[2m])", "format": "time_series", "hide": false, @@ -2781,7 +2679,9 @@ } ], "thresholds": [], + "timeFrom": null, "timeRegions": [], + "timeShift": null, "title": "Class delta", "tooltip": { "msResolution": false, @@ -2789,10 +2689,12 @@ "sort": 0, "value_type": "cumulative" }, - "type": "timeseries", + "type": "graph", "x-axis": true, "xaxis": { + "buckets": null, "mode": "time", + "name": null, "show": true, "values": [] }, @@ -2803,27 +2705,31 @@ ], "yaxes": [ { + "decimals": null, "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 + "align": false, + "alignLevel": null } }, { "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "gridPos": { "h": 1, "w": 24, @@ -2832,15 +2738,7 @@ }, "id": 133, "panels": [], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, - "refId": "A" - } - ], + "repeat": null, "title": "Buffer Pools", "type": "row" }, @@ -2849,17 +2747,18 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "editable": true, "error": false, "fill": 1, "fillGradient": 0, "grid": { "leftLogBase": 1, - "rightLogBase": 1 + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null }, "gridPos": { "h": 7, @@ -2880,6 +2779,7 @@ }, "lines": true, "linewidth": 1, + "links": [], "nullPointMode": "null", "options": { "dataLinks": [] @@ -2894,10 +2794,6 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "jvm_buffer_memory_used_bytes{application=\"$application\", instance=\"$instance\", id=\"direct\"}", "format": "time_series", "intervalFactor": 2, @@ -2907,10 +2803,6 @@ "step": 2400 }, { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "jvm_buffer_total_capacity_bytes{application=\"$application\", instance=\"$instance\", id=\"direct\"}", "format": "time_series", "intervalFactor": 2, @@ -2921,7 +2813,9 @@ } ], "thresholds": [], + "timeFrom": null, "timeRegions": [], + "timeShift": null, "title": "Direct Buffers", "tooltip": { "msResolution": false, @@ -2929,10 +2823,12 @@ "sort": 0, "value_type": "cumulative" }, - "type": "timeseries", + "type": "graph", "x-axis": true, "xaxis": { + "buckets": null, "mode": "time", + "name": null, "show": true, "values": [] }, @@ -2944,18 +2840,24 @@ "yaxes": [ { "format": "bytes", + "label": null, "logBase": 1, + "max": null, "min": 0, "show": true }, { "format": "short", + "label": null, "logBase": 1, + "max": null, + "min": null, "show": true } ], "yaxis": { - "align": false + "align": false, + "alignLevel": null } }, { @@ -2963,17 +2865,18 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "editable": true, "error": false, "fill": 1, "fillGradient": 0, "grid": { "leftLogBase": 1, - "rightLogBase": 1 + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null }, "gridPos": { "h": 7, @@ -2994,6 +2897,7 @@ }, "lines": true, "linewidth": 1, + "links": [], "nullPointMode": "null", "options": { "dataLinks": [] @@ -3008,10 +2912,6 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "jvm_buffer_count_buffers{application=\"$application\", instance=\"$instance\", id=\"direct\"}", "format": "time_series", "intervalFactor": 2, @@ -3022,7 +2922,9 @@ } ], "thresholds": [], + "timeFrom": null, "timeRegions": [], + "timeShift": null, "title": "Direct Buffers", "tooltip": { "msResolution": false, @@ -3030,10 +2932,12 @@ "sort": 0, "value_type": "cumulative" }, - "type": "timeseries", + "type": "graph", "x-axis": true, "xaxis": { + "buckets": null, "mode": "time", + "name": null, "show": true, "values": [] }, @@ -3046,18 +2950,24 @@ { "decimals": 0, "format": "short", + "label": null, "logBase": 1, + "max": null, "min": 0, "show": true }, { "format": "short", + "label": null, "logBase": 1, + "max": null, + "min": null, "show": true } ], "yaxis": { - "align": false + "align": false, + "alignLevel": null } }, { @@ -3065,17 +2975,18 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "editable": true, "error": false, "fill": 1, "fillGradient": 0, "grid": { "leftLogBase": 1, - "rightLogBase": 1 + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null }, "gridPos": { "h": 7, @@ -3096,6 +3007,7 @@ }, "lines": true, "linewidth": 1, + "links": [], "nullPointMode": "null", "options": { "dataLinks": [] @@ -3110,10 +3022,6 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "jvm_buffer_memory_used_bytes{application=\"$application\", instance=\"$instance\", id=\"mapped\"}", "format": "time_series", "intervalFactor": 2, @@ -3123,10 +3031,6 @@ "step": 2400 }, { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "jvm_buffer_total_capacity_bytes{application=\"$application\", instance=\"$instance\", id=\"mapped\"}", "format": "time_series", "intervalFactor": 2, @@ -3137,7 +3041,9 @@ } ], "thresholds": [], + "timeFrom": null, "timeRegions": [], + "timeShift": null, "title": "Mapped Buffers", "tooltip": { "msResolution": false, @@ -3145,10 +3051,12 @@ "sort": 0, "value_type": "cumulative" }, - "type": "timeseries", + "type": "graph", "x-axis": true, "xaxis": { + "buckets": null, "mode": "time", + "name": null, "show": true, "values": [] }, @@ -3160,18 +3068,24 @@ "yaxes": [ { "format": "bytes", + "label": null, "logBase": 1, + "max": null, "min": 0, "show": true }, { "format": "short", + "label": null, "logBase": 1, + "max": null, + "min": null, "show": true } ], "yaxis": { - "align": false + "align": false, + "alignLevel": null } }, { @@ -3179,17 +3093,18 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "editable": true, "error": false, "fill": 1, "fillGradient": 0, "grid": { "leftLogBase": 1, - "rightLogBase": 1 + "leftMax": null, + "leftMin": null, + "rightLogBase": 1, + "rightMax": null, + "rightMin": null }, "gridPos": { "h": 7, @@ -3210,6 +3125,7 @@ }, "lines": true, "linewidth": 1, + "links": [], "nullPointMode": "null", "options": { "dataLinks": [] @@ -3224,10 +3140,6 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "jvm_buffer_count_buffers{application=\"$application\", instance=\"$instance\", id=\"mapped\"}", "format": "time_series", "intervalFactor": 2, @@ -3238,7 +3150,9 @@ } ], "thresholds": [], + "timeFrom": null, "timeRegions": [], + "timeShift": null, "title": "Mapped Buffers", "tooltip": { "msResolution": false, @@ -3246,10 +3160,12 @@ "sort": 0, "value_type": "cumulative" }, - "type": "timeseries", + "type": "graph", "x-axis": true, "xaxis": { + "buckets": null, "mode": "time", + "name": null, "show": true, "values": [] }, @@ -3262,26 +3178,29 @@ { "decimals": 0, "format": "short", + "label": null, "logBase": 1, + "max": null, "min": 0, "show": true }, { "format": "short", + "label": null, "logBase": 1, + "max": null, + "min": null, "show": true } ], "yaxis": { - "align": false + "align": false, + "alignLevel": null } }, { "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "gridPos": { "h": 1, "w": 24, @@ -3290,15 +3209,7 @@ }, "id": 163, "panels": [], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, - "refId": "A" - } - ], + "repeat": null, "title": "HTTP Edpoints", "type": "row" }, @@ -3307,10 +3218,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -3346,10 +3254,6 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "rate(http_server_requests_seconds_count{application=\"$application\", instance=\"$instance\"}[2m])", "interval": "", "legendFormat": "{{method}} - {{uri}} - {{status}}", @@ -3357,16 +3261,20 @@ } ], "thresholds": [], + "timeFrom": null, "timeRegions": [], + "timeShift": null, "title": "Total number of requests", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, - "type": "timeseries", + "type": "graph", "xaxis": { + "buckets": null, "mode": "time", + "name": null, "show": true, "values": [] }, @@ -3374,18 +3282,25 @@ { "$$hashKey": "object:2112", "format": "ops", + "label": null, "logBase": 1, + "max": null, + "min": null, "show": true }, { "$$hashKey": "object:2113", "format": "short", + "label": null, "logBase": 1, + "max": null, + "min": null, "show": true } ], "yaxis": { - "align": false + "align": false, + "alignLevel": null } }, { @@ -3393,10 +3308,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -3432,10 +3344,6 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "rate(http_server_requests_seconds_sum{application=\"$application\", instance=\"$instance\"}[4m]) / rate(http_server_requests_seconds_count{application=\"$application\", instance=\"$instance\"}[4m])", "interval": "", "legendFormat": "{{method}} - {{uri}} - {{status}}", @@ -3443,16 +3351,20 @@ } ], "thresholds": [], + "timeFrom": null, "timeRegions": [], + "timeShift": null, "title": "Average inbound request duration", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, - "type": "timeseries", + "type": "graph", "xaxis": { + "buckets": null, "mode": "time", + "name": null, "show": true, "values": [] }, @@ -3460,18 +3372,25 @@ { "$$hashKey": "object:1612", "format": "s", + "label": null, "logBase": 1, + "max": null, + "min": null, "show": true }, { "$$hashKey": "object:1613", "format": "short", + "label": null, "logBase": 1, + "max": null, + "min": null, "show": true } ], "yaxis": { - "align": false + "align": false, + "alignLevel": null } }, { @@ -3479,10 +3398,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -3518,10 +3434,6 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "http_server_requests_seconds_max{application=\"$application\", instance=\"$instance\"}", "interval": "", "legendFormat": "{{method}} - {{uri}} - {{status}}", @@ -3529,16 +3441,20 @@ } ], "thresholds": [], + "timeFrom": null, "timeRegions": [], + "timeShift": null, "title": "Maximum inbound request duration", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, - "type": "timeseries", + "type": "graph", "xaxis": { + "buckets": null, "mode": "time", + "name": null, "show": true, "values": [] }, @@ -3546,18 +3462,25 @@ { "$$hashKey": "object:2041", "format": "s", + "label": null, "logBase": 1, + "max": null, + "min": null, "show": true }, { "$$hashKey": "object:2042", "format": "short", + "label": null, "logBase": 1, + "max": null, + "min": null, "show": true } ], "yaxis": { - "align": false + "align": false, + "alignLevel": null } }, { @@ -3565,10 +3488,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -3604,10 +3524,6 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "rate(http_server_requests_seconds_sum{application=\"$application\", instance=\"$instance\"}[2m])", "interval": "", "legendFormat": "{{method}} - {{uri}} - {{status}}", @@ -3615,16 +3531,20 @@ } ], "thresholds": [], + "timeFrom": null, "timeRegions": [], + "timeShift": null, "title": "Sum of the duration of every request", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, - "type": "timeseries", + "type": "graph", "xaxis": { + "buckets": null, "mode": "time", + "name": null, "show": true, "values": [] }, @@ -3632,26 +3552,30 @@ { "$$hashKey": "object:1970", "format": "s", + "label": null, "logBase": 1, + "max": null, + "min": null, "show": true }, { "$$hashKey": "object:1971", "format": "short", + "label": null, "logBase": 1, + "max": null, + "min": null, "show": true } ], "yaxis": { - "align": false + "align": false, + "alignLevel": null } }, { "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "gridPos": { "h": 1, "w": 24, @@ -3660,15 +3584,7 @@ }, "id": 173, "panels": [], - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, - "refId": "A" - } - ], + "repeat": null, "title": "GraphQL requests", "type": "row" }, @@ -3677,10 +3593,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -3716,10 +3629,6 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "rate(mp_graphql_seconds_count{application=\"$application\", instance=\"$instance\"}[2m])", "interval": "", "legendFormat": "{{type}} {{name}}", @@ -3727,16 +3636,20 @@ } ], "thresholds": [], + "timeFrom": null, "timeRegions": [], + "timeShift": null, "title": "Total number of GraphQL requests", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, - "type": "timeseries", + "type": "graph", "xaxis": { + "buckets": null, "mode": "time", + "name": null, "show": true, "values": [] }, @@ -3744,18 +3657,25 @@ { "$$hashKey": "object:3319", "format": "ops", + "label": null, "logBase": 1, + "max": null, + "min": null, "show": true }, { "$$hashKey": "object:3320", "format": "short", + "label": null, "logBase": 1, + "max": null, + "min": null, "show": true } ], "yaxis": { - "align": false + "align": false, + "alignLevel": null } }, { @@ -3763,10 +3683,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -3802,10 +3719,6 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "rate(mp_graphql_seconds_sum{application=\"$application\", instance=\"$instance\"}[4m]) / rate(mp_graphql_seconds_count{application=\"$application\", instance=\"$instance\"}[4m])", "interval": "", "legendFormat": "{{type}} {{name}}", @@ -3813,37 +3726,48 @@ } ], "thresholds": [], + "timeFrom": null, "timeRegions": [], + "timeShift": null, "title": "Average inbound request duration", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, - "type": "timeseries", + "type": "graph", "xaxis": { + "buckets": null, "mode": "time", + "name": null, "show": true, "values": [] }, "yaxes": [ { "$$hashKey": "object:2366", + "decimals": null, "format": "s", + "label": null, "logBase": 1, + "max": null, "min": "0", "show": true }, { "$$hashKey": "object:2367", + "decimals": null, "format": "short", "label": "", "logBase": 1, + "max": null, + "min": null, "show": true } ], "yaxis": { - "align": false + "align": false, + "alignLevel": null } }, { @@ -3851,10 +3775,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -3890,10 +3811,6 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "mp_graphql_seconds_max{application=\"$application\", instance=\"$instance\"}", "interval": "", "legendFormat": "{{type}} {{name}}", @@ -3901,16 +3818,20 @@ } ], "thresholds": [], + "timeFrom": null, "timeRegions": [], + "timeShift": null, "title": "Maximum inbound GraphQL request duration", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, - "type": "timeseries", + "type": "graph", "xaxis": { + "buckets": null, "mode": "time", + "name": null, "show": true, "values": [] }, @@ -3918,18 +3839,25 @@ { "$$hashKey": "object:2521", "format": "s", + "label": null, "logBase": 1, + "max": null, + "min": null, "show": true }, { "$$hashKey": "object:2522", "format": "short", + "label": null, "logBase": 1, + "max": null, + "min": null, "show": true } ], "yaxis": { - "align": false + "align": false, + "alignLevel": null } }, { @@ -3937,10 +3865,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "datasource": "$${prometheus}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -3976,10 +3901,6 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, "expr": "rate(mp_graphql_seconds_sum{application=\"$application\", instance=\"$instance\"}[2m])", "interval": "", "legendFormat": "{{type}} {{name}}", @@ -3987,16 +3908,20 @@ } ], "thresholds": [], + "timeFrom": null, "timeRegions": [], + "timeShift": null, "title": "Sum of the duration of every GraphQL request", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, - "type": "timeseries", + "type": "graph", "xaxis": { + "buckets": null, "mode": "time", + "name": null, "show": true, "values": [] }, @@ -4004,23 +3929,31 @@ { "$$hashKey": "object:2676", "format": "s", + "label": null, "logBase": 1, + "max": null, + "min": null, "show": true }, { "$$hashKey": "object:2677", "format": "short", + "label": null, "logBase": 1, + "max": null, + "min": null, "show": true } ], "yaxis": { - "align": false + "align": false, + "alignLevel": null } } ], "refresh": "10s", - "schemaVersion": 39, + "schemaVersion": 22, + "style": "dark", "tags": [], "templating": { "list": [ @@ -4038,14 +3971,33 @@ "skipUrlSync": false, "type": "datasource" }, + { + "allowCustomValue": false, + "definition": "label_values(cluster)", + "includeAll": true, + "multi": true, + "label": "Cluster", + "name": "cluster", + "hide": ${ hide_cluster_variable }, + "options": [], + "query": { + "qryType": 1, + "query": "label_values(cluster)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" + }, + "refresh": 1, + "regex": "", + "type": "query" + }, { "datasource": { "type": "prometheus", - "uid": "${prometheus}" + "uid": "$${prometheus}" }, "definition": "label_values(up,kubernetes_namespace)", "hide": 0, "includeAll": false, + "index": -1, "label": "Namespace", "multi": false, "name": "namespace", @@ -4064,7 +4016,7 @@ { "datasource": { "type": "prometheus", - "uid": "${prometheus}" + "uid": "$${prometheus}" }, "definition": "label_values(up{kubernetes_namespace=\"$namespace\"},application)", "hide": 0, @@ -4073,55 +4025,51 @@ "multi": false, "name": "application", "options": [], - "query": { - "qryType": 1, - "query": "label_values(up{kubernetes_namespace=\"$namespace\"},application)", - "refId": "PrometheusVariableQueryEditor-VariableQuery" - }, - "refresh": 1, + "query": "label_values(application)", + "refresh": 2, "regex": "", "skipUrlSync": false, "sort": 0, - "type": "query" + "tagValuesQuery": "", + "tags": [], + "tagsQuery": "", + "type": "query", + "useTags": false }, { "allFormat": "glob", - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "allValue": null, + "current": {}, + "datasource": "$${prometheus}", "definition": "", "hide": 0, "includeAll": false, + "index": -1, "label": "Instance", "multi": false, "multiFormat": "glob", "name": "instance", "options": [], - "query": "label_values(jvm_memory_used_bytes{application=\"$application\"}, instance)", + "query": "label_values(jvm_memory_used_bytes{application=\"$application\", cluster=~\"$cluster\", kubernetes_namespace=\"$namespace\"}, instance)", "refresh": 2, "regex": "", "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", + "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allFormat": "glob", - "current": { - "selected": false, - "text": "All", - "value": "$__all" - }, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "allValue": null, + "current": {}, + "datasource": "$${prometheus}", "definition": "", "hide": 0, "includeAll": true, + "index": -1, "label": "JVM Memory Pools Heap", "multi": false, "multiFormat": "glob", @@ -4133,24 +4081,20 @@ "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", + "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "allFormat": "glob", - "current": { - "selected": true, - "text": "All", - "value": "$__all" - }, - "datasource": { - "type": "prometheus", - "uid": "${prometheus}" - }, + "allValue": null, + "current": {}, + "datasource": "$${prometheus}", "definition": "", "hide": 0, "includeAll": true, + "index": -1, "label": "JVM Memory Pools Non-Heap", "multi": false, "multiFormat": "glob", @@ -4162,6 +4106,7 @@ "skipUrlSync": false, "sort": 2, "tagValuesQuery": "", + "tags": [], "tagsQuery": "", "type": "query", "useTags": false @@ -4169,7 +4114,7 @@ ] }, "time": { - "from": "now-5m", + "from": "now-3h", "to": "now" }, "timepicker": { @@ -4201,6 +4146,8 @@ "timezone": "browser", "title": "JVM Quarkus - Micrometer Metrics", "uid": "pmawgrlGk__", - "version": 1, - "weekStart": "" + "variables": { + "list": [] + }, + "version": 6 } \ No newline at end of file diff --git a/modules/monitoring-streamx-grafana-dashboards/dashboards/streamx.json b/modules/monitoring-streamx-grafana-dashboards/dashboards/streamx.tftpl.json similarity index 96% rename from modules/monitoring-streamx-grafana-dashboards/dashboards/streamx.json rename to modules/monitoring-streamx-grafana-dashboards/dashboards/streamx.tftpl.json index 66292c8..21b7e4c 100644 --- a/modules/monitoring-streamx-grafana-dashboards/dashboards/streamx.json +++ b/modules/monitoring-streamx-grafana-dashboards/dashboards/streamx.tftpl.json @@ -18,13 +18,13 @@ "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 38, + "id": 58, "links": [], "panels": [ { "datasource": { "type": "prometheus", - "uid": "${prometheus}" + "uid": "$${prometheus}" }, "gridPos": { "h": 8, @@ -69,7 +69,7 @@ { "datasource": { "type": "prometheus", - "uid": "${prometheus}" + "uid": "$${prometheus}" }, "description": "Displays the total number of unique messages currently stored, counted by unique keys. The count includes all messages, regardless of action type or payload presence.", "fieldConfig": { @@ -119,7 +119,7 @@ { "datasource": { "type": "prometheus", - "uid": "${prometheus}" + "uid": "$${prometheus}" }, "disableTextWrap": false, "editorMode": "builder", @@ -142,7 +142,7 @@ { "datasource": { "type": "prometheus", - "uid": "${prometheus}" + "uid": "$${prometheus}" }, "description": "Displays how the total number of unique messages currently stored increase in time using IDelta function.\n\nThe messages are counted by unique keys. The count includes all messages, regardless of action type or payload presence.", "fieldConfig": { @@ -221,7 +221,7 @@ { "datasource": { "type": "prometheus", - "uid": "${prometheus}" + "uid": "$${prometheus}" }, "disableTextWrap": false, "editorMode": "code", @@ -244,7 +244,7 @@ { "datasource": { "type": "prometheus", - "uid": "${prometheus}" + "uid": "$${prometheus}" }, "description": "Displays the total number of unique messages currently stored, counted by unique keys and having ACTION==PUBLISHED. \n\nThe number decreases when store received message new version with ACTION==UNPUBLISH ", "fieldConfig": { @@ -293,7 +293,7 @@ { "datasource": { "type": "prometheus", - "uid": "${prometheus}" + "uid": "$${prometheus}" }, "disableTextWrap": false, "editorMode": "builder", @@ -316,7 +316,7 @@ { "datasource": { "type": "prometheus", - "uid": "${prometheus}" + "uid": "$${prometheus}" }, "description": "Displays how the number of unique messages currently stored changes over time using idelta function. \n\nMessages are counted by unique keys and having ACTION==PUBLISHED\n\nThe number decreases when store received message new version with ACTION==UNPUBLISH ", "fieldConfig": { @@ -393,7 +393,7 @@ { "datasource": { "type": "prometheus", - "uid": "${prometheus}" + "uid": "$${prometheus}" }, "disableTextWrap": false, "editorMode": "code", @@ -416,7 +416,7 @@ { "datasource": { "type": "prometheus", - "uid": "${prometheus}" + "uid": "$${prometheus}" }, "description": "Displays the total number of unique messages currently stored, counted by unique keys and having payload not null. \n\nThe number decreases when store received message new version with null payload", "fieldConfig": { @@ -464,7 +464,7 @@ { "datasource": { "type": "prometheus", - "uid": "${prometheus}" + "uid": "$${prometheus}" }, "disableTextWrap": false, "editorMode": "code", @@ -487,7 +487,7 @@ { "datasource": { "type": "prometheus", - "uid": "${prometheus}" + "uid": "$${prometheus}" }, "description": "Displays how the number of unique messages currently stored changes over time using idelta function.\n\nMessages are counted by unique keys and having not null payload\n\nThe number decreases when store received message new version with null payload\n", "fieldConfig": { @@ -563,7 +563,7 @@ { "datasource": { "type": "prometheus", - "uid": "${prometheus}" + "uid": "$${prometheus}" }, "disableTextWrap": false, "editorMode": "code", @@ -586,7 +586,7 @@ { "datasource": { "type": "prometheus", - "uid": "${prometheus}" + "uid": "$${prometheus}" }, "description": "Shows the difference of messages number between the same store on application instances.\n\nThe value is: max store size from each instance - min store size from each instance.\n\nPublished Messages is the total number of unique messages currently stored, counted by unique keys and having ACTION==PUBLISHED.", "fieldConfig": { @@ -664,7 +664,7 @@ { "datasource": { "type": "prometheus", - "uid": "${prometheus}" + "uid": "$${prometheus}" }, "disableTextWrap": false, "editorMode": "code", @@ -687,7 +687,7 @@ { "datasource": { "type": "prometheus", - "uid": "${prometheus}" + "uid": "$${prometheus}" }, "description": "Shows the difference of messages number between the same store on application instances.\n\nThe value is: max store size from each instance - min store size from each instance.\n\nMessages having payload is the total number of unique messages currently stored, counted by unique keys and having payload not null.\n\n", "fieldConfig": { @@ -765,7 +765,7 @@ { "datasource": { "type": "prometheus", - "uid": "${prometheus}" + "uid": "$${prometheus}" }, "disableTextWrap": false, "editorMode": "code", @@ -788,7 +788,7 @@ { "datasource": { "type": "prometheus", - "uid": "${prometheus}" + "uid": "$${prometheus}" }, "description": "Shows outdated messages in time using IDelta function.\n\nOutdated messages is when incoming message is older than message already present on the store. \n\nThe age of message is calculated using message timestamp", "fieldConfig": { @@ -867,7 +867,7 @@ { "datasource": { "type": "prometheus", - "uid": "${prometheus}" + "uid": "$${prometheus}" }, "disableTextWrap": false, "editorMode": "builder", @@ -903,7 +903,7 @@ { "datasource": { "type": "prometheus", - "uid": "${prometheus}" + "uid": "$${prometheus}" }, "description": "Difference between requested replicas number and available", "fieldConfig": { @@ -984,7 +984,7 @@ { "datasource": { "type": "prometheus", - "uid": "${prometheus}" + "uid": "$${prometheus}" }, "editorMode": "code", "expr": "kube_deployment_status_replicas{kubernetes_namespace=\"$namespace\"} - kube_deployment_status_replicas_available{kubernetes_namespace=\"$namespace\"}", @@ -1000,7 +1000,7 @@ { "datasource": { "type": "prometheus", - "uid": "${prometheus}" + "uid": "$${prometheus}" }, "description": "Shows available replicas for each application", "fieldConfig": { @@ -1077,7 +1077,7 @@ { "datasource": { "type": "prometheus", - "uid": "${prometheus}" + "uid": "$${prometheus}" }, "editorMode": "code", "expr": "kube_deployment_status_replicas_available{kubernetes_namespace=\"$namespace\"}", @@ -1106,7 +1106,7 @@ { "datasource": { "type": "prometheus", - "uid": "${prometheus}" + "uid": "$${prometheus}" }, "description": "Displays how the number of http requests changes over time using idelta function.\n\n", "fieldConfig": { @@ -1181,7 +1181,7 @@ { "datasource": { "type": "prometheus", - "uid": "${prometheus}" + "uid": "$${prometheus}" }, "disableTextWrap": false, "editorMode": "code", @@ -1201,7 +1201,7 @@ { "datasource": { "type": "prometheus", - "uid": "${prometheus}" + "uid": "$${prometheus}" }, "description": "Displays how the number of acked messages changes over time using idelta function.\n\nBased on quarkus_messaging_message_acks_total metric", "fieldConfig": { @@ -1279,7 +1279,7 @@ { "datasource": { "type": "prometheus", - "uid": "${prometheus}" + "uid": "$${prometheus}" }, "disableTextWrap": false, "editorMode": "code", @@ -1302,7 +1302,7 @@ { "datasource": { "type": "prometheus", - "uid": "${prometheus}" + "uid": "$${prometheus}" }, "description": "Displays how the number of nacked messages changes over time using idelta function.\n\nBased on quarkus_messaging_message_failures_total metric.", "fieldConfig": { @@ -1380,7 +1380,7 @@ { "datasource": { "type": "prometheus", - "uid": "${prometheus}" + "uid": "$${prometheus}" }, "disableTextWrap": false, "editorMode": "code", @@ -1403,7 +1403,7 @@ { "datasource": { "type": "prometheus", - "uid": "${prometheus}" + "uid": "$${prometheus}" }, "description": "Shows max time of processing message in service. \n\nBased on quarkus_messaging_message_duration_seconds_max metric. \n\nThe value is measured from message processing function start until message is Ack or NAck.\n\nThe time of fetching message from broker or storing message in processing waiting queue is not included into this metric.\n\nMax value is calculated using 60s slicing window. It means the value is in the calculation range in >= 120 s. \n\nThe calculation algorithm based on \"ticks\". Prometheus samples metrics. The combination of this approaches can leads to little shift of change the values in grafana dashboard ", "fieldConfig": { @@ -1481,7 +1481,7 @@ { "datasource": { "type": "prometheus", - "uid": "${prometheus}" + "uid": "$${prometheus}" }, "disableTextWrap": false, "editorMode": "code", @@ -1504,7 +1504,7 @@ { "datasource": { "type": "prometheus", - "uid": "${prometheus}" + "uid": "$${prometheus}" }, "description": "Shows average time of processing message.\n\nThe value is calculated dividing sum of all messages processing time by count of all messages processed since instance is up.\n\nBased on quarkus_messaging_message_duration_seconds_sum and quarkus_messaging_message_duration_seconds_count metrics. \n\nThe value is measured from message processing function start until message is Ack or NAck.\n\nThe time of fetching message from broker or storing message in processing waiting queue is not included into this metric.", "fieldConfig": { @@ -1582,7 +1582,7 @@ { "datasource": { "type": "prometheus", - "uid": "${prometheus}" + "uid": "$${prometheus}" }, "disableTextWrap": false, "editorMode": "code", @@ -1603,7 +1603,7 @@ "type": "timeseries" } ], - "refresh": "5s", + "refresh": "30s", "schemaVersion": 39, "tags": [], "templating": { @@ -1622,10 +1622,28 @@ "skipUrlSync": false, "type": "datasource" }, + { + "allowCustomValue": false, + "definition": "label_values(cluster)", + "includeAll": true, + "multi": true, + "label": "Cluster", + "name": "cluster", + "hide": ${ hide_cluster_variable }, + "options": [], + "query": { + "qryType": 1, + "query": "label_values(cluster)", + "refId": "PrometheusVariableQueryEditor-VariableQuery" + }, + "refresh": 1, + "regex": "", + "type": "query" + }, { "datasource": { "type": "prometheus", - "uid": "${prometheus}" + "uid": "$${prometheus}" }, "definition": "label_values(up,kubernetes_namespace)", "hide": 0, @@ -1648,7 +1666,7 @@ { "datasource": { "type": "prometheus", - "uid": "${prometheus}" + "uid": "$${prometheus}" }, "definition": "label_values(up{kubernetes_namespace=\"$namespace\"},application)", "hide": 0, @@ -1671,7 +1689,7 @@ { "datasource": { "type": "prometheus", - "uid": "${prometheus}" + "uid": "$${prometheus}" }, "definition": "label_values(up{application=~\"$application\"},instance)", "hide": 0, @@ -1682,7 +1700,7 @@ "options": [], "query": { "qryType": 1, - "query": "label_values(up{application=~\"$application\"},instance)", + "query": "label_values(up{application=~\"$application\", cluster=~\"$cluster\", kubernetes_namespace=\"$namespace\"},instance)", "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, @@ -1699,7 +1717,7 @@ }, "datasource": { "type": "prometheus", - "uid": "${prometheus}" + "uid": "$${prometheus}" }, "definition": "label_values(quarkus_messaging_message_count_total{application=\"$application\"},channel)", "hide": 0, diff --git a/modules/monitoring-streamx-grafana-dashboards/main.tf b/modules/monitoring-streamx-grafana-dashboards/main.tf index 0935adf..76a7049 100644 --- a/modules/monitoring-streamx-grafana-dashboards/main.tf +++ b/modules/monitoring-streamx-grafana-dashboards/main.tf @@ -34,6 +34,8 @@ resource "kubernetes_config_map_v1" "grafana_dashboard" { } data = { - (each.value) = file("${path.module}/dashboards/${each.value}") + (each.value) = templatefile("${path.module}/dashboards/${each.value}", { + hide_cluster_variable = var.multicluster ? 0 : 2 + }) } } diff --git a/modules/monitoring-streamx-grafana-dashboards/variables.tf b/modules/monitoring-streamx-grafana-dashboards/variables.tf index e6058ca..0de1dc8 100644 --- a/modules/monitoring-streamx-grafana-dashboards/variables.tf +++ b/modules/monitoring-streamx-grafana-dashboards/variables.tf @@ -23,4 +23,10 @@ variable "namespace" { default = "prometheus-stack" description = "The namespace used for the deployment" type = string +} + +variable "multicluster" { + default = false + description = "If false Cluster variable in dashboards is hidden" + type = bool } \ No newline at end of file