{ "__inputs": [ { "name": "Mimir", "label": "spring", "description": "", "type": "datasource", "pluginId": "prometheus", "pluginName": "Prometheus" } ], "__elements": {}, "__requires": [ { "type": "panel", "id": "gauge", "name": "Gauge", "version": "" }, { "type": "grafana", "id": "grafana", "name": "Grafana", "version": "11.2.1" }, { "type": "datasource", "id": "prometheus", "name": "Prometheus", "version": "1.0.0" }, { "type": "panel", "id": "stat", "name": "Stat", "version": "" }, { "type": "panel", "id": "timeseries", "name": "Time series", "version": "" } ], "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "datasource", "uid": "grafana" }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" } ] }, "description": "Dashboard for Spring Boot2.1 Statistics(based on Spring Boot2 Statistic by micrometer-prometheus).", "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 1, "id": null, "links": [], "panels": [ { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 0 }, "id": 54, "panels": [], "title": "Basic Statistics", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "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": 13, "w": 3, "x": 0, "y": 1 }, "id": 56, "maxDataPoints": 100, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "center", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.2.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "Mimir" }, "editorMode": "code", "expr": "process_start_time_seconds{service=\"$application\", instance=~\"$instance\"}*1000", "format": "time_series", "intervalFactor": 2, "legendFormat": "{{instance}}", "metric": "", "range": true, "refId": "A", "step": 14400 } ], "title": "Start time", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "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": 6, "w": 6, "x": 3, "y": 1 }, "id": 52, "maxDataPoints": 100, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.2.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "Mimir" }, "editorMode": "code", "exemplar": false, "expr": "process_uptime_seconds{service=\"$application\", instance=~\"$instance\"}", "format": "time_series", "instant": false, "intervalFactor": 2, "legendFormat": "{{instance}}", "metric": "", "range": true, "refId": "A", "step": 14400 } ], "title": "Uptime", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 1, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "max": 100, "min": 0, "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": 6, "w": 3, "x": 9, "y": 1 }, "id": 58, "maxDataPoints": 100, "options": { "minVizHeight": 75, "minVizWidth": 75, "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true, "sizing": "auto" }, "pluginVersion": "11.2.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "Mimir" }, "expr": "sum(jvm_memory_used_bytes{service=\"$application\", instance=~\"$instance\", area=\"heap\"})*100/sum(jvm_memory_max_bytes{service=\"$application\",instance=~\"$instance\", area=\"heap\"})", "format": "time_series", "intervalFactor": 1, "legendFormat": "", "refId": "A", "step": 14400 } ], "title": "Heap Used", "type": "gauge" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "decimals": 1, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" }, { "options": { "from": -1e+32, "result": { "text": "N/A" }, "to": 0 }, "type": "range" } ], "max": 100, "min": 0, "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": 6, "w": 3, "x": 12, "y": 1 }, "id": 60, "maxDataPoints": 100, "options": { "minVizHeight": 75, "minVizWidth": 75, "orientation": "horizontal", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showThresholdLabels": false, "showThresholdMarkers": true, "sizing": "auto" }, "pluginVersion": "11.2.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "Mimir" }, "expr": "sum(jvm_memory_used_bytes{service=\"$application\", instance=~\"$instance\", area=\"nonheap\"})*100/sum(jvm_memory_max_bytes{service=\"$application\",instance=~\"$instance\", area=\"nonheap\"})", "format": "time_series", "intervalFactor": 2, "legendFormat": "", "refId": "A", "step": 14400 } ], "title": "Non-Heap Used", "type": "gauge" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "locale" }, "overrides": [] }, "gridPos": { "h": 6, "w": 9, "x": 15, "y": 1 }, "id": 66, "options": { "alertThreshold": true, "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "pluginVersion": "11.2.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "Mimir" }, "expr": "process_files_open_files{service=\"$application\", instance=~\"$instance\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Open Files", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "expr": "process_files_max_files{service=\"$application\", instance=~\"$instance\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Max Files", "refId": "B" } ], "title": "Process Open Files", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "percentunit" }, "overrides": [] }, "gridPos": { "h": 7, "w": 10, "x": 3, "y": 7 }, "id": 95, "options": { "legend": { "calcs": [ "mean", "lastNotNull", "max", "min" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "pluginVersion": "11.2.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "Mimir" }, "expr": "system_cpu_usage{instance=~\"$instance\", service=\"$application\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "System CPU Usage", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "expr": "process_cpu_usage{instance=~\"$instance\", service=\"$application\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Process CPU Usage", "refId": "B" } ], "title": "CPU Usage", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 7, "w": 11, "x": 13, "y": 7 }, "id": 96, "options": { "alertThreshold": true, "legend": { "calcs": [ "mean", "lastNotNull", "max", "min" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "pluginVersion": "11.2.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "Mimir" }, "expr": "system_load_average_1m{instance=~\"$instance\", service=\"$application\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Load Average [1m]", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "expr": "system_cpu_count{instance=~\"$instance\", service=\"$application\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "CPU Core Size", "refId": "B" } ], "title": "Load Average", "type": "timeseries" }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 14 }, "id": 48, "panels": [], "title": "JVM Statistics - Heaps", "type": "row" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 5, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 80 } ] }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 8, "w": 24, "x": 0, "y": 15 }, "id": 85, "options": { "legend": { "calcs": [ "mean", "lastNotNull", "max", "min" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "pluginVersion": "11.2.1", "repeat": "memory_pool_heap", "repeatDirection": "h", "targets": [ { "datasource": { "type": "prometheus", "uid": "Mimir" }, "expr": "jvm_memory_committed_bytes{instance=~\"$instance\", service=\"$application\", id=\"$memory_pool_heap\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Commited", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "editorMode": "code", "expr": "jvm_memory_used_bytes{instance=~\"$instance\", service=\"$application\", id=\"$memory_pool_heap\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Used", "range": true, "refId": "C" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "expr": "jvm_memory_max_bytes{instance=~\"$instance\", service=\"$application\", id=\"$memory_pool_heap\"}", "format": "time_series", "hide": false, "intervalFactor": 1, "legendFormat": "Max", "refId": "B" } ], "title": "$memory_pool_heap (heap)", "type": "timeseries" }, { "collapsed": true, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 23 }, "id": 125, "panels": [ { "datasource": { "type": "prometheus", "uid": "Mimir" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 8, "w": 24, "x": 0, "y": 38 }, "id": 88, "options": { "legend": { "calcs": [ "mean", "lastNotNull", "max", "min" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "pluginVersion": "11.2.1", "repeat": "memory_pool_nonheap", "repeatDirection": "h", "targets": [ { "datasource": { "type": "prometheus", "uid": "Mimir" }, "editorMode": "code", "expr": "jvm_memory_used_bytes{instance=~\"$instance\", service=\"$application\", id=~\"$memory_pool_nonheap\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Used", "range": true, "refId": "C" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "editorMode": "code", "expr": "jvm_memory_committed_bytes{instance=~\"$instance\", service=\"$application\", id=~\"$memory_pool_nonheap\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Commited", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "editorMode": "code", "expr": "jvm_memory_max_bytes{instance=~\"$instance\", service=\"$application\", id=~\"$memory_pool_nonheap\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Max", "range": true, "refId": "B" } ], "title": "$memory_pool_nonheap (non-heap)", "type": "timeseries" } ], "title": "JVM Statistics - Non Heaps", "type": "row" }, { "collapsed": true, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 24 }, "id": 117, "panels": [ { "datasource": { "type": "prometheus", "uid": "Mimir" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 0, "y": 133 }, "id": 68, "options": { "alertThreshold": true, "legend": { "calcs": [ "mean", "lastNotNull", "max", "min" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "pluginVersion": "11.2.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "Mimir" }, "expr": "jvm_threads_daemon_threads{instance=~\"$instance\", service=\"$application\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Daemon", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "expr": "jvm_threads_live_threads{instance=~\"$instance\", service=\"$application\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Live", "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "expr": "jvm_threads_peak_threads{instance=~\"$instance\", service=\"$application\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Peak", "refId": "C" } ], "title": "Threads", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "bytes" }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 12, "y": 133 }, "id": 78, "options": { "alertThreshold": true, "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "pluginVersion": "11.2.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "Mimir" }, "expr": "irate(jvm_gc_memory_allocated_bytes_total{instance=~\"$instance\", service=\"$application\"}[5m])", "format": "time_series", "intervalFactor": 1, "legendFormat": "allocated", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "expr": "irate(jvm_gc_memory_promoted_bytes_total{instance=~\"$instance\", service=\"$application\"}[5m])", "format": "time_series", "intervalFactor": 1, "legendFormat": "promoted", "refId": "B" } ], "title": "Memory Allocate/Promote", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 0, "y": 140 }, "id": 50, "options": { "alertThreshold": true, "legend": { "calcs": [ "mean", "lastNotNull", "max", "min" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "pluginVersion": "11.2.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "Mimir" }, "expr": "jvm_classes_loaded_classes{instance=~\"$instance\", service=\"$application\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Classes Loaded", "refId": "A" } ], "title": "Classes Loaded", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 12, "y": 140 }, "id": 80, "options": { "alertThreshold": true, "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "pluginVersion": "11.2.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "Mimir" }, "expr": "irate(jvm_classes_unloaded_classes_total{instance=~\"$instance\", service=\"$application\"}[5m])", "format": "time_series", "intervalFactor": 1, "legendFormat": "Classes Unloaded", "refId": "A" } ], "title": "Classes Unloaded", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 0, "y": 147 }, "id": 82, "options": { "alertThreshold": true, "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "11.2.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "Mimir" }, "expr": "jvm_buffer_memory_used_bytes{instance=~\"$instance\", service=\"$application\", id=\"direct\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Used Bytes", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "expr": "jvm_buffer_total_capacity_bytes{instance=~\"$instance\", service=\"$application\", id=\"direct\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Capacity Bytes", "refId": "B" } ], "title": "Direct Buffers", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 12, "y": 147 }, "id": 83, "options": { "alertThreshold": true, "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "11.2.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "Mimir" }, "expr": "jvm_buffer_memory_used_bytes{instance=~\"$instance\", service=\"$application\", id=\"mapped\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Used Bytes", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "expr": "jvm_buffer_total_capacity_bytes{instance=~\"$instance\", service=\"$application\", id=\"mapped\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Capacity Bytes", "refId": "B" } ], "title": "Mapped Buffers", "type": "timeseries" } ], "title": "JVM Statistics Threads/Buffers", "type": "row" }, { "collapsed": true, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 25 }, "id": 72, "panels": [ { "datasource": { "type": "prometheus", "uid": "Mimir" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "bars", "fillOpacity": 100, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "locale" }, "overrides": [ { "matcher": { "id": "byValue", "options": { "op": "gte", "reducer": "allIsZero", "value": 0 } }, "properties": [ { "id": "custom.hideFrom", "value": { "legend": true, "tooltip": true, "viz": false } } ] }, { "matcher": { "id": "byValue", "options": { "op": "gte", "reducer": "allIsNull", "value": 0 } }, "properties": [ { "id": "custom.hideFrom", "value": { "legend": true, "tooltip": true, "viz": false } } ] } ] }, "gridPos": { "h": 8, "w": 12, "x": 0, "y": 134 }, "id": 74, "options": { "legend": { "calcs": [ "mean", "max", "min", "sum" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "pluginVersion": "11.2.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "Mimir" }, "editorMode": "code", "expr": "rate(jvm_gc_pause_seconds_count{instance=~\"$instance\", service=\"$application\"}[1m])", "format": "time_series", "interval": "", "intervalFactor": 1, "legendFormat": "{{action}} [{{cause}}]", "range": true, "refId": "A" } ], "title": "GC Count", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "s" }, "overrides": [ { "matcher": { "id": "byValue", "options": { "op": "gte", "reducer": "allIsZero", "value": 0 } }, "properties": [ { "id": "custom.hideFrom", "value": { "legend": true, "tooltip": true, "viz": false } } ] }, { "matcher": { "id": "byValue", "options": { "op": "gte", "reducer": "allIsNull", "value": 0 } }, "properties": [ { "id": "custom.hideFrom", "value": { "legend": true, "tooltip": true, "viz": false } } ] } ] }, "gridPos": { "h": 8, "w": 12, "x": 12, "y": 134 }, "id": 76, "options": { "legend": { "calcs": [ "mean", "max", "min", "sum" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "pluginVersion": "11.2.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "Mimir" }, "editorMode": "code", "expr": "rate(jvm_gc_pause_seconds_sum{instance=~\"$instance\", service=\"$application\"}[1m])", "format": "time_series", "interval": "", "intervalFactor": 1, "legendFormat": "{{action}} [{{cause}}]", "range": true, "refId": "A" } ], "title": "GC Stop the World Duration", "type": "timeseries" } ], "title": "JVM Statistics - GC", "type": "row" }, { "collapsed": true, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 26 }, "id": 22, "panels": [ { "datasource": { "type": "prometheus", "uid": "Mimir" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "locale" }, "overrides": [] }, "gridPos": { "h": 4, "w": 4, "x": 0, "y": 135 }, "id": 101, "maxDataPoints": 100, "options": { "colorMode": "none", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.2.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "Mimir" }, "expr": "jetty_threads_config_min{instance=~\"$instance\", service=\"$application\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Min threads", "refId": "A" } ], "title": "Thread Config Min", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic", "seriesBy": "last" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "min": 0, "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "ops" }, "overrides": [ { "matcher": { "id": "byName", "options": "HTTP" }, "properties": [ { "id": "color", "value": { "fixedColor": "#890f02", "mode": "fixed" } } ] }, { "matcher": { "id": "byName", "options": "HTTP - 5xx" }, "properties": [ { "id": "color", "value": { "fixedColor": "#bf1b00", "mode": "fixed" } } ] } ] }, "gridPos": { "h": 8, "w": 20, "x": 4, "y": 135 }, "id": 111, "options": { "legend": { "calcs": [ "lastNotNull" ], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "pluginVersion": "11.2.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "Mimir" }, "expr": "sum(rate(http_server_requests_seconds_count{service=\"$application\", instance=~\"$instance\", status=~\"5..\"}[1m]))", "format": "time_series", "intervalFactor": 1, "legendFormat": "5xx - Server Errors", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "expr": "sum(rate(http_server_requests_seconds_count{service=\"$application\", instance=~\"$instance\", status=~\"4..\"}[1m]))", "format": "time_series", "intervalFactor": 1, "legendFormat": "4xx - Client Errors", "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "expr": "sum(rate(http_server_requests_seconds_count{service=\"$application\", instance=~\"$instance\", status=~\"2..\"}[1m]))", "format": "time_series", "intervalFactor": 1, "legendFormat": "2xx - Success", "refId": "C" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "expr": "sum(rate(http_server_requests_seconds_count{service=\"$application\", instance=~\"$instance\", status=~\"3..\"}[1m]))", "format": "time_series", "intervalFactor": 1, "legendFormat": "3xx - Redirections", "refId": "D" } ], "title": "HTTP Codes", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [ { "options": { "match": "null", "result": { "text": "N/A" } }, "type": "special" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "locale" }, "overrides": [] }, "gridPos": { "h": 4, "w": 4, "x": 0, "y": 139 }, "id": 32, "maxDataPoints": 100, "options": { "colorMode": "none", "graphMode": "none", "justifyMode": "auto", "orientation": "horizontal", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true }, "pluginVersion": "11.2.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "Mimir" }, "expr": "jetty_threads_config_max{instance=~\"$instance\", service=\"$application\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Max threads", "refId": "A" } ], "title": "Thread Config Max", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 0, "y": 143 }, "id": 107, "options": { "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "pluginVersion": "11.2.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "Mimir" }, "expr": "sum(rate(http_server_requests_seconds_count{service=\"$application\", instance=~\"$instance\"}[1m]))", "format": "time_series", "instant": false, "intervalFactor": 1, "legendFormat": "Requests per second", "refId": "A" } ], "title": "Requests/second", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "s" }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 12, "y": 143 }, "id": 108, "options": { "legend": { "calcs": [ "lastNotNull", "max" ], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "pluginVersion": "11.2.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "Mimir" }, "expr": "sum(rate(http_server_requests_seconds_sum{service=\"$application\", instance=~\"$instance\", status!~\"5..\"}[1m]))/sum(rate(http_server_requests_seconds_count{service=\"$application\", instance=~\"$instance\", status!~\"5..\"}[1m]))", "format": "time_series", "instant": false, "intervalFactor": 1, "legendFormat": "Average", "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "expr": "max(http_server_requests_seconds_max{service=\"$application\", instance=~\"$instance\", status!~\"5..\"})", "format": "time_series", "instant": false, "intervalFactor": 1, "legendFormat": "Maximum", "refId": "B" } ], "title": "Requests duration", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineStyle": { "fill": "solid" }, "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "line" } }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "#EAB839", "value": 0.5 } ] }, "unit": "ops" }, "overrides": [] }, "gridPos": { "h": 9, "w": 12, "x": 0, "y": 150 }, "id": 124, "options": { "legend": { "calcs": [ "mean", "lastNotNull", "max", "min" ], "displayMode": "table", "placement": "bottom", "showLegend": true, "sortBy": "Mean", "sortDesc": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "pluginVersion": "11.2.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "Mimir" }, "editorMode": "code", "expr": "topk(10, sum by(uri, method) (rate(http_server_requests_seconds_count{service=\"$application\", instance=~\"$instance\", uri!~\"/actuator/.+\"}[1m])))", "format": "time_series", "intervalFactor": 1, "legendFormat": "{{uri}}", "range": true, "refId": "D" } ], "title": "TOP 10", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 10, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "never", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] }, "unit": "short" }, "overrides": [] }, "gridPos": { "h": 9, "w": 12, "x": 12, "y": 150 }, "id": 30, "options": { "legend": { "calcs": [ "mean", "lastNotNull", "max", "min" ], "displayMode": "table", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "multi", "sort": "none" } }, "pluginVersion": "11.2.1", "targets": [ { "datasource": { "type": "prometheus", "uid": "Mimir" }, "editorMode": "code", "expr": "jetty_threads_current{instance=~\"$instance\", service=\"$application\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Current thread", "range": true, "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "expr": "jetty_threads_busy{instance=~\"$instance\", service=\"$application\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Busy thread", "refId": "B" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "expr": "jetty_threads_idle{instance=~\"$instance\", service=\"$application\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Idle threads", "refId": "C" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "expr": "jetty_threads_jobs{instance=~\"$instance\", service=\"$application\"}", "format": "time_series", "intervalFactor": 1, "legendFormat": "Jobs threads", "refId": "D" } ], "title": "Threads", "type": "timeseries" } ], "title": "Jetty Statistics", "type": "row" }, { "collapsed": true, "gridPos": { "h": 1, "w": 24, "x": 0, "y": 27 }, "id": 8, "panels": [ { "datasource": { "type": "prometheus", "uid": "Mimir" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 0, "y": 136 }, "id": 6, "options": { "alertThreshold": true, "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "11.2.1", "targets": [ { "alias": "", "datasource": { "type": "prometheus", "uid": "Mimir" }, "expr": "irate(logback_events_total{instance=~\"$instance\", service=\"$application\", level=\"info\"}[5m])", "format": "time_series", "intervalFactor": 1, "legendFormat": "info", "rawSql": "SELECT\n $__time(time_column),\n value1\nFROM\n metric_table\nWHERE\n $__timeFilter(time_column)\n", "refId": "A" } ], "title": "INFO logs", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 7, "w": 12, "x": 12, "y": 136 }, "id": 10, "options": { "alertThreshold": true, "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "11.2.1", "targets": [ { "alias": "", "datasource": { "type": "prometheus", "uid": "Mimir" }, "expr": "irate(logback_events_total{instance=~\"$instance\", service=\"$application\", level=\"error\"}[5m])", "format": "time_series", "intervalFactor": 1, "legendFormat": "error", "rawSql": "SELECT\n $__time(time_column),\n value1\nFROM\n metric_table\nWHERE\n $__timeFilter(time_column)\n", "refId": "A" } ], "title": "ERROR logs", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 7, "w": 8, "x": 0, "y": 143 }, "id": 14, "options": { "alertThreshold": true, "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "11.2.1", "targets": [ { "alias": "", "datasource": { "type": "prometheus", "uid": "Mimir" }, "expr": "irate(logback_events_total{instance=~\"$instance\", service=\"$application\", level=\"warn\"}[5m])", "format": "time_series", "intervalFactor": 1, "legendFormat": "warn", "rawSql": "SELECT\n $__time(time_column),\n value1\nFROM\n metric_table\nWHERE\n $__timeFilter(time_column)\n", "refId": "A" } ], "title": "WARN logs", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 7, "w": 8, "x": 8, "y": 143 }, "id": 16, "options": { "alertThreshold": true, "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "11.2.1", "targets": [ { "alias": "", "datasource": { "type": "prometheus", "uid": "Mimir" }, "expr": "irate(logback_events_total{instance=~\"$instance\", service=\"$application\", level=\"debug\"}[5m])", "format": "time_series", "intervalFactor": 1, "legendFormat": "debug", "rawSql": "SELECT\n $__time(time_column),\n value1\nFROM\n metric_table\nWHERE\n $__timeFilter(time_column)\n", "refId": "A" } ], "title": "DEBUG logs", "type": "timeseries" }, { "datasource": { "type": "prometheus", "uid": "Mimir" }, "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "links": [], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green" }, { "color": "red", "value": 80 } ] } }, "overrides": [] }, "gridPos": { "h": 7, "w": 8, "x": 16, "y": 143 }, "id": 20, "options": { "alertThreshold": true, "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "mode": "single", "sort": "none" } }, "pluginVersion": "11.2.1", "targets": [ { "alias": "", "datasource": { "type": "prometheus", "uid": "Mimir" }, "expr": "irate(logback_events_total{instance=~\"$instance\", service=\"$application\", level=\"trace\"}[5m])", "format": "time_series", "intervalFactor": 1, "legendFormat": "trace", "rawSql": "SELECT\n $__time(time_column),\n value1\nFROM\n metric_table\nWHERE\n $__timeFilter(time_column)\n", "refId": "A" } ], "title": "TRACE logs", "type": "timeseries" } ], "title": "Logback Statistics", "type": "row" } ], "refresh": "", "schemaVersion": 39, "tags": [], "templating": { "list": [ { "current": {}, "datasource": { "type": "prometheus", "uid": "Mimir" }, "definition": "label_values(jvm_classes_loaded_classes,service)", "includeAll": false, "label": "Application", "name": "application", "options": [], "query": { "qryType": 1, "query": "label_values(jvm_classes_loaded_classes,service)", "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", "sort": 2, "type": "query" }, { "allValue": ".+", "current": {}, "datasource": { "type": "prometheus", "uid": "Mimir" }, "definition": "label_values(jvm_classes_loaded_classes{service=\"$application\"},instance)", "includeAll": true, "label": "Instance", "name": "instance", "options": [], "query": { "qryType": 1, "query": "label_values(jvm_classes_loaded_classes{service=\"$application\"},instance)", "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", "sort": 1, "type": "query" }, { "current": {}, "datasource": { "type": "prometheus", "uid": "Mimir" }, "definition": "label_values(jvm_memory_used_bytes{service=\"$application\", instance=~\"$instance\", area=\"heap\"},id)", "includeAll": true, "label": "Memory Pool (heap)", "name": "memory_pool_heap", "options": [], "query": { "qryType": 1, "query": "label_values(jvm_memory_used_bytes{service=\"$application\", instance=~\"$instance\", area=\"heap\"},id)", "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", "sort": 1, "type": "query" }, { "current": {}, "datasource": { "type": "prometheus", "uid": "Mimir" }, "definition": "label_values(jvm_memory_used_bytes{service=\"$application\", instance=~\"$instance\", area=\"nonheap\"},id)", "includeAll": true, "label": "Memory Pool (nonheap)", "name": "memory_pool_nonheap", "options": [], "query": { "qryType": 1, "query": "label_values(jvm_memory_used_bytes{service=\"$application\", instance=~\"$instance\", area=\"nonheap\"},id)", "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", "sort": 1, "type": "query" } ] }, "time": { "from": "now-2d", "to": "now" }, "timepicker": {}, "timezone": "", "title": "Spring Boot 2x", "uid": "spring-boot-2x", "version": 45, "weekStart": "", "gnetId": 21985 }