diff --git a/docs/workloads/java.md b/docs/workloads/java.md index 545ac6f..9a1c113 100644 --- a/docs/workloads/java.md +++ b/docs/workloads/java.md @@ -108,9 +108,7 @@ Go to the Dashboards panel of your Grafana workspace. There will be a folder cal Open the "Java/JMX" dashboard to view its visualization - -![image](https://user-images.githubusercontent.com/10175027/195903211-c47a5746-daa7-41f2-a6ea-bfe13f630c63.png) - +Grafana Java dashboard 2. Amazon Managed Service for Prometheus rules and alerts diff --git a/examples/existing-cluster-java/README.md b/examples/existing-cluster-java/README.md index 9dcb47e..e507c48 100644 --- a/examples/existing-cluster-java/README.md +++ b/examples/existing-cluster-java/README.md @@ -98,9 +98,7 @@ Go to the Dashboards panel of your Grafana workspace. There will be a folder cal Open the "Java/JMX" dashboard to view its visualization - -![image](https://user-images.githubusercontent.com/10175027/195903211-c47a5746-daa7-41f2-a6ea-bfe13f630c63.png) - +Grafana Java dashboard 2. Amazon Managed Service for Prometheus rules and alerts @@ -108,7 +106,6 @@ Open the Amazon Managed Service for Prometheus console and view the details of y image - To setup your alert receiver, with Amazon SNS, follow [this documentation](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-alertmanager-receiver.html) diff --git a/modules/workloads/java/dashboards/default.json b/modules/workloads/java/dashboards/default.json index 21c635f..b2a6131 100644 --- a/modules/workloads/java/dashboards/default.json +++ b/modules/workloads/java/dashboards/default.json @@ -23,14 +23,28 @@ "fiscalYearStartMonth": 0, "gnetId": 3457, "graphTooltip": 0, - "id": 35, - "iteration": 1648745815197, + "id": 403, + "iteration": 1675938645502, "links": [], "liveNow": false, "panels": [ { - "cacheTimeout": null, - "datasource": "aws-observability-accelerator", + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 22, + "panels": [], + "title": "Headlines", + "type": "row" + }, + { + "datasource": { + "uid": "$datasource" + }, "fieldConfig": { "defaults": { "color": { @@ -70,10 +84,9 @@ "h": 4, "w": 6, "x": 0, - "y": 0 + "y": 1 }, "id": 17, - "interval": null, "links": [], "maxDataPoints": 100, "options": { @@ -89,11 +102,12 @@ "showThresholdMarkers": true, "text": {} }, - "pluginVersion": "8.2.5", + "pluginVersion": "8.4.7", "targets": [ { - "dsType": "influxdb", - "exemplar": true, + "datasource": { + "uid": "$datasource" + }, "expr": "avg_over_time(java_lang_operatingsystem_systemcpuload{job=~\"$job\"}[5m]) * 100", "format": "time_series", "groupBy": [ @@ -135,13 +149,13 @@ "tags": [] } ], - "timeFrom": null, - "title": "CPU System Load(5m avg)", + "title": "CPU System Load (5m avg)", "type": "gauge" }, { - "cacheTimeout": null, - "datasource": "aws-observability-accelerator", + "datasource": { + "uid": "$datasource" + }, "fieldConfig": { "defaults": { "color": { @@ -179,10 +193,9 @@ "h": 4, "w": 6, "x": 6, - "y": 0 + "y": 1 }, "id": 19, - "interval": null, "links": [], "maxDataPoints": 100, "options": { @@ -200,11 +213,12 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "8.2.5", + "pluginVersion": "8.4.7", "targets": [ { - "dsType": "influxdb", - "exemplar": true, + "datasource": { + "uid": "$datasource" + }, "expr": "java_lang_operatingsystem_totalphysicalmemorysize{job=~\"$job\"}", "format": "time_series", "groupBy": [ @@ -250,8 +264,9 @@ "type": "stat" }, { - "cacheTimeout": null, - "datasource": "aws-observability-accelerator", + "datasource": { + "uid": "$datasource" + }, "fieldConfig": { "defaults": { "color": { @@ -289,10 +304,9 @@ "h": 4, "w": 6, "x": 12, - "y": 0 + "y": 1 }, "id": 20, - "interval": null, "links": [], "maxDataPoints": 100, "options": { @@ -310,11 +324,12 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "8.2.5", + "pluginVersion": "8.4.7", "targets": [ { - "dsType": "influxdb", - "exemplar": true, + "datasource": { + "uid": "$datasource" + }, "expr": "java_lang_operatingsystem_totalswapspacesize{job=~\"$job\"}", "format": "time_series", "groupBy": [ @@ -360,8 +375,9 @@ "type": "stat" }, { - "cacheTimeout": null, - "datasource": "aws-observability-accelerator", + "datasource": { + "uid": "$datasource" + }, "fieldConfig": { "defaults": { "color": { @@ -399,10 +415,9 @@ "h": 4, "w": 6, "x": 18, - "y": 0 + "y": 1 }, "id": 18, - "interval": null, "links": [], "maxDataPoints": 100, "options": { @@ -420,11 +435,12 @@ "text": {}, "textMode": "auto" }, - "pluginVersion": "8.2.5", + "pluginVersion": "8.4.7", "targets": [ { - "dsType": "influxdb", - "exemplar": true, + "datasource": { + "uid": "$datasource" + }, "expr": "java_lang_operatingsystem_availableprocessors{job=~\"$job\"}", "format": "time_series", "groupBy": [ @@ -470,49 +486,98 @@ "type": "stat" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "aws-observability-accelerator", - "fill": 1, - "fillGradient": 0, + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 5 + }, + "id": 24, + "panels": [], + "title": "General", + "type": "row" + }, + { + "datasource": { + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 2, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "normal" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" + }, + "overrides": [] + }, "gridPos": { "h": 7, "w": 8, "x": 0, - "y": 4 + "y": 6 }, - "hiddenSeries": false, "id": 8, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, "links": [], - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, - "pluginVersion": "8.2.5", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": true, - "steppedLine": false, + "pluginVersion": "8.4.7", "targets": [ { - "exemplar": true, + "datasource": { + "uid": "$datasource" + }, "expr": "java_lang_operatingsystem_systemcpuload{job=~\"$job\"} * 100", "format": "time_series", "interval": "", @@ -522,8 +587,9 @@ "step": 20 }, { - "dsType": "influxdb", - "exemplar": true, + "datasource": { + "uid": "$datasource" + }, "expr": "java_lang_operatingsystem_processcpuload{job=~\".*jmx\"} * 100", "format": "time_series", "groupBy": [ @@ -565,94 +631,93 @@ "tags": [] } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "CPU Usage", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "percent", - "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 - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "aws-observability-accelerator", - "fill": 1, - "fillGradient": 0, + "datasource": { + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 2, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" + }, + "overrides": [] + }, "gridPos": { "h": 7, "w": 8, "x": 8, - "y": 4 + "y": 6 }, - "hiddenSeries": false, "id": 2, - "legend": { - "alignAsTable": false, - "avg": true, - "current": true, - "max": true, - "min": false, - "rightSide": false, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, "links": [], - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [ + "mean", + "lastNotNull", + "max" + ], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, - "pluginVersion": "8.2.5", - "pointradius": 5, - "points": false, - "renderer": "flot", - "repeat": null, - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "8.4.7", "targets": [ { - "exemplar": true, + "datasource": { + "uid": "$datasource" + }, "expr": "jvm_memory_bytes_used{job=~\".*jmx\"}/ ignoring(area) group_left java_lang_operatingsystem_totalphysicalmemorysize{job=~\".*jmx\"} *100", "format": "time_series", "interval": "", @@ -663,93 +728,89 @@ "step": 50 } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "Memory Heap /NonHeap", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "percent", - "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 - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "aws-observability-accelerator", - "fill": 1, - "fillGradient": 0, + "datasource": { + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 2, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "decbytes" + }, + "overrides": [] + }, "gridPos": { "h": 7, "w": 8, "x": 16, - "y": 4 + "y": 6 }, - "hiddenSeries": false, "id": 10, - "legend": { - "alignAsTable": false, - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, "links": [], - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "right" + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, - "pluginVersion": "8.2.5", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "8.4.7", "targets": [ { - "dsType": "influxdb", - "exemplar": true, + "datasource": { + "uid": "$datasource" + }, "expr": "jvm_memory_pool_bytes_used{job=~\".*jmx\"}", "format": "time_series", "groupBy": [ @@ -791,91 +852,90 @@ "tags": [] } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "Memory Pool Used", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "decbytes", - "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 - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "aws-observability-accelerator", - "fill": 1, - "fillGradient": 0, + "datasource": { + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 2, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 0, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [] + }, "gridPos": { "h": 7, "w": 8, "x": 0, - "y": 11 + "y": 13 }, - "hiddenSeries": false, "id": 3, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, "links": [], - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, - "pluginVersion": "8.2.5", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "8.4.7", "targets": [ { - "exemplar": true, + "datasource": { + "uid": "$datasource" + }, "expr": "jvm_threads_current{job=~\".*jmx\"}", "format": "time_series", "interval": "", @@ -886,7 +946,9 @@ "step": 50 }, { - "exemplar": true, + "datasource": { + "uid": "$datasource" + }, "expr": "jvm_threads_daemon{job=~\".*jmx\"}", "format": "time_series", "interval": "", @@ -897,190 +959,185 @@ "step": 50 } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "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 - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "aws-observability-accelerator", "description": "jvm_classes_loaded", - "fill": 1, - "fillGradient": 0, + "datasource": { + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 2, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 0, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [] + }, "gridPos": { "h": 7, "w": 8, "x": 8, - "y": 11 + "y": 13 }, - "hiddenSeries": false, "id": 4, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, + "interval": "60", "links": [], - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, - "pluginVersion": "8.2.5", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "8.4.7", "targets": [ { - "exemplar": true, - "expr": "jvm_classes_loaded_total{job=~\"$job\"}", + "datasource": { + "uid": "$datasource" + }, + "expr": "rate(jvm_classes_loaded_total{}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 5, - "legendFormat": "loaded", + "legendFormat": "{{container_name}}", "metric": "jvm_classes_loaded", "refId": "A", "step": 50 } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "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 - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "aws-observability-accelerator", - "fill": 1, - "fillGradient": 0, + "datasource": { + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 2, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [] + }, "gridPos": { "h": 7, "w": 8, "x": 16, - "y": 11 + "y": 13 }, - "hiddenSeries": false, "id": 7, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, "links": [], - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, - "pluginVersion": "8.2.5", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "8.4.7", "targets": [ { - "dsType": "influxdb", - "exemplar": true, + "datasource": { + "uid": "$datasource" + }, "expr": "java_lang_operatingsystem_openfiledescriptorcount{job=~\"$job\"}", "format": "time_series", "groupBy": [ @@ -1099,7 +1156,7 @@ ], "interval": "", "intervalFactor": 2, - "legendFormat": "descriptors", + "legendFormat": "{{container_name}}", "orderByTime": "ASC", "policy": "default", "refId": "A", @@ -1122,93 +1179,104 @@ "tags": [] } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "Open File Descriptors", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "aws-observability-accelerator", - "description": "", - "fill": 1, - "fillGradient": 0, + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 20 + }, + "id": 26, + "panels": [], + "title": "Catalina", + "type": "row" + }, + { + "datasource": { + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [] + }, "gridPos": { "h": 7, - "w": 5, + "w": 12, "x": 0, - "y": 18 + "y": 21 }, - "hiddenSeries": false, "id": 9, - "legend": { - "avg": false, - "current": true, - "max": false, - "min": false, - "show": true, - "total": false, - "values": true - }, - "lines": true, - "linewidth": 1, "links": [], - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [ + "lastNotNull" + ], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, - "pluginVersion": "8.2.5", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "8.4.7", "targets": [ { - "dsType": "influxdb", - "exemplar": true, + "datasource": { + "uid": "$datasource" + }, "expr": "catalina_manager_activesessions{job=~\"$job\"}", "format": "time_series", "groupBy": [ @@ -1227,7 +1295,7 @@ ], "interval": "", "intervalFactor": 2, - "legendFormat": "active", + "legendFormat": "{{pod_name}} active", "orderByTime": "ASC", "policy": "default", "refId": "A", @@ -1250,103 +1318,103 @@ "tags": [] }, { - "exemplar": true, + "datasource": { + "uid": "$datasource" + }, "expr": "catalina_manager_rejectedsessions{job=~\"$job\"}", "format": "time_series", "interval": "", "intervalFactor": 2, - "legendFormat": "rejected", + "legendFormat": "{{pod_name}} rejected", "refId": "C", "step": 20 } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "Catalina Manager Sessions", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "aws-observability-accelerator", - "fill": 1, - "fillGradient": 0, + "datasource": { + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 2, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "short" + }, + "overrides": [] + }, "gridPos": { "h": 7, - "w": 6, - "x": 5, - "y": 18 + "w": 12, + "x": 12, + "y": 21 }, - "hiddenSeries": false, "id": 14, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, + "interval": "60", "links": [], - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, - "pluginVersion": "8.2.5", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "8.4.7", "targets": [ { - "dsType": "influxdb", - "exemplar": true, - "expr": "catalina_globalrequestprocessor_requestcount_total{job=~\"$job\"}", + "datasource": { + "uid": "$datasource" + }, + "expr": "rate(catalina_globalrequestprocessor_requestcount_total{job=~\"$job\"}[$__rate_interval])", "format": "time_series", "groupBy": [ { @@ -1364,7 +1432,7 @@ ], "interval": "", "intervalFactor": 2, - "legendFormat": "{{name}} count", + "legendFormat": "{{pod_name}} count", "orderByTime": "ASC", "policy": "default", "refId": "A", @@ -1387,103 +1455,103 @@ "tags": [] }, { - "exemplar": true, - "expr": "catalina_globalrequestprocessor_errorcount_total{job=~\"$job\"}", + "datasource": { + "uid": "$datasource" + }, + "expr": "rate(catalina_globalrequestprocessor_errorcount_total{job=~\"$job\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 2, - "legendFormat": "{{name}} error", + "legendFormat": "{{pod_name}} error", "refId": "B", "step": 20 } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "Catalina Request Processor requests", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "aws-observability-accelerator", - "fill": 1, - "fillGradient": 0, + "datasource": { + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 2, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, "gridPos": { "h": 7, - "w": 6, - "x": 11, - "y": 18 + "w": 12, + "x": 0, + "y": 28 }, - "hiddenSeries": false, "id": 15, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, + "interval": "60", "links": [], - "nullPointMode": "null", "options": { - "alertThreshold": true + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } }, - "percentage": false, - "pluginVersion": "8.2.5", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + "pluginVersion": "8.4.7", "targets": [ { - "dsType": "influxdb", - "exemplar": true, - "expr": "catalina_globalrequestprocessor_processingtime_total{job=~\"$job\"}", + "datasource": { + "uid": "$datasource" + }, + "expr": "rate(catalina_globalrequestprocessor_processingtime_total{job=~\"$job\"}[$__rate_interval])", "format": "time_series", "groupBy": [ { @@ -1501,7 +1569,7 @@ ], "interval": "", "intervalFactor": 2, - "legendFormat": "{{name}}", + "legendFormat": "{{pod_name}}", "orderByTime": "ASC", "policy": "default", "refId": "A", @@ -1524,98 +1592,104 @@ "tags": [] } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "Catalina Request Processing Time", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "ms", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } + "type": "timeseries" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "aws-observability-accelerator", - "fill": 1, - "fillGradient": 0, + "datasource": { + "uid": "$datasource" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 2, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "decbytes" + }, + "overrides": [ + { + "matcher": { + "id": "byRegexp", + "options": "/.*sent/" + }, + "properties": [ + { + "id": "custom.transform", + "value": "negative-Y" + } + ] + } + ] + }, "gridPos": { "h": 7, - "w": 7, - "x": 17, - "y": 18 + "w": 12, + "x": 12, + "y": 28 }, - "hiddenSeries": false, "id": 13, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, + "interval": "60", "links": [], - "nullPointMode": "null", "options": { - "alertThreshold": true - }, - "percentage": false, - "pluginVersion": "8.2.5", - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [ - { - "alias": "/.*sent/", - "transform": "negative-Y" + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "none" } - ], - "spaceLength": 10, - "stack": false, - "steppedLine": false, + }, + "pluginVersion": "8.4.7", "targets": [ { - "dsType": "influxdb", - "exemplar": true, - "expr": "catalina_globalrequestprocessor_bytesreceived_total{job=~\"$job\"}", + "datasource": { + "uid": "$datasource" + }, + "expr": "rate(catalina_globalrequestprocessor_bytesreceived_total{job=~\"$job\"}[$__rate_interval])", "format": "time_series", "groupBy": [ { @@ -1633,7 +1707,7 @@ ], "interval": "", "intervalFactor": 2, - "legendFormat": "{{name}} recv", + "legendFormat": "{{pod_name}} recv", "orderByTime": "ASC", "policy": "default", "refId": "A", @@ -1656,60 +1730,24 @@ "tags": [] }, { - "exemplar": true, - "expr": "catalina_globalrequestprocessor_bytessent_total{job=~\"$job\"}", + "datasource": { + "uid": "$datasource" + }, + "expr": "rate(catalina_globalrequestprocessor_bytessent_total{job=~\"$job\"}[$__rate_interval])", "format": "time_series", "interval": "", "intervalFactor": 2, - "legendFormat": "{{name}} sent", + "legendFormat": "{{pod_name}} sent", "refId": "B", "step": 20 } ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, "title": "Catalina Request Processor bytes", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "decbytes", - "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 - } + "type": "timeseries" } ], "refresh": "30s", - "schemaVersion": 32, + "schemaVersion": 35, "style": "dark", "tags": [ "JVM", @@ -1719,20 +1757,31 @@ "templating": { "list": [ { - "allValue": "", "current": { "selected": true, - "text": [ - "kubernetes-pod-jmx" - ], - "value": [ - "kubernetes-pod-jmx" - ] + "text": "default", + "value": "default" + }, + "hide": 0, + "includeAll": false, + "label": "Data Source", + "multi": false, + "name": "datasource", + "options": [], + "query": "prometheus", + "queryValue": "", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "type": "datasource" + }, + { + "allValue": "", + "datasource": { + "type": "prometheus", + "uid": "$datasource" }, - "datasource": "aws-observability-accelerator", "definition": "label_values(job)", - "description": null, - "error": null, "hide": 0, "includeAll": true, "label": "", @@ -1786,5 +1835,6 @@ "timezone": "", "title": "Java/JMX", "uid": "m9mHfAy7ks", - "version": 12 -} + "version": 4, + "weekStart": "" +} \ No newline at end of file