{ "annotations": { "list": [ { "builtIn": 1, "datasource": "-- Grafana --", "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "limit": 100, "name": "Annotations & Alerts", "showIn": 0, "target": { "limit": 100, "matchAny": false, "tags": [], "type": "dashboard" }, "type": "dashboard" }, { "datasource": "dkSf71fnz", "enable": true, "expr": "resets(process_uptime_seconds{job=\"$job\"}[1m]) > 0", "iconColor": "rgba(255, 96, 96, 1)", "name": "Restart Detection", "showIn": 0, "step": "1m", "tagKeys": "restart-tag", "textFormat": "uptime reset", "titleFormat": "Restart" } ] }, "description": "Dashboard for JVM Basic Metrics", "editable": true, "fiscalYearStartMonth": 0, "gnetId": 4701, "graphTooltip": 1, "id": 4, "iteration": 1645634994099, "links": [], "liveNow": false, "panels": [ { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 0 }, "id": 125, "panels": [], "title": "Quick Facts", "type": "row" }, { "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": [] }, "gridPos": { "h": 3, "w": 3, "x": 0, "y": 1 }, "id": 63, "links": [], "maxDataPoints": 100, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "8.3.4", "targets": [ { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "time()-process_start_time_seconds{job=\"$job\"}", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "", "metric": "", "refId": "A", "step": 14400 } ], "title": "Uptime", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "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": [] }, "gridPos": { "h": 3, "w": 9, "x": 3, "y": 1 }, "id": 92, "links": [], "maxDataPoints": 100, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "8.3.4", "targets": [ { "expr": "process_start_time_seconds{job=\"$job\"}*1000", "format": "time_series", "intervalFactor": 2, "legendFormat": "", "metric": "", "refId": "A", "step": 14400 } ], "title": "Start time", "type": "stat" }, { "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": [] }, "gridPos": { "h": 3, "w": 6, "x": 12, "y": 1 }, "id": 65, "links": [], "maxDataPoints": 100, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "8.3.4", "targets": [ { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "sum(jvm_memory_bytes_used{job=\"$job\", area=\"heap\"})*100/sum(jvm_memory_bytes_max{job=\"$job\", area=\"heap\"})", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "", "refId": "A", "step": 14400 } ], "title": "Heap used", "type": "stat" }, { "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": [] }, "gridPos": { "h": 3, "w": 6, "x": 18, "y": 1 }, "id": 75, "links": [], "maxDataPoints": 100, "options": { "colorMode": "value", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "textMode": "auto" }, "pluginVersion": "8.3.4", "targets": [ { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "sum(jvm_memory_bytes_used{job=\"$job\", area=\"nonheap\"})*100/sum(jvm_memory_bytes_max{job=\"$job\", area=\"nonheap\"})", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "", "refId": "A", "step": 14400 } ], "title": "Non-Heap used", "type": "stat" }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 4 }, "id": 127, "panels": [], "title": "JVM Memory", "type": "row" }, { "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": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 7, "w": 6, "x": 0, "y": 5 }, "id": 24, "links": [], "options": { "legend": { "calcs": [ "lastNotNull", "max" ], "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "single" } }, "pluginVersion": "8.3.4", "targets": [ { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "sum(jvm_memory_bytes_used{job=\"$job\", area=\"heap\"})", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "used", "metric": "", "refId": "A", "step": 2400 }, { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "sum(jvm_memory_bytes_committed{job=\"$job\", area=\"heap\"})", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "committed", "refId": "B", "step": 2400 }, { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "sum(jvm_memory_bytes_max{job=\"$job\", area=\"heap\"})", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "max", "refId": "C", "step": 2400 } ], "title": "JVM Heap", "type": "timeseries" }, { "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": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 7, "w": 6, "x": 6, "y": 5 }, "id": 25, "links": [], "options": { "legend": { "calcs": [ "lastNotNull", "max" ], "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "single" } }, "pluginVersion": "8.3.4", "targets": [ { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "sum(jvm_memory_bytes_used{job=\"$job\", area=\"nonheap\"})", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "used", "metric": "", "refId": "A", "step": 2400 }, { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "sum(jvm_memory_bytes_commited{job=\"$job\", area=\"nonheap\"})", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "committed", "refId": "B", "step": 2400 }, { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "sum(jvm_memory_bytes_max{job=\"$job\", area=\"nonheap\"})", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "max", "refId": "C", "step": 2400 } ], "title": "JVM Non-Heap", "type": "timeseries" }, { "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": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 7, "w": 6, "x": 12, "y": 5 }, "id": 26, "links": [], "options": { "legend": { "calcs": [ "lastNotNull", "max" ], "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "single" } }, "pluginVersion": "8.3.4", "targets": [ { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "sum(jvm_memory_bytes_used{job=\"$job\"})", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "used", "metric": "", "refId": "A", "step": 2400 }, { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "sum(jvm_memory_bytes_committed{job=\"$job\"})", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "committed", "refId": "B", "step": 2400 }, { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "sum(jvm_memory_bytes_max{job=\"$job\"})", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "max", "refId": "C", "step": 2400 } ], "title": "JVM Total", "type": "timeseries" }, { "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": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 7, "w": 6, "x": 18, "y": 5 }, "id": 86, "links": [], "options": { "legend": { "calcs": [ "lastNotNull", "max" ], "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "single" } }, "pluginVersion": "8.3.4", "targets": [ { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "process_virtual_memory_bytes{job=\"$job\"}", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "vss", "metric": "", "refId": "A", "step": 2400 }, { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "process_resident_memory_bytes{job=\"$job\"}", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "rss", "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "process_resident_memory_bytes{job=\"$job\"} + process_virtual_memory_bytes{job=\"$job\"}", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "total", "refId": "D" } ], "title": "JVM Process Memory", "type": "timeseries" }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 12 }, "id": 128, "panels": [], "title": "JVM Misc", "type": "row" }, { "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" } }, "decimals": 1, "mappings": [], "max": 1, "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "percentunit" }, "overrides": [] }, "gridPos": { "h": 7, "w": 6, "x": 0, "y": 13 }, "id": 106, "links": [], "options": { "legend": { "calcs": [ "lastNotNull", "max" ], "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "single" } }, "pluginVersion": "8.3.4", "targets": [ { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "rate(process_cpu_seconds_total{job=\"$job\"}[5m])", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 1, "legendFormat": "system + process", "metric": "", "refId": "A", "step": 2400 }, { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "avg_over_time(process_cpu_usage{job=\"$job\"}[1h])", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 1, "legendFormat": "process-1h", "refId": "C" } ], "title": "CPU Usage", "type": "timeseries" }, { "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" } }, "decimals": 0, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 7, "w": 6, "x": 6, "y": 13 }, "id": 61, "links": [], "options": { "legend": { "calcs": [ "lastNotNull" ], "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "single" } }, "pluginVersion": "8.3.4", "targets": [ { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "process_open_fds{job=\"$job\"}", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "open", "metric": "", "refId": "A", "step": 2400 }, { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "process_max_fds{job=\"$job\"}", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "max", "metric": "", "refId": "B", "step": 2400 } ], "title": "File Descriptors", "type": "timeseries" }, { "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" } }, "decimals": 0, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 7, "w": 6, "x": 12, "y": 13 }, "id": 32, "links": [], "options": { "legend": { "calcs": [ "lastNotNull" ], "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "single" } }, "pluginVersion": "8.3.4", "targets": [ { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "jvm_threads_state{state=\"RUNNABLE\", job=\"$job\"}", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "live", "metric": "", "refId": "A", "step": 2400 }, { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "jvm_threads_daemon{job=\"$job\"}", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "daemon", "metric": "", "refId": "B", "step": 2400 }, { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "jvm_threads_peak{job=\"$job\"}", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "peak", "refId": "C", "step": 2400 }, { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "jvm_threads_current{job=\"$job\"}", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "process", "refId": "D", "step": 2400 } ], "title": "Threads", "type": "timeseries" }, { "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": [ { "matcher": { "id": "byName", "options": "blocked" }, "properties": [ { "id": "color", "value": { "fixedColor": "#bf1b00", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "new" }, "properties": [ { "id": "color", "value": { "fixedColor": "#fce2de", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "runnable" }, "properties": [ { "id": "color", "value": { "fixedColor": "#7eb26d", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "terminated" }, "properties": [ { "id": "color", "value": { "fixedColor": "#511749", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "timed-waiting" }, "properties": [ { "id": "color", "value": { "fixedColor": "#c15c17", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "waiting" }, "properties": [ { "id": "color", "value": { "fixedColor": "#eab839", "mode": "fixed" } } ] } ] }, "gridPos": { "h": 7, "w": 6, "x": 18, "y": 13 }, "id": 124, "links": [], "options": { "legend": { "calcs": [ "lastNotNull" ], "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "single" } }, "pluginVersion": "8.3.4", "targets": [ { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "jvm_threads_state{job=\"$job\"}", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "{{state}}", "refId": "A" } ], "title": "Thread States", "type": "timeseries" }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 20 }, "id": 129, "panels": [], "repeat": "persistence_counts", "title": "JVM Memory Pools (Heap)", "type": "row" }, { "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": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 7, "w": 8, "x": 0, "y": 21 }, "id": 3, "links": [], "options": { "legend": { "calcs": [ "lastNotNull" ], "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "single" } }, "pluginVersion": "8.3.4", "repeat": "jvm_memory_pool_heap", "targets": [ { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "sum(jvm_memory_pool_bytes_used{job=\"$job\", pool=~\"G1 Eden Space|G1 Old Gen|G1 Survivor Space\"})", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "used", "metric": "", "refId": "A", "step": 1800 }, { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "sum(jvm_memory_pool_bytes_commited{job=\"$job\", pool=~\"G1 Eden Space|G1 Old Gen|G1 Survivor Space\"})", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "commited", "metric": "", "refId": "B", "step": 1800 }, { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "sum(jvm_memory_pool_bytes_max{job=\"$job\", pool=~\"G1 Eden Space|G1 Old Gen|G1 Survivor Space\"})", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "max", "metric": "", "refId": "C", "step": 1800 } ], "title": "JVM Memory Pool heap", "type": "timeseries" }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 28 }, "id": 130, "panels": [], "title": "JVM Memory Pools (Non-Heap)", "type": "row" }, { "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": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 7, "w": 8, "x": 0, "y": 29 }, "id": 78, "links": [], "options": { "legend": { "calcs": [ "lastNotNull" ], "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "single" } }, "pluginVersion": "8.3.4", "repeat": "jvm_memory_pool_nonheap", "targets": [ { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "sum(jvm_memory_pool_bytes_used{job=\"$job\", pool=~\"CodeHeap 'non-nmethods'|Metaspace|CodeHeap 'profiled nmethods'|Compressed Class Space|CodeHeap 'non-profiled nmethods'\"})", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "used", "metric": "", "refId": "A", "step": 1800 }, { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "sum(jvm_memory_pool_bytes_committed{job=\"$job\", pool=~\"CodeHeap 'non-nmethods'|Metaspace|CodeHeap 'profiled nmethods'|Compressed Class Space|CodeHeap 'non-profiled nmethods'\"})", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "commited", "metric": "", "refId": "B", "step": 1800 }, { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "sum(jvm_memory_pool_bytes_max{job=\"$job\", pool=~\"CodeHeap 'non-nmethods'|Metaspace|CodeHeap 'profiled nmethods'|Compressed Class Space|CodeHeap 'non-profiled nmethods'\"})", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "max", "metric": "", "refId": "C", "step": 1800 } ], "title": "JVM Memory Pool nonheap", "type": "timeseries" }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 36 }, "id": 131, "panels": [], "title": "Garbage Collection", "type": "row" }, { "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": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "ops" }, "overrides": [] }, "gridPos": { "h": 7, "w": 8, "x": 0, "y": 37 }, "id": 98, "links": [], "options": { "legend": { "calcs": [ "lastNotNull", "max" ], "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "single" } }, "pluginVersion": "8.3.4", "targets": [ { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "sum(rate(jvm_gc_collection_seconds_count{job=\"xacml-pdp-metrics\"}[5m]))", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 1, "legendFormat": "rate", "refId": "A" } ], "title": "Collections", "type": "timeseries" }, { "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": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "s" }, "overrides": [] }, "gridPos": { "h": 7, "w": 8, "x": 8, "y": 37 }, "id": 101, "links": [], "options": { "legend": { "calcs": [ "lastNotNull", "max" ], "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "single" } }, "pluginVersion": "8.3.4", "targets": [ { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "sum(rate(jvm_gc_collection_seconds_sum{job=\"$job\"}[5m]))/sum(rate(jvm_gc_collection_seconds_count{job=\"$job\"}[5m]))", "format": "time_series", "hide": false, "instant": false, "interval": "", "intervalFactor": 1, "legendFormat": "avg", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "expr": "jvm_gc_pause_seconds_max{job=\"$job\"}", "format": "time_series", "hide": false, "instant": false, "intervalFactor": 1, "legendFormat": "max {{action}} ({{cause}})", "refId": "B" } ], "title": "Pause Durations", "type": "timeseries" }, { "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": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "Bps" }, "overrides": [] }, "gridPos": { "h": 7, "w": 8, "x": 16, "y": 37 }, "id": 99, "links": [], "options": { "legend": { "calcs": [ "lastNotNull", "max" ], "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "single" } }, "pluginVersion": "8.3.4", "targets": [ { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "sum(rate(jvm_memory_pool_allocated_bytes_total{job=\"$job\"}[5m]))", "format": "time_series", "interval": "", "intervalFactor": 1, "legendFormat": "allocated", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "sum(rate(jvm_memory_pool_allocated_bytes_created{job=\"$job\"}[5m]))", "format": "time_series", "interval": "", "intervalFactor": 1, "legendFormat": "created", "refId": "B" } ], "title": "Allocated/Created", "type": "timeseries" }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 44 }, "id": 132, "panels": [], "title": "Classloading", "type": "row" }, { "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": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 0, "y": 45 }, "id": 37, "links": [], "options": { "legend": { "calcs": [ "lastNotNull", "max" ], "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "single" } }, "pluginVersion": "8.3.4", "targets": [ { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "jvm_classes_loaded{job=\"$job\"}", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "loaded", "metric": "", "refId": "A", "step": 1200 } ], "title": "Classes loaded", "type": "timeseries" }, { "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": 12, "x": 12, "y": 45 }, "id": 38, "links": [], "options": { "legend": { "calcs": [ "lastNotNull", "max" ], "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "single" } }, "pluginVersion": "8.3.4", "targets": [ { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "delta(jvm_classes_loaded{job=\"$job\"}[5m])", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 1, "legendFormat": "delta-1m", "metric": "", "refId": "A", "step": 1200 } ], "title": "Class delta", "type": "timeseries" }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 52 }, "id": 133, "panels": [], "title": "Buffer Pools", "type": "row" }, { "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": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 7, "w": 6, "x": 0, "y": 53 }, "id": 33, "links": [], "options": { "legend": { "calcs": [ "lastNotNull" ], "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "single" } }, "pluginVersion": "8.3.4", "targets": [ { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "jvm_buffer_pool_used_bytes{job=\"$job\", pool=\"direct\"}", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "used", "metric": "", "refId": "A", "step": 2400 }, { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "jvm_buffer_pool_capacity_bytes{job=\"$job\", pool=\"direct\"}", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "capacity", "metric": "", "refId": "B", "step": 2400 } ], "title": "Direct Buffers", "type": "timeseries" }, { "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" } }, "decimals": 0, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 7, "w": 6, "x": 6, "y": 53 }, "id": 83, "links": [], "options": { "legend": { "calcs": [ "lastNotNull", "max" ], "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "single" } }, "pluginVersion": "8.3.4", "targets": [ { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "jvm_buffer_pool_used_buffers{job=\"$job\", pool=\"direct\"}", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "count", "metric": "", "refId": "A", "step": 2400 } ], "title": "Direct Buffers", "type": "timeseries" }, { "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": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 7, "w": 6, "x": 12, "y": 53 }, "id": 85, "links": [], "options": { "legend": { "calcs": [ "lastNotNull", "max" ], "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "single" } }, "pluginVersion": "8.3.4", "targets": [ { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "jvm_buffer_pool_used_bytes{job=\"$job\", pool=\"mapped\"}", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "used", "metric": "", "refId": "A", "step": 2400 }, { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "jvm_buffer_pool_capacity_bytes{job=\"$job\", pool=\"mapped\"}", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "capacity", "metric": "", "refId": "B", "step": 2400 } ], "title": "Mapped Buffers", "type": "timeseries" }, { "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" } }, "decimals": 0, "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 7, "w": 6, "x": 18, "y": 53 }, "id": 84, "links": [], "options": { "legend": { "calcs": [ "lastNotNull", "max" ], "displayMode": "list", "placement": "bottom" }, "tooltip": { "mode": "single" } }, "pluginVersion": "8.3.4", "targets": [ { "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "exemplar": true, "expr": "jvm_buffer_pool_used_buffers{job=\"$job\", pool=\"mapped\"}", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "count", "metric": "", "refId": "A", "step": 2400 } ], "title": "Mapped Buffers", "type": "timeseries" } ], "refresh": "30s", "schemaVersion": 34, "style": "dark", "tags": [], "templating": { "list": [ { "current": { "selected": false, "text": "apex-pdp-metrics", "value": "apex-pdp-metrics" }, "datasource": { "type": "prometheus", "uid": "dkSf71fnz" }, "definition": "label_values(job)", "hide": 0, "includeAll": false, "label": "Job", "multi": false, "name": "job", "options": [], "query": { "query": "label_values(job)", "refId": "StandardVariableQuery" }, "refresh": 2, "regex": "", "skipUrlSync": false, "sort": 1, "tagValuesQuery": "", "tagsQuery": "", "type": "query", "useTags": false } ] }, "time": { "from": "now-24h", "to": "now" }, "timepicker": { "now": true, "refresh_intervals": [ "5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ], "time_options": [ "5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d" ] }, "timezone": "browser", "title": "JVM Basic Metrics", "uid": "SLdKRfB7z", "version": 1, "weekStart": "" }