feat: updated Grafana dashboard

This commit is contained in:
Andrey Terentev 2024-11-30 01:46:10 +07:00
parent 502ffbadb3
commit f46ce9b5be

View File

@ -482,10 +482,12 @@
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "sum(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\"})*100/sum(jvm_memory_max_bytes{application=\"$application\",instance=\"$instance\", area=\"heap\"})",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "",
"range": true,
"refId": "A",
"step": 14400
}
@ -1018,8 +1020,8 @@
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
"fillOpacity": 20,
"gradientMode": "hue",
"hideFrom": {
"legend": false,
"tooltip": false,
@ -1027,7 +1029,7 @@
},
"insertNulls": false,
"lineInterpolation": "linear",
"lineWidth": 1,
"lineWidth": 3,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
@ -1092,7 +1094,7 @@
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "process_cpu_seconds_total{application=\"$application\", instance=\"$instance\"}",
"expr": "sum(increase(process_cpu_seconds_total{application=\"$application\", instance=\"$instance\"}[$__range]))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "cpu",
@ -2192,6 +2194,6 @@
"timezone": "browser",
"title": "JVM",
"uid": "ae5ew9zzh8cu8e",
"version": 20,
"version": 21,
"weekStart": ""
}