summaryrefslogtreecommitdiffstats
path: root/compose/metrics/dashboards/dashboard-for-springboot.json
diff options
context:
space:
mode:
Diffstat (limited to 'compose/metrics/dashboards/dashboard-for-springboot.json')
-rw-r--r--compose/metrics/dashboards/dashboard-for-springboot.json1077
1 files changed, 667 insertions, 410 deletions
diff --git a/compose/metrics/dashboards/dashboard-for-springboot.json b/compose/metrics/dashboards/dashboard-for-springboot.json
index 0eed3f7f..d7654df8 100644
--- a/compose/metrics/dashboards/dashboard-for-springboot.json
+++ b/compose/metrics/dashboards/dashboard-for-springboot.json
@@ -3,7 +3,10 @@
"list": [
{
"builtIn": 1,
- "datasource": "-- Grafana --",
+ "datasource": {
+ "type": "datasource",
+ "uid": "grafana"
+ },
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
@@ -23,13 +26,16 @@
"fiscalYearStartMonth": 0,
"gnetId": 14430,
"graphTooltip": 0,
- "id": 1,
- "iteration": 1645635034981,
+ "id": 5,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
"gridPos": {
"h": 1,
"w": 24,
@@ -38,6 +44,15 @@
},
"id": 54,
"panels": [],
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
+ "refId": "A"
+ }
+ ],
"title": "Basic Statistics",
"type": "row"
},
@@ -87,13 +102,13 @@
"y": 1
},
"id": 52,
- "links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
+ "percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
@@ -101,11 +116,17 @@
"fields": "",
"values": false
},
- "textMode": "auto"
+ "showPercentChange": false,
+ "textMode": "auto",
+ "wideLayout": true
},
- "pluginVersion": "8.3.4",
+ "pluginVersion": "11.1.0",
"targets": [
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
"expr": "process_uptime_seconds{application=\"$application\",instance=\"$instance\"}",
"format": "time_series",
"intervalFactor": 2,
@@ -163,13 +184,13 @@
"y": 1
},
"id": 56,
- "links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
+ "percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
@@ -177,11 +198,17 @@
"fields": "",
"values": false
},
- "textMode": "auto"
+ "showPercentChange": false,
+ "textMode": "auto",
+ "wideLayout": true
},
- "pluginVersion": "8.3.4",
+ "pluginVersion": "11.1.0",
"targets": [
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
"expr": "process_start_time_seconds{application=\"$application\",instance=\"$instance\"}*1000",
"format": "time_series",
"intervalFactor": 2,
@@ -246,9 +273,10 @@
"y": 1
},
"id": 58,
- "links": [],
"maxDataPoints": 100,
"options": {
+ "minVizHeight": 75,
+ "minVizWidth": 75,
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
@@ -258,11 +286,16 @@
"values": false
},
"showThresholdLabels": false,
- "showThresholdMarkers": true
+ "showThresholdMarkers": true,
+ "sizing": "auto"
},
- "pluginVersion": "8.3.4",
+ "pluginVersion": "11.1.0",
"targets": [
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
"expr": "sum(jvm_memory_used_bytes{application=\"$application\",instance=\"$instance\",area=\"heap\"})*100/sum(jvm_memory_max_bytes{application=\"$application\",instance=\"$instance\",area=\"heap\"})",
"format": "time_series",
"intervalFactor": 1,
@@ -336,9 +369,10 @@
"y": 1
},
"id": 60,
- "links": [],
"maxDataPoints": 100,
"options": {
+ "minVizHeight": 75,
+ "minVizWidth": 75,
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
@@ -348,11 +382,16 @@
"values": false
},
"showThresholdLabels": false,
- "showThresholdMarkers": true
+ "showThresholdMarkers": true,
+ "sizing": "auto"
},
- "pluginVersion": "8.3.4",
+ "pluginVersion": "11.1.0",
"targets": [
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
"expr": "sum(jvm_memory_used_bytes{application=\"$application\",instance=\"$instance\",area=\"nonheap\"})*100/sum(jvm_memory_max_bytes{application=\"$application\",instance=\"$instance\",area=\"nonheap\"})",
"format": "time_series",
"intervalFactor": 2,
@@ -365,58 +404,97 @@
"type": "gauge"
},
{
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
"datasource": {
"type": "prometheus",
"uid": "dkSf71fnz"
},
"fieldConfig": {
"defaults": {
- "links": []
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "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": []
},
- "fill": 1,
- "fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 7
},
- "hiddenSeries": false,
"id": 95,
- "legend": {
- "alignAsTable": true,
- "avg": true,
- "current": true,
- "max": true,
- "min": true,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
"options": {
- "alertThreshold": true
+ "legend": {
+ "calcs": [
+ "mean",
+ "lastNotNull",
+ "max",
+ "min"
+ ],
+ "displayMode": "table",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
},
- "percentage": false,
"pluginVersion": "8.3.4",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
"targets": [
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
"expr": "system_cpu_usage{instance=\"$instance\",application=\"$application\"}",
"format": "time_series",
"intervalFactor": 1,
@@ -424,6 +502,10 @@
"refId": "A"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
"expr": "process_cpu_usage{instance=\"$instance\",application=\"$application\"}",
"format": "time_series",
"intervalFactor": 1,
@@ -431,89 +513,101 @@
"refId": "B"
}
],
- "thresholds": [],
- "timeRegions": [],
"title": "CPU Usage",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
+ "type": "timeseries"
},
{
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
"datasource": {
"type": "prometheus",
"uid": "dkSf71fnz"
},
"fieldConfig": {
"defaults": {
- "links": []
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "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": []
},
- "fill": 1,
- "fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
"y": 7
},
- "hiddenSeries": false,
"id": 96,
- "legend": {
- "alignAsTable": true,
- "avg": true,
- "current": true,
- "max": true,
- "min": true,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
- "links": [],
- "nullPointMode": "null",
"options": {
- "alertThreshold": true
+ "legend": {
+ "calcs": [
+ "mean",
+ "lastNotNull",
+ "max",
+ "min"
+ ],
+ "displayMode": "table",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
},
- "percentage": false,
"pluginVersion": "8.3.4",
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
"targets": [
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
"expr": "system_load_average_1m{instance=\"$instance\",application=\"$application\"}",
"format": "time_series",
"intervalFactor": 1,
@@ -521,6 +615,10 @@
"refId": "A"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
"expr": "system_cpu_count{instance=\"$instance\",application=\"$application\"}",
"format": "time_series",
"intervalFactor": 1,
@@ -528,35 +626,8 @@
"refId": "B"
}
],
- "thresholds": [],
- "timeRegions": [],
"title": "Load Average",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "graph",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ],
- "yaxis": {
- "align": false
- }
+ "type": "timeseries"
},
{
"datasource": {
@@ -569,6 +640,9 @@
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -580,6 +654,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -622,20 +697,25 @@
"y": 14
},
"id": 66,
- "links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
- "placement": "bottom"
+ "placement": "bottom",
+ "showLegend": true
},
"tooltip": {
- "mode": "single"
+ "mode": "single",
+ "sort": "none"
}
},
"pluginVersion": "8.3.4",
"targets": [
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
"expr": "http_server_requests_seconds_count{instance=\"$instance\",application=\"$application\"}",
"format": "time_series",
"interval": "",
@@ -658,6 +738,9 @@
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -669,6 +752,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -711,20 +795,25 @@
"y": 14
},
"id": 110,
- "links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
- "placement": "bottom"
+ "placement": "bottom",
+ "showLegend": true
},
"tooltip": {
- "mode": "single"
+ "mode": "single",
+ "sort": "none"
}
},
"pluginVersion": "8.3.4",
"targets": [
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
"expr": "http_server_requests_seconds_sum{instance=\"$instance\",application=\"$application\"}",
"format": "time_series",
"interval": "",
@@ -747,6 +836,9 @@
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -758,6 +850,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -800,20 +893,25 @@
"y": 14
},
"id": 111,
- "links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
- "placement": "bottom"
+ "placement": "bottom",
+ "showLegend": true
},
"tooltip": {
- "mode": "single"
+ "mode": "single",
+ "sort": "none"
}
},
"pluginVersion": "8.3.4",
"targets": [
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
"expr": "http_server_requests_seconds_max{instance=\"$instance\",application=\"$application\"}",
"format": "time_series",
"interval": "",
@@ -827,6 +925,10 @@
},
{
"collapsed": false,
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
"gridPos": {
"h": 1,
"w": 24,
@@ -835,6 +937,15 @@
},
"id": 48,
"panels": [],
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
+ "refId": "A"
+ }
+ ],
"title": "JVM Statistics - Memory",
"type": "row"
},
@@ -849,6 +960,9 @@
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -860,6 +974,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -902,7 +1017,6 @@
"y": 21
},
"id": 85,
- "links": [],
"options": {
"legend": {
"calcs": [
@@ -912,10 +1026,12 @@
"min"
],
"displayMode": "table",
- "placement": "bottom"
+ "placement": "bottom",
+ "showLegend": true
},
"tooltip": {
- "mode": "single"
+ "mode": "single",
+ "sort": "none"
}
},
"pluginVersion": "8.3.4",
@@ -923,6 +1039,10 @@
"repeatDirection": "h",
"targets": [
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
"expr": "jvm_memory_used_bytes{instance=\"$instance\",application=\"$application\",id=\"$memory_pool_heap\"}",
"format": "time_series",
"intervalFactor": 1,
@@ -930,6 +1050,10 @@
"refId": "C"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
"expr": "jvm_memory_committed_bytes{instance=\"$instance\",application=\"$application\",id=\"$memory_pool_heap\"}",
"format": "time_series",
"intervalFactor": 1,
@@ -937,6 +1061,10 @@
"refId": "A"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
"expr": "jvm_memory_max_bytes{instance=\"$instance\",application=\"$application\",id=\"$memory_pool_heap\"}",
"format": "time_series",
"intervalFactor": 1,
@@ -948,12 +1076,19 @@
"type": "timeseries"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -965,6 +1100,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -1007,7 +1143,6 @@
"y": 31
},
"id": 88,
- "links": [],
"options": {
"legend": {
"calcs": [
@@ -1017,10 +1152,12 @@
"min"
],
"displayMode": "table",
- "placement": "bottom"
+ "placement": "bottom",
+ "showLegend": true
},
"tooltip": {
- "mode": "single"
+ "mode": "single",
+ "sort": "none"
}
},
"pluginVersion": "8.3.4",
@@ -1071,12 +1208,19 @@
"type": "timeseries"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -1088,6 +1232,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -1127,10 +1272,9 @@
"h": 8,
"w": 12,
"x": 12,
- "y": 31
+ "y": 41
},
"id": 80,
- "links": [],
"options": {
"legend": {
"calcs": [
@@ -1138,10 +1282,12 @@
"max"
],
"displayMode": "list",
- "placement": "bottom"
+ "placement": "bottom",
+ "showLegend": true
},
"tooltip": {
- "mode": "single"
+ "mode": "single",
+ "sort": "none"
}
},
"pluginVersion": "8.3.4",
@@ -1152,7 +1298,7 @@
"uid": "dkSf71fnz"
},
"exemplar": true,
- "expr": "irate(jvm_classes_unloaded_classes_total{instance=\"$instance\"}[5m])",
+ "expr": "irate(jvm_classes_unloaded_classes_total{instance=\"$instance\"}[$__range])",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
@@ -1164,12 +1310,19 @@
"type": "timeseries"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -1181,6 +1334,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -1220,18 +1374,19 @@
"h": 7,
"w": 12,
"x": 12,
- "y": 39
+ "y": 49
},
"id": 83,
- "links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
- "placement": "bottom"
+ "placement": "bottom",
+ "showLegend": true
},
"tooltip": {
- "mode": "single"
+ "mode": "single",
+ "sort": "none"
}
},
"pluginVersion": "8.3.4",
@@ -1267,12 +1422,19 @@
"type": "timeseries"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -1284,6 +1446,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -1327,7 +1490,6 @@
"y": 51
},
"id": 50,
- "links": [],
"options": {
"legend": {
"calcs": [
@@ -1337,10 +1499,12 @@
"min"
],
"displayMode": "table",
- "placement": "bottom"
+ "placement": "bottom",
+ "showLegend": true
},
"tooltip": {
- "mode": "single"
+ "mode": "single",
+ "sort": "none"
}
},
"pluginVersion": "8.3.4",
@@ -1363,12 +1527,19 @@
"type": "timeseries"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -1380,6 +1551,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -1422,15 +1594,16 @@
"y": 56
},
"id": 78,
- "links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
- "placement": "bottom"
+ "placement": "bottom",
+ "showLegend": true
},
"tooltip": {
- "mode": "single"
+ "mode": "single",
+ "sort": "none"
}
},
"pluginVersion": "8.3.4",
@@ -1441,7 +1614,7 @@
"uid": "dkSf71fnz"
},
"exemplar": true,
- "expr": "irate(jvm_gc_memory_allocated_bytes_total{instance=\"$instance\"}[5m])",
+ "expr": "irate(jvm_gc_memory_allocated_bytes_total{instance=\"$instance\"}[$__range])",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
@@ -1454,7 +1627,7 @@
"uid": "dkSf71fnz"
},
"exemplar": true,
- "expr": "irate(jvm_gc_memory_promoted_bytes_total{instance=\"$instance\"}[5m])",
+ "expr": "irate(jvm_gc_memory_promoted_bytes_total{instance=\"$instance\"}[$__range])",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
@@ -1476,6 +1649,9 @@
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -1487,6 +1663,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -1529,20 +1706,25 @@
"y": 59
},
"id": 82,
- "links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
- "placement": "bottom"
+ "placement": "bottom",
+ "showLegend": true
},
"tooltip": {
- "mode": "single"
+ "mode": "single",
+ "sort": "none"
}
},
"pluginVersion": "8.3.4",
"targets": [
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
"expr": "jvm_buffer_memory_used_bytes{instance=\"$instance\",application=\"$application\",id=\"direct\"}",
"format": "time_series",
"intervalFactor": 1,
@@ -1550,6 +1732,10 @@
"refId": "A"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
"expr": "jvm_buffer_total_capacity_bytes{instance=\"$instance\",application=\"$application\",id=\"direct\"}",
"format": "time_series",
"intervalFactor": 1,
@@ -1561,12 +1747,19 @@
"type": "timeseries"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -1578,6 +1771,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -1620,7 +1814,6 @@
"y": 66
},
"id": 68,
- "links": [],
"options": {
"legend": {
"calcs": [
@@ -1630,10 +1823,12 @@
"min"
],
"displayMode": "table",
- "placement": "bottom"
+ "placement": "bottom",
+ "showLegend": true
},
"tooltip": {
- "mode": "single"
+ "mode": "single",
+ "sort": "none"
}
},
"pluginVersion": "8.3.4",
@@ -1683,6 +1878,10 @@
},
{
"collapsed": false,
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
"gridPos": {
"h": 1,
"w": 24,
@@ -1691,16 +1890,32 @@
},
"id": 72,
"panels": [],
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
+ "refId": "A"
+ }
+ ],
"title": "JVM Statistics - GC",
"type": "row"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -1712,6 +1927,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -1754,7 +1970,6 @@
"y": 75
},
"id": 74,
- "links": [],
"options": {
"legend": {
"calcs": [
@@ -1764,10 +1979,12 @@
"sum"
],
"displayMode": "table",
- "placement": "bottom"
+ "placement": "bottom",
+ "showLegend": true
},
"tooltip": {
- "mode": "single"
+ "mode": "single",
+ "sort": "none"
}
},
"pluginVersion": "8.3.4",
@@ -1778,7 +1995,7 @@
"uid": "dkSf71fnz"
},
"exemplar": true,
- "expr": "irate(jvm_gc_pause_seconds_count{instance=\"$instance\"}[5m])",
+ "expr": "irate(jvm_gc_pause_seconds_count{instance=\"$instance\"}[$__range])",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
@@ -1800,6 +2017,9 @@
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -1811,6 +2031,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -1853,7 +2074,6 @@
"y": 75
},
"id": 76,
- "links": [],
"options": {
"legend": {
"calcs": [
@@ -1863,16 +2083,22 @@
"sum"
],
"displayMode": "table",
- "placement": "bottom"
+ "placement": "bottom",
+ "showLegend": true
},
"tooltip": {
- "mode": "single"
+ "mode": "single",
+ "sort": "none"
}
},
"pluginVersion": "8.3.4",
"targets": [
{
- "expr": "irate(jvm_gc_pause_seconds_sum{instance=\"$instance\",application=\"$application\"}[5m])",
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
+ "expr": "irate(jvm_gc_pause_seconds_sum{instance=\"$instance\",application=\"$application\"}[$__range])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{action}} [{{cause}}]",
@@ -1884,6 +2110,10 @@
},
{
"collapsed": false,
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
"gridPos": {
"h": 1,
"w": 24,
@@ -1892,92 +2122,32 @@
},
"id": 34,
"panels": [],
- "title": "HikariCP Statistics",
- "type": "row"
- },
- {
- "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": "none"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 4,
- "w": 4,
- "x": 0,
- "y": 86
- },
- "id": 44,
- "links": [],
- "maxDataPoints": 100,
- "options": {
- "colorMode": "none",
- "graphMode": "none",
- "justifyMode": "auto",
- "orientation": "horizontal",
- "reduceOptions": {
- "calcs": [
- "lastNotNull"
- ],
- "fields": "/^hikaricp_connections{app=\"orders\",app_kubernetes_io_instance=\"mushop\",app_kubernetes_io_name=\"orders\",instance=\"10.1.0.72:80\",job=\"kubernetes-pods\",kubernetes_namespace=\"mushop\",kubernetes_pod_name=\"mushop-orders-67bb8f45c8-5cr5p\",mockmode=\"false\",pod_template_hash=\"67bb8f45c8\",pool=\"HikariPool-1\",version=\"local\"}$/",
- "values": false
- },
- "textMode": "auto"
- },
- "pluginVersion": "8.3.4",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "dkSf71fnz"
},
- "exemplar": true,
- "expr": "hikaricp_connections{instance=\"$instance\",application=\"$application\",pool=\"$hikaricp\"}",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 1,
- "legendFormat": "",
"refId": "A"
}
],
- "title": "Connections Size",
- "type": "stat"
+ "title": "HikariCP Statistics",
+ "type": "row"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -1989,6 +2159,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -2026,12 +2197,11 @@
},
"gridPos": {
"h": 8,
- "w": 20,
- "x": 4,
+ "w": 12,
+ "x": 0,
"y": 86
},
"id": 36,
- "links": [],
"options": {
"legend": {
"calcs": [
@@ -2041,10 +2211,12 @@
"min"
],
"displayMode": "table",
- "placement": "bottom"
+ "placement": "bottom",
+ "showLegend": true
},
"tooltip": {
- "mode": "single"
+ "mode": "single",
+ "sort": "none"
}
},
"pluginVersion": "8.3.4",
@@ -2091,82 +2263,6 @@
"type": "timeseries"
},
{
- "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": "none"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 4,
- "w": 4,
- "x": 0,
- "y": 90
- },
- "id": 46,
- "links": [],
- "maxDataPoints": 100,
- "options": {
- "colorMode": "none",
- "graphMode": "none",
- "justifyMode": "auto",
- "orientation": "horizontal",
- "reduceOptions": {
- "calcs": [
- "lastNotNull"
- ],
- "fields": "/^hikaricp_connections_timeout_total{app=\"orders\",app_kubernetes_io_instance=\"mushop\",app_kubernetes_io_name=\"orders\",instance=\"10.1.0.72:80\",job=\"kubernetes-pods\",kubernetes_namespace=\"mushop\",kubernetes_pod_name=\"mushop-orders-67bb8f45c8-5cr5p\",mockmode=\"false\",pod_template_hash=\"67bb8f45c8\",pool=\"HikariPool-1\",version=\"local\"}$/",
- "values": false
- },
- "textMode": "auto"
- },
- "pluginVersion": "8.3.4",
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "dkSf71fnz"
- },
- "exemplar": true,
- "expr": "hikaricp_connections_timeout_total{instance=\"$instance\",application=\"$application\",pool=\"$hikaricp\"}",
- "format": "time_series",
- "interval": "",
- "intervalFactor": 1,
- "legendFormat": "",
- "refId": "A"
- }
- ],
- "title": "Connection Timeout Count",
- "type": "stat"
- },
- {
"datasource": {
"type": "prometheus",
"uid": "dkSf71fnz"
@@ -2177,6 +2273,9 @@
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -2188,6 +2287,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -2224,34 +2324,39 @@
"overrides": []
},
"gridPos": {
- "h": 6,
- "w": 8,
- "x": 0,
- "y": 94
+ "h": 8,
+ "w": 12,
+ "x": 12,
+ "y": 86
},
- "id": 38,
- "links": [],
+ "id": 40,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
- "placement": "bottom"
+ "placement": "bottom",
+ "showLegend": true
},
"tooltip": {
- "mode": "single"
+ "mode": "single",
+ "sort": "none"
}
},
"pluginVersion": "8.3.4",
"targets": [
{
- "expr": "hikaricp_connections_creation_seconds_sum{instance=\"$instance\",application=\"$application\",pool=\"$hikaricp\"} / hikaricp_connections_creation_seconds_count{instance=\"$instance\",application=\"$application\",pool=\"$hikaricp\"}",
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
+ "expr": "hikaricp_connections_acquire_seconds_sum{instance=\"$instance\",application=\"$application\",pool=\"$hikaricp\"} / hikaricp_connections_acquire_seconds_count{instance=\"$instance\",application=\"$application\",pool=\"$hikaricp\"}",
"format": "time_series",
"intervalFactor": 1,
- "legendFormat": "Creation Time",
+ "legendFormat": "Acquire Time",
"refId": "A"
}
],
- "title": "Connection Creation Time",
+ "title": "Connection Acquire Time",
"type": "timeseries"
},
{
@@ -2265,6 +2370,9 @@
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -2276,6 +2384,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -2314,32 +2423,37 @@
"gridPos": {
"h": 6,
"w": 8,
- "x": 8,
+ "x": 0,
"y": 94
},
- "id": 42,
- "links": [],
+ "id": 38,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
- "placement": "bottom"
+ "placement": "bottom",
+ "showLegend": true
},
"tooltip": {
- "mode": "single"
+ "mode": "single",
+ "sort": "none"
}
},
"pluginVersion": "8.3.4",
"targets": [
{
- "expr": "hikaricp_connections_usage_seconds_sum{instance=\"$instance\",application=\"$application\",pool=\"$hikaricp\"} / hikaricp_connections_usage_seconds_count{instance=\"$instance\",application=\"$application\",pool=\"$hikaricp\"}",
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
+ "expr": "hikaricp_connections_creation_seconds_sum{instance=\"$instance\",application=\"$application\",pool=\"$hikaricp\"} / hikaricp_connections_creation_seconds_count{instance=\"$instance\",application=\"$application\",pool=\"$hikaricp\"}",
"format": "time_series",
"intervalFactor": 1,
- "legendFormat": "Usage Time",
+ "legendFormat": "Creation Time",
"refId": "A"
}
],
- "title": "Connection Usage Time",
+ "title": "Connection Creation Time",
"type": "timeseries"
},
{
@@ -2353,6 +2467,9 @@
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -2364,6 +2481,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -2402,36 +2520,45 @@
"gridPos": {
"h": 6,
"w": 8,
- "x": 16,
+ "x": 8,
"y": 94
},
- "id": 40,
- "links": [],
+ "id": 42,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
- "placement": "bottom"
+ "placement": "bottom",
+ "showLegend": true
},
"tooltip": {
- "mode": "single"
+ "mode": "single",
+ "sort": "none"
}
},
"pluginVersion": "8.3.4",
"targets": [
{
- "expr": "hikaricp_connections_acquire_seconds_sum{instance=\"$instance\",application=\"$application\",pool=\"$hikaricp\"} / hikaricp_connections_acquire_seconds_count{instance=\"$instance\",application=\"$application\",pool=\"$hikaricp\"}",
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
+ "expr": "hikaricp_connections_usage_seconds_sum{instance=\"$instance\",application=\"$application\",pool=\"$hikaricp\"} / hikaricp_connections_usage_seconds_count{instance=\"$instance\",application=\"$application\",pool=\"$hikaricp\"}",
"format": "time_series",
"intervalFactor": 1,
- "legendFormat": "Acquire Time",
+ "legendFormat": "Usage Time",
"refId": "A"
}
],
- "title": "Connection Acquire Time",
+ "title": "Connection Usage Time",
"type": "timeseries"
},
{
"collapsed": false,
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
"gridPos": {
"h": 1,
"w": 24,
@@ -2440,10 +2567,23 @@
},
"id": 101,
"panels": [],
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
+ "refId": "A"
+ }
+ ],
"title": "Database Stats",
"type": "row"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
"description": "",
"fieldConfig": {
"defaults": {
@@ -2483,7 +2623,6 @@
"y": 101
},
"id": 102,
- "links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
@@ -2495,6 +2634,7 @@
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
+ "percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"last"
@@ -2502,9 +2642,11 @@
"fields": "",
"values": false
},
- "textMode": "auto"
+ "showPercentChange": false,
+ "textMode": "auto",
+ "wideLayout": true
},
- "pluginVersion": "8.3.4",
+ "pluginVersion": "11.1.0",
"targets": [
{
"datasource": {
@@ -2526,6 +2668,10 @@
"type": "stat"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
"description": "",
"fieldConfig": {
"defaults": {
@@ -2565,7 +2711,6 @@
"y": 101
},
"id": 106,
- "links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
@@ -2577,6 +2722,7 @@
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
+ "percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"last"
@@ -2584,9 +2730,11 @@
"fields": "",
"values": false
},
- "textMode": "auto"
+ "showPercentChange": false,
+ "textMode": "auto",
+ "wideLayout": true
},
- "pluginVersion": "8.3.4",
+ "pluginVersion": "11.1.0",
"targets": [
{
"datasource": {
@@ -2608,6 +2756,10 @@
"type": "stat"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
"description": "",
"fieldConfig": {
"defaults": {
@@ -2647,7 +2799,6 @@
"y": 101
},
"id": 108,
- "links": [],
"maxDataPoints": 100,
"options": {
"colorMode": "value",
@@ -2659,6 +2810,7 @@
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
+ "percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"last"
@@ -2666,9 +2818,11 @@
"fields": "",
"values": false
},
- "textMode": "auto"
+ "showPercentChange": false,
+ "textMode": "auto",
+ "wideLayout": true
},
- "pluginVersion": "8.3.4",
+ "pluginVersion": "11.1.0",
"targets": [
{
"datasource": {
@@ -2690,6 +2844,10 @@
"type": "stat"
},
{
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
"description": "",
"fieldConfig": {
"defaults": {
@@ -2697,6 +2855,9 @@
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -2708,6 +2869,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -2760,7 +2922,6 @@
"y": 104
},
"id": 107,
- "links": [],
"maxDataPoints": 100,
"options": {
"legend": {
@@ -2770,10 +2931,12 @@
"max"
],
"displayMode": "table",
- "placement": "bottom"
+ "placement": "bottom",
+ "showLegend": true
},
"tooltip": {
- "mode": "single"
+ "mode": "single",
+ "sort": "none"
}
},
"pluginVersion": "8.3.4",
@@ -2784,7 +2947,7 @@
"uid": "dkSf71fnz"
},
"exemplar": true,
- "expr": "sum(rate(spring_data_repository_invocations_seconds_max{instance=\"$instance\"}[5m]))",
+ "expr": "sum(rate(spring_data_repository_invocations_seconds_max{instance=\"$instance\"}[$__range]))",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
@@ -2799,6 +2962,10 @@
},
{
"collapsed": false,
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
"gridPos": {
"h": 1,
"w": 24,
@@ -2807,6 +2974,15 @@
},
"id": 18,
"panels": [],
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
+ "refId": "A"
+ }
+ ],
"title": "HTTP Statistics",
"type": "row"
},
@@ -2821,6 +2997,9 @@
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -2832,6 +3011,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -2874,21 +3054,26 @@
"y": 113
},
"id": 4,
- "links": [],
"options": {
"legend": {
"calcs": [],
"displayMode": "table",
- "placement": "right"
+ "placement": "right",
+ "showLegend": true
},
"tooltip": {
- "mode": "single"
+ "mode": "single",
+ "sort": "none"
}
},
"pluginVersion": "8.3.4",
"targets": [
{
- "expr": "irate(http_server_requests_seconds_count{instance=\"$instance\",application=\"$application\",uri!~\".*actuator.*\"}[5m])",
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
+ "expr": "irate(http_server_requests_seconds_count{instance=\"$instance\",application=\"$application\",uri!~\".*actuator.*\"}[$__range])",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
@@ -2910,6 +3095,9 @@
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -2921,6 +3109,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -2963,7 +3152,6 @@
"y": 120
},
"id": 2,
- "links": [],
"options": {
"legend": {
"calcs": [
@@ -2972,19 +3160,27 @@
"min"
],
"displayMode": "table",
- "placement": "right"
+ "placement": "right",
+ "showLegend": true
},
"tooltip": {
- "mode": "single"
+ "mode": "single",
+ "sort": "none"
}
},
"pluginVersion": "8.3.4",
"targets": [
{
- "expr": "irate(http_server_requests_seconds_sum{instance=\"$instance\",application=\"$application\",exception=\"None\",uri!~\".*actuator.*\"}[5m]) / irate(http_server_requests_seconds_count{instance=\"$instance\",application=\"$application\",exception=\"None\",uri!~\".*actuator.*\"}[5m])",
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
+ "editorMode": "code",
+ "expr": "irate(http_server_requests_seconds_sum{instance=\"$instance\"}[$__range]) / irate(http_server_requests_seconds_count{instance=\"$instance\"}[$__range])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{method}} [{{status}}] - {{uri}}",
+ "range": true,
"refId": "A"
}
],
@@ -2993,6 +3189,10 @@
},
{
"collapsed": false,
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
"gridPos": {
"h": 1,
"w": 24,
@@ -3001,6 +3201,15 @@
},
"id": 8,
"panels": [],
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
+ "refId": "A"
+ }
+ ],
"title": "Logback Statistics",
"type": "row"
},
@@ -3015,6 +3224,9 @@
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -3026,6 +3238,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -3068,7 +3281,6 @@
"y": 128
},
"id": 6,
- "links": [],
"options": {
"legend": {
"calcs": [
@@ -3079,20 +3291,28 @@
"sum"
],
"displayMode": "table",
- "placement": "bottom"
+ "placement": "bottom",
+ "showLegend": true
},
"tooltip": {
- "mode": "single"
+ "mode": "single",
+ "sort": "none"
}
},
"pluginVersion": "8.3.4",
"targets": [
{
"alias": "",
- "expr": "irate(logback_events_total{instance=\"$instance\",application=\"$application\",level=\"info\"}[5m])",
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
+ "editorMode": "code",
+ "expr": "irate(logback_events_total{instance=\"$instance\",level=\"info\"}[$__range])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "info",
+ "range": true,
"rawSql": "SELECT\n $__time(time_column),\n value1\nFROM\n metric_table\nWHERE\n $__timeFilter(time_column)\n",
"refId": "A"
}
@@ -3111,6 +3331,9 @@
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -3122,6 +3345,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -3164,7 +3388,6 @@
"y": 128
},
"id": 10,
- "links": [],
"options": {
"legend": {
"calcs": [
@@ -3175,20 +3398,28 @@
"sum"
],
"displayMode": "table",
- "placement": "bottom"
+ "placement": "bottom",
+ "showLegend": true
},
"tooltip": {
- "mode": "single"
+ "mode": "single",
+ "sort": "none"
}
},
"pluginVersion": "8.3.4",
"targets": [
{
"alias": "",
- "expr": "irate(logback_events_total{instance=\"$instance\",application=\"$application\",level=\"error\"}[5m])",
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
+ "editorMode": "code",
+ "expr": "irate(logback_events_total{instance=\"$instance\",level=\"error\"}[$__range])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "error",
+ "range": true,
"rawSql": "SELECT\n $__time(time_column),\n value1\nFROM\n metric_table\nWHERE\n $__timeFilter(time_column)\n",
"refId": "A"
}
@@ -3207,6 +3438,9 @@
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -3218,6 +3452,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -3240,8 +3475,7 @@
"mode": "absolute",
"steps": [
{
- "color": "green",
- "value": null
+ "color": "green"
},
{
"color": "red",
@@ -3260,7 +3494,6 @@
"y": 135
},
"id": 14,
- "links": [],
"options": {
"legend": {
"calcs": [
@@ -3271,20 +3504,28 @@
"sum"
],
"displayMode": "table",
- "placement": "bottom"
+ "placement": "bottom",
+ "showLegend": true
},
"tooltip": {
- "mode": "single"
+ "mode": "single",
+ "sort": "none"
}
},
"pluginVersion": "8.3.4",
"targets": [
{
"alias": "",
- "expr": "irate(logback_events_total{instance=\"$instance\",application=\"$application\",level=\"warn\"}[5m])",
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
+ "editorMode": "code",
+ "expr": "irate(logback_events_total{instance=\"$instance\",level=\"warn\"}[$__range])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "warn",
+ "range": true,
"rawSql": "SELECT\n $__time(time_column),\n value1\nFROM\n metric_table\nWHERE\n $__timeFilter(time_column)\n",
"refId": "A"
}
@@ -3303,6 +3544,9 @@
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -3314,6 +3558,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -3336,8 +3581,7 @@
"mode": "absolute",
"steps": [
{
- "color": "green",
- "value": null
+ "color": "green"
},
{
"color": "red",
@@ -3356,7 +3600,6 @@
"y": 135
},
"id": 16,
- "links": [],
"options": {
"legend": {
"calcs": [
@@ -3367,17 +3610,23 @@
"sum"
],
"displayMode": "table",
- "placement": "bottom"
+ "placement": "bottom",
+ "showLegend": true
},
"tooltip": {
- "mode": "single"
+ "mode": "single",
+ "sort": "none"
}
},
"pluginVersion": "8.3.4",
"targets": [
{
"alias": "",
- "expr": "irate(logback_events_total{instance=\"$instance\",application=\"$application\",level=\"debug\"}[5m])",
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
+ "expr": "irate(logback_events_total{instance=\"$instance\",application=\"$application\",level=\"debug\"}[$__range])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "debug",
@@ -3399,6 +3648,9 @@
"mode": "palette-classic"
},
"custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
@@ -3410,6 +3662,7 @@
"tooltip": false,
"viz": false
},
+ "insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
@@ -3432,8 +3685,7 @@
"mode": "absolute",
"steps": [
{
- "color": "green",
- "value": null
+ "color": "green"
},
{
"color": "red",
@@ -3452,7 +3704,6 @@
"y": 135
},
"id": 20,
- "links": [],
"options": {
"legend": {
"calcs": [
@@ -3463,20 +3714,28 @@
"sum"
],
"displayMode": "table",
- "placement": "bottom"
+ "placement": "bottom",
+ "showLegend": true
},
"tooltip": {
- "mode": "single"
+ "mode": "single",
+ "sort": "none"
}
},
"pluginVersion": "8.3.4",
"targets": [
{
"alias": "",
- "expr": "irate(logback_events_total{instance=\"$instance\",application=\"$application\",level=\"trace\"}[5m])",
+ "datasource": {
+ "type": "prometheus",
+ "uid": "dkSf71fnz"
+ },
+ "editorMode": "code",
+ "expr": "irate(logback_events_total{instance=\"$instance\",level=\"trace\"}[$__range])",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "trace",
+ "range": true,
"rawSql": "SELECT\n $__time(time_column),\n value1\nFROM\n metric_table\nWHERE\n $__timeFilter(time_column)\n",
"refId": "A"
}
@@ -3486,8 +3745,7 @@
}
],
"refresh": "10s",
- "schemaVersion": 34,
- "style": "dark",
+ "schemaVersion": 39,
"tags": [],
"templating": {
"list": [
@@ -3554,10 +3812,9 @@
},
{
"current": {
- "isNone": true,
"selected": false,
- "text": "None",
- "value": ""
+ "text": "HikariPool-1",
+ "value": "HikariPool-1"
},
"datasource": {
"type": "prometheus",
@@ -3646,7 +3903,7 @@
]
},
"time": {
- "from": "now-15m",
+ "from": "now-30m",
"to": "now"
},
"timepicker": {
@@ -3676,6 +3933,6 @@
"timezone": "",
"title": "Spring Boot Statistics & Endpoint Metrics",
"uid": "OS7-NUiGz",
- "version": 1,
+ "version": 2,
"weekStart": ""
} \ No newline at end of file