@ -23,8 +23,7 @@
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"enable" : true ,
"expr" : "resets(process_uptime_seconds{application=\"$application\", instance=\"$instance\"}[1m]) > 0" ,
@ -91,8 +90,7 @@
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"fieldConfig" : {
"defaults" : {
@ -155,8 +153,7 @@
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "process_uptime_seconds{application=\"$application\", instance=\"$instance\"}" ,
"format" : "time_series" ,
@ -172,8 +169,7 @@
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"fieldConfig" : {
"defaults" : {
@ -235,8 +231,7 @@
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "process_start_time_seconds{application=\"$application\", instance=\"$instance\"}*1000" ,
"format" : "time_series" ,
@ -252,8 +247,7 @@
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"fieldConfig" : {
"defaults" : {
@ -320,8 +314,7 @@
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"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" ,
@ -336,8 +329,7 @@
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"fieldConfig" : {
"defaults" : {
@ -414,8 +406,7 @@
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"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" ,
@ -458,8 +449,7 @@
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"description" : "平均每秒处理的请求数" ,
"fieldConfig" : {
@ -506,8 +496,7 @@
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "sum(rate(http_server_requests_seconds_count{application=\"$application\", instance=\"$instance\"}[1m]))" ,
"format" : "time_series" ,
@ -556,8 +545,7 @@
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"fieldConfig" : {
"defaults" : {
@ -603,8 +591,7 @@
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "sum(rate(http_server_requests_seconds_count{application=\"$application\", instance=\"$instance\", status=~\"5..\"}[1m]))" ,
"format" : "time_series" ,
@ -650,8 +637,7 @@
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"fieldConfig" : {
"defaults" : {
@ -697,8 +683,7 @@
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "sum(rate(http_server_requests_seconds_sum{application=\"$application\", instance=\"$instance\", status!~\"5..\"}[1m]))/sum(rate(http_server_requests_seconds_count{application=\"$application\", instance=\"$instance\", status!~\"5..\"}[1m]))" ,
"format" : "time_series" ,
@ -709,8 +694,7 @@
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "max(http_server_requests_seconds_max{application=\"$application\", instance=\"$instance\", status!~\"5..\"})" ,
"format" : "time_series" ,
@ -757,8 +741,7 @@
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"description" : "饱和度指标来自于Google SRE的的黄金指标, 指服务的过载程度, 当系统过载时, 往往意味着请求需要排队处理" ,
"fieldConfig" : {
@ -806,8 +789,7 @@
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "tomcat_threads_busy_threads{application=\"$application\", instance=\"$instance\"}" ,
"format" : "time_series" ,
@ -818,8 +800,7 @@
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "tomcat_threads_current_threads{application=\"$application\", instance=\"$instance\"}" ,
"format" : "time_series" ,
@ -830,8 +811,7 @@
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "tomcat_threads_config_max_threads{application=\"$application\", instance=\"$instance\"}" ,
"format" : "time_series" ,
@ -842,8 +822,7 @@
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "jetty_threads_busy{application=\"$application\", instance=\"$instance\"}" ,
"format" : "time_series" ,
@ -854,8 +833,7 @@
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "jetty_threads_current{application=\"$application\", instance=\"$instance\"}" ,
"format" : "time_series" ,
@ -866,8 +844,7 @@
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "jetty_threads_config_max{application=\"$application\", instance=\"$instance\"}" ,
"format" : "time_series" ,
@ -938,8 +915,7 @@
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"editable" : true ,
"error" : false ,
@ -991,8 +967,7 @@
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "sum(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\"})" ,
"format" : "time_series" ,
@ -1004,8 +979,7 @@
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "sum(jvm_memory_committed_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\"})" ,
"format" : "time_series" ,
@ -1016,8 +990,7 @@
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "sum(jvm_memory_max_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\"})" ,
"format" : "time_series" ,
@ -1071,8 +1044,7 @@
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"editable" : true ,
"error" : false ,
@ -1124,8 +1096,7 @@
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "sum(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"nonheap\"})" ,
"format" : "time_series" ,
@ -1138,8 +1109,7 @@
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "sum(jvm_memory_committed_bytes{application=\"$application\", instance=\"$instance\", area=\"nonheap\"})" ,
"format" : "time_series" ,
@ -1150,8 +1120,7 @@
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "sum(jvm_memory_max_bytes{application=\"$application\", instance=\"$instance\", area=\"nonheap\"})" ,
"format" : "time_series" ,
@ -1205,8 +1174,7 @@
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"editable" : true ,
"error" : false ,
@ -1259,8 +1227,7 @@
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "sum(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\"})" ,
"format" : "time_series" ,
@ -1272,8 +1239,7 @@
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "sum(jvm_memory_committed_bytes{application=\"$application\", instance=\"$instance\"})" ,
"format" : "time_series" ,
@ -1284,8 +1250,7 @@
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "sum(jvm_memory_max_bytes{application=\"$application\", instance=\"$instance\"})" ,
"format" : "time_series" ,
@ -1340,8 +1305,7 @@
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"description" : "从操作系统层面看JVM进程的内存使用, 因为JVM并不是直接按照配置的内存参数申请全部内存" ,
"editable" : true ,
@ -1394,8 +1358,7 @@
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "process_memory_vss_bytes{application=\"$application\", instance=\"$instance\"}" ,
"format" : "time_series" ,
@ -1408,8 +1371,7 @@
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "process_memory_rss_bytes{application=\"$application\", instance=\"$instance\"}" ,
"format" : "time_series" ,
@ -1419,8 +1381,7 @@
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "process_memory_swap_bytes{application=\"$application\", instance=\"$instance\"}" ,
"format" : "time_series" ,
@ -1430,8 +1391,7 @@
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "process_memory_rss_bytes{application=\"$application\", instance=\"$instance\"} + process_memory_swap_bytes{application=\"$application\", instance=\"$instance\"}" ,
"format" : "time_series" ,
@ -1482,8 +1442,7 @@
{
"collapsed" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"gridPos" : {
"h" : 1 ,
@ -1496,8 +1455,7 @@
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"refId" : "A"
}
@ -1511,8 +1469,7 @@
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"editable" : true ,
"error" : false ,
@ -1564,8 +1521,7 @@
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "system_cpu_usage{application=\"$application\", instance=\"$instance\"}" ,
"format" : "time_series" ,
@ -1578,8 +1534,7 @@
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "process_cpu_usage{application=\"$application\", instance=\"$instance\"}" ,
"format" : "time_series" ,
@ -1590,8 +1545,7 @@
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "avg_over_time(process_cpu_usage{application=\"$application\", instance=\"$instance\"}[1h])" ,
"format" : "time_series" ,
@ -1648,8 +1602,7 @@
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"editable" : true ,
"error" : false ,
@ -1701,8 +1654,7 @@
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "system_load_average_1m{application=\"$application\", instance=\"$instance\"}" ,
"format" : "time_series" ,
@ -1714,8 +1666,7 @@
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "system_cpu_count{application=\"$application\", instance=\"$instance\"}" ,
"format" : "time_series" ,
@ -1770,8 +1721,7 @@
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"editable" : true ,
"error" : false ,
@ -1823,8 +1773,7 @@
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "jvm_threads_live_threads{application=\"$application\", instance=\"$instance\"}" ,
"format" : "time_series" ,
@ -1836,8 +1785,7 @@
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "jvm_threads_daemon_threads{application=\"$application\", instance=\"$instance\"}" ,
"format" : "time_series" ,
@ -1849,8 +1797,7 @@
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "jvm_threads_peak_threads{application=\"$application\", instance=\"$instance\"}" ,
"format" : "time_series" ,
@ -1861,8 +1808,7 @@
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "process_threads{application=\"$application\", instance=\"$instance\"}" ,
"format" : "time_series" ,
@ -1925,8 +1871,7 @@
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"description" : "需特别关注blocked的线程数, 这意味着线程被阻塞了, 如果线程全部是blocked状态, 则系统无法处理新请求" ,
"fieldConfig" : {
@ -1975,8 +1920,7 @@
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "jvm_threads_states_threads{application=\"$application\", instance=\"$instance\"}" ,
"format" : "time_series" ,
@ -2027,8 +1971,7 @@
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"editable" : true ,
"error" : false ,
@ -2094,8 +2037,7 @@
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "increase(logback_events_total{application=\"$application\", instance=\"$instance\"}[1m])" ,
"format" : "time_series" ,
@ -2152,8 +2094,7 @@
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"editable" : true ,
"error" : false ,
@ -2205,8 +2146,7 @@
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "process_files_open_files{application=\"$application\", instance=\"$instance\"}" ,
"format" : "time_series" ,
@ -2219,8 +2159,7 @@
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "process_files_max_files{application=\"$application\", instance=\"$instance\"}" ,
"format" : "time_series" ,
@ -2274,8 +2213,7 @@
{
"collapsed" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"gridPos" : {
"h" : 1 ,
@ -2289,8 +2227,7 @@
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"refId" : "A"
}
@ -2304,8 +2241,7 @@
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"editable" : true ,
"error" : false ,
@ -2361,8 +2297,7 @@
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_heap\"}" ,
"format" : "time_series" ,
@ -2376,8 +2311,7 @@
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "jvm_memory_committed_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_heap\"}" ,
"format" : "time_series" ,
@ -2391,8 +2325,7 @@
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "jvm_memory_max_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_heap\"}" ,
"format" : "time_series" ,
@ -2446,8 +2379,7 @@
{
"collapsed" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"gridPos" : {
"h" : 1 ,
@ -2460,8 +2392,7 @@
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"refId" : "A"
}
@ -2475,8 +2406,7 @@
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"editable" : true ,
"error" : false ,
@ -2532,8 +2462,7 @@
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_nonheap\"}" ,
"format" : "time_series" ,
@ -2547,8 +2476,7 @@
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "jvm_memory_committed_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_nonheap\"}" ,
"format" : "time_series" ,
@ -2562,8 +2490,7 @@
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "jvm_memory_max_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_nonheap\"}" ,
"format" : "time_series" ,
@ -2617,8 +2544,7 @@
{
"collapsed" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"gridPos" : {
"h" : 1 ,
@ -2631,8 +2557,7 @@
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"refId" : "A"
}
@ -2646,8 +2571,7 @@
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"fieldConfig" : {
"defaults" : {
@ -2693,8 +2617,7 @@
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "rate(jvm_gc_pause_seconds_count{application=\"$application\", instance=\"$instance\"}[1m])" ,
"format" : "time_series" ,
@ -2742,8 +2665,7 @@
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"fieldConfig" : {
"defaults" : {
@ -2789,8 +2711,7 @@
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "rate(jvm_gc_pause_seconds_sum{application=\"$application\", instance=\"$instance\"}[1m])/rate(jvm_gc_pause_seconds_count{application=\"$application\", instance=\"$instance\"}[1m])" ,
"format" : "time_series" ,
@ -2802,8 +2723,7 @@
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "jvm_gc_pause_seconds_max{application=\"$application\", instance=\"$instance\"}" ,
"format" : "time_series" ,
@ -2852,8 +2772,7 @@
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"description" : "内存分配的大小, 以及从新生代晋升到老年代的内存大小" ,
"fieldConfig" : {
@ -2900,8 +2819,7 @@
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "rate(jvm_gc_memory_allocated_bytes_total{application=\"$application\", instance=\"$instance\"}[1m])" ,
"format" : "time_series" ,
@ -2912,8 +2830,7 @@
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "rate(jvm_gc_memory_promoted_bytes_total{application=\"$application\", instance=\"$instance\"}[1m])" ,
"format" : "time_series" ,
@ -2957,8 +2874,7 @@
{
"collapsed" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"gridPos" : {
"h" : 1 ,
@ -2971,8 +2887,7 @@
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"refId" : "A"
}
@ -2986,8 +2901,7 @@
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"editable" : true ,
"error" : false ,
@ -3039,8 +2953,7 @@
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "jvm_classes_loaded_classes{application=\"$application\", instance=\"$instance\"}" ,
"format" : "time_series" ,
@ -3095,8 +3008,7 @@
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"description" : "可能增加或减少, 在Java中使用一些脚本语言例如groovy时, 需要关注, 防止因为逻辑异常产生大量的类, 进而导致metaspace满, 而metaspace满会触发full gc, 如无法释放则会导致JVM hang住" ,
"editable" : true ,
@ -3149,8 +3061,7 @@
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "delta(jvm_classes_loaded_classes{application=\"$application\",instance=\"$instance\"}[1m])" ,
"format" : "time_series" ,
@ -3204,8 +3115,7 @@
{
"collapsed" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"gridPos" : {
"h" : 1 ,
@ -3218,8 +3128,7 @@
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"refId" : "A"
}
@ -3233,8 +3142,7 @@
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"editable" : true ,
"error" : false ,
@ -3286,8 +3194,7 @@
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "jvm_buffer_memory_used_bytes{application=\"$application\", instance=\"$instance\", id=\"direct\"}" ,
"format" : "time_series" ,
@ -3299,8 +3206,7 @@
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "jvm_buffer_total_capacity_bytes{application=\"$application\", instance=\"$instance\", id=\"direct\"}" ,
"format" : "time_series" ,
@ -3355,8 +3261,7 @@
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"editable" : true ,
"error" : false ,
@ -3408,8 +3313,7 @@
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "jvm_buffer_count_buffers{application=\"$application\", instance=\"$instance\", id=\"direct\"}" ,
"format" : "time_series" ,
@ -3465,8 +3369,7 @@
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"editable" : true ,
"error" : false ,
@ -3518,8 +3421,7 @@
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "jvm_buffer_memory_used_bytes{application=\"$application\", instance=\"$instance\", id=\"mapped\"}" ,
"format" : "time_series" ,
@ -3531,8 +3433,7 @@
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "jvm_buffer_total_capacity_bytes{application=\"$application\", instance=\"$instance\", id=\"mapped\"}" ,
"format" : "time_series" ,
@ -3587,8 +3488,7 @@
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"editable" : true ,
"error" : false ,
@ -3640,8 +3540,7 @@
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"expr" : "jvm_buffer_count_buffers{application=\"$application\", instance=\"$instance\", id=\"mapped\"}" ,
"format" : "time_series" ,
@ -3705,8 +3604,7 @@
"value" : "ruoyi-auth"
} ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"definition" : "" ,
"hide" : 0 ,
@ -3736,8 +3634,7 @@
"value" : "192.168.31.100:9210"
} ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"definition" : "" ,
"hide" : 0 ,
@ -3768,8 +3665,7 @@
"value" : "$__all"
} ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"definition" : "" ,
"hide" : 0 ,
@ -3800,8 +3696,7 @@
"value" : "$__all"
} ,
"datasource" : {
"type" : "prometheus" ,
"uid" : "mK4PV-D4z"
"type" : "prometheus"
} ,
"definition" : "" ,
"hide" : 0 ,