# HELP system_cpu_count The number of processors available to the Java virtual machine# TYPE system_cpu_count gaugesystem_cpu_count{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",} 1.0# HELP system_load_average_1m The sum of the number of runnable entities queued to available processors and the number of runnableentities running on the available processors averaged over a period of time# TYPE system_load_average_1m gaugesystem_load_average_1m{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",} 6.49# HELP jvm_gc_max_data_size_bytes Max size of old generation memory pool# TYPE jvm_gc_max_data_size_bytes gaugejvm_gc_max_data_size_bytes{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",} 8.05306368E8# HELP process_cpu_usage The "recent cpu usage" for the Java Virtual Machine process# TYPE process_cpu_usage gaugeprocess_cpu_usage{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",} 9.87166831194472E-4# HELP tomcat_sessions_active_current_sessions# TYPE tomcat_sessions_active_current_sessions gaugetomcat_sessions_active_current_sessions{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",} 0.0# HELP jvm_memory_max_bytes The maximum amount of memory in bytes that can be used for memory management# TYPE jvm_memory_max_bytes gaugejvm_memory_max_bytes{application="scp-brand-demand-service",area="nonheap",environment="dev",host="172.27.173.229",id="Compressed Class Space",} 2.60046848E8jvm_memory_max_bytes{application="scp-brand-demand-service",area="heap",environment="dev",host="172.27.173.229",id="Par Eden Space",} 6.44349952E8jvm_memory_max_bytes{application="scp-brand-demand-service",area="heap",environment="dev",host="172.27.173.229",id="CMS Old Gen",} 8.05306368E8jvm_memory_max_bytes{application="scp-brand-demand-service",area="nonheap",environment="dev",host="172.27.173.229",id="Metaspace",} -1.0jvm_memory_max_bytes{application="scp-brand-demand-service",area="heap",environment="dev",host="172.27.173.229",id="Par Survivor Space",} 8.0478208E7jvm_memory_max_bytes{application="scp-brand-demand-service",area="nonheap",environment="dev",host="172.27.173.229",id="Code Cache",} 2.5165824E8# HELP jvm_threads_states_threads The current number of threads having NEW state# TYPE jvm_threads_states_threads gaugejvm_threads_states_threads{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",state="runnable",} 19.0jvm_threads_states_threads{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",state="new",} 0.0jvm_threads_states_threads{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",state="terminated",} 0.0jvm_threads_states_threads{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",state="blocked",} 0.0jvm_threads_states_threads{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",state="waiting",} 236.0jvm_threads_states_threads{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",state="timed-waiting",} 37.0# HELP jdbc_connections_min Minimum number of idle connections in the pool.# TYPE jdbc_connections_min gaugejdbc_connections_min{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",name="dataSource",} -1.0# HELP process_uptime_seconds The uptime of the Java virtual machine# TYPE process_uptime_seconds gaugeprocess_uptime_seconds{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",} 16540.895# HELP process_files_open_files The open file descriptor count# TYPE process_files_open_files gaugeprocess_files_open_files{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",} 239.0# HELP process_start_time_seconds Start time of the process since unix epoch.# TYPE process_start_time_seconds gaugeprocess_start_time_seconds{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",} 1.663727451892E9# HELP tomcat_sessions_rejected_sessions_total# TYPE tomcat_sessions_rejected_sessions_total countertomcat_sessions_rejected_sessions_total{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",} 0.0# HELP jvm_gc_memory_promoted_bytes_total Count of positive increases in the size of the old generation memory pool before GC to after GC# TYPE jvm_gc_memory_promoted_bytes_total counterjvm_gc_memory_promoted_bytes_total{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",} 3.755264E7# HELP jvm_gc_memory_allocated_bytes_total Incremented for an increase in the size of the young generation memory pool after one GC to before the next# TYPE jvm_gc_memory_allocated_bytes_total counterjvm_gc_memory_allocated_bytes_total{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",} 1.3531348992E10# HELP system_cpu_usage The "recent cpu usage" for the whole system# TYPE system_cpu_usage gaugesystem_cpu_usage{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",} 0.17716924056678873# HELP jdbc_connections_max Maximum number of active connections that can be allocated at the same time.# TYPE jdbc_connections_max gaugejdbc_connections_max{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",name="dataSource",} -1.0# HELP jvm_buffer_count_buffers An estimate of the number of buffers in the pool# TYPE jvm_buffer_count_buffers gaugejvm_buffer_count_buffers{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",id="direct",} 18.0jvm_buffer_count_buffers{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",id="mapped",} 0.0# HELP jvm_buffer_total_capacity_bytes An estimate of the total capacity of the buffers in this pool# TYPE jvm_buffer_total_capacity_bytes gaugejvm_buffer_total_capacity_bytes{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",id="direct",} 93936.0jvm_buffer_total_capacity_bytes{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",id="mapped",} 0.0# HELP jvm_threads_daemon_threads The current number of live daemon threads# TYPE jvm_threads_daemon_threads gaugejvm_threads_daemon_threads{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",} 286.0# HELP jvm_classes_loaded_classes The number of classes that are currently loaded in the Java virtual machine# TYPE jvm_classes_loaded_classes gaugejvm_classes_loaded_classes{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",} 19338.0# HELP process_files_max_files The maximum file descriptor count# TYPE process_files_max_files gaugeprocess_files_max_files{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",} 1048576.0# HELP jvm_gc_live_data_size_bytes Size of old generation memory pool after a full GC# TYPE jvm_gc_live_data_size_bytes gaugejvm_gc_live_data_size_bytes{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",} 0.0# HELP tomcat_sessions_active_max_sessions# TYPE tomcat_sessions_active_max_sessions gaugetomcat_sessions_active_max_sessions{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",} 0.0# HELP jvm_threads_peak_threads The peak live thread count since the Java virtual machine started or peak was reset# TYPE jvm_threads_peak_threads gaugejvm_threads_peak_threads{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",} 293.0# HELP tomcat_sessions_expired_sessions_total# TYPE tomcat_sessions_expired_sessions_total countertomcat_sessions_expired_sessions_total{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",} 0.0# HELP tomcat_sessions_created_sessions_total# TYPE tomcat_sessions_created_sessions_total countertomcat_sessions_created_sessions_total{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",} 0.0# HELP jvm_buffer_memory_used_bytes An estimate of the memory that the Java virtual machine is using for this buffer pool# TYPE jvm_buffer_memory_used_bytes gaugejvm_buffer_memory_used_bytes{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",id="direct",} 93938.0jvm_buffer_memory_used_bytes{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",id="mapped",} 0.0# HELP jvm_memory_committed_bytes The amount of memory in bytes that is committed for the Java virtual machine to use# TYPE jvm_memory_committed_bytes gaugejvm_memory_committed_bytes{application="scp-brand-demand-service",area="nonheap",environment="dev",host="172.27.173.229",id="Compressed Class Space",} 1.441792E7jvm_memory_committed_bytes{application="scp-brand-demand-service",area="heap",environment="dev",host="172.27.173.229",id="Par Eden Space",} 6.44349952E8jvm_memory_committed_bytes{application="scp-brand-demand-service",area="heap",environment="dev",host="172.27.173.229",id="CMS Old Gen",} 8.05306368E8jvm_memory_committed_bytes{application="scp-brand-demand-service",area="nonheap",environment="dev",host="172.27.173.229",id="Metaspace",} 1.1010048E8jvm_memory_committed_bytes{application="scp-brand-demand-service",area="heap",environment="dev",host="172.27.173.229",id="Par Survivor Space",} 8.0478208E7jvm_memory_committed_bytes{application="scp-brand-demand-service",area="nonheap",environment="dev",host="172.27.173.229",id="Code Cache",} 5.3477376E7# HELP jvm_classes_unloaded_classes_total The total number of classes unloaded since the Java virtual machine has started execution# TYPE jvm_classes_unloaded_classes_total counterjvm_classes_unloaded_classes_total{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",} 0.0# HELP jvm_threads_live_threads The current number of live threads including both daemon and non-daemon threads# TYPE jvm_threads_live_threads gaugejvm_threads_live_threads{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",} 292.0# HELP log4j2_events_total Number of fatal level log events# TYPE log4j2_events_total counterlog4j2_events_total{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",level="fatal",} 0.0log4j2_events_total{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",level="trace",} 0.0log4j2_events_total{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",level="warn",} 2.0log4j2_events_total{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",level="info",} 19.0log4j2_events_total{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",level="error",} 11.0log4j2_events_total{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",level="debug",} 0.0# HELP jvm_memory_used_bytes The amount of used memory# TYPE jvm_memory_used_bytes gaugejvm_memory_used_bytes{application="scp-brand-demand-service",area="nonheap",environment="dev",host="172.27.173.229",id="Compressed Class Space",} 1.345356E7jvm_memory_used_bytes{application="scp-brand-demand-service",area="heap",environment="dev",host="172.27.173.229",id="Par Eden Space",} 3.6888272E7jvm_memory_used_bytes{application="scp-brand-demand-service",area="heap",environment="dev",host="172.27.173.229",id="CMS Old Gen",} 5.412156E7jvm_memory_used_bytes{application="scp-brand-demand-service",area="nonheap",environment="dev",host="172.27.173.229",id="Metaspace",} 1.0442104E8jvm_memory_used_bytes{application="scp-brand-demand-service",area="heap",environment="dev",host="172.27.173.229",id="Par Survivor Space",} 2.1593152E7jvm_memory_used_bytes{application="scp-brand-demand-service",area="nonheap",environment="dev",host="172.27.173.229",id="Code Cache",} 5.2955072E7# HELP tomcat_sessions_alive_max_seconds# TYPE tomcat_sessions_alive_max_seconds gaugetomcat_sessions_alive_max_seconds{application="scp-brand-demand-service",environment="dev",host="172.27.173.229",} 0.0# HELP jvm_gc_pause_seconds Time spent in GC pause# TYPE jvm_gc_pause_seconds summaryjvm_gc_pause_seconds_count{action="end of minor GC",application="scp-brand-demand-service",cause="Allocation Failure",environment="dev",host="172.27.173.229",} 21.0jvm_gc_pause_seconds_sum{action="end of minor GC",application="scp-brand-demand-service",cause="Allocation Failure",environment="dev",host="172.27.173.229",} 1.826# HELP jvm_gc_pause_seconds_max Time spent in GC pause# TYPE jvm_gc_pause_seconds_max gaugejvm_gc_pause_seconds_max{action="end of minor GC",application="scp-brand-demand-service",cause="Allocation Failure",environment="dev",host="172.27.173.229",} 0.022# HELP http_server_requests_seconds# TYPE http_server_requests_seconds summaryhttp_server_requests_seconds_count{application="scp-brand-demand-service",environment="dev",exception="None",host="172.27.173.229",method="GET",outcome="CLIENT_ERROR",status="404",uri="/**",} 1.0http_server_requests_seconds_sum{application="scp-brand-demand-service",environment="dev",exception="None",host="172.27.173.229",method="GET",outcome="CLIENT_ERROR",status="404",uri="/**",} 0.010332595http_server_requests_seconds_count{application="scp-brand-demand-service",environment="dev",exception="None",host="172.27.173.229",method="GET",outcome="SUCCESS",status="200",uri="/scp-brand-demand-service/metrics/prometheus",} 550.0http_server_requests_seconds_sum{application="scp-brand-demand-service",environment="dev",exception="None",host="172.27.173.229",method="GET",outcome="SUCCESS",status="200",uri="/scp-brand-demand-service/metrics/prometheus",} 5.088314167http_server_requests_seconds_count{application="scp-brand-demand-service",environment="dev",exception="None",host="172.27.173.229",method="GET",outcome="SUCCESS",status="200",uri="/health/check",} 4939.0http_server_requests_seconds_sum{application="scp-brand-demand-service",environment="dev",exception="None",host="172.27.173.229",method="GET",outcome="SUCCESS",status="200",uri="/health/check",} 5.741246228# HELP http_server_requests_seconds_max# TYPE http_server_requests_seconds_max gaugehttp_server_requests_seconds_max{application="scp-brand-demand-service",environment="dev",exception="None",host="172.27.173.229",method="GET",outcome="CLIENT_ERROR",status="404",uri="/**",} 0.0http_server_requests_seconds_max{application="scp-brand-demand-service",environment="dev",exception="None",host="172.27.173.229",method="GET",outcome="SUCCESS",status="200",uri="/scp-brand-demand-service/metrics/prometheus",} 0.011999http_server_requests_seconds_max{application="scp-brand-demand-service",environment="dev",exception="None",host="172.27.173.229",method="GET",outcome="SUCCESS",status="200",uri="/health/check",} 0.001631965
# HELP jvm_gc_collection_seconds Time spent in a given JVM garbage collector in seconds.# TYPE jvm_gc_collection_seconds summary#这是一个Summary指标,与Histogram类似,可以对指标数据进行采样# 并发收集器 CMS(Concurrent Mark-Sweep)以牺牲吞吐量为代价来获得最短回收停顿时间的垃圾回收器对于要求服务器响应速度的应用上,这种垃圾回收器非常适合。CMS是用于对tenured generation的回收,也就是年老代的回收,目标是尽量减少应用的暂停时间,减少full gc发生的几率,利用和应用程序线程并发的垃圾回收线程来标记清除年老代。在启动JVM参数加上-XX:+UseConcMarkSweepGC ,这个参数表示对于老年代的回收采用CMS。CMS采用的基础算法是:标记—清除。CMS不对堆空间整理压缩节约了垃圾回收的停顿时间,但也带来的堆空间的浪费。为了解决堆空间浪费问题,CMS回收器不再采用简单的指针指向一块可用堆空 间来为下次对象分配使用。而是把一些未分配的空间汇总成一个列表,当JVM分配对象空间的时候,会搜索这个列表找到足够大的空间来hold住这个对象。CMS的另一个缺点是它需要更大的堆空间。因为CMS标记阶段应用程序的线程还是在执行的,那么就会有堆空间继续分配的情况,为了保证在CMS回 收完堆之前还有空间分配给正在运行的应用程序,必须预留一部分空间。在回收完成之前,堆没有足够空间分配!默认当老年代使用68%的时候,CMS就开始行动了。 – XX:CMSInitiatingOccupancyFraction =n 来设置这个阀值。总得来说,CMS回收器减少了回收的停顿时间,但是降低了堆空间的利用率。如果你的应用程序对停顿比较敏感,并且在应用程序运行的时候可以提供更大的内存和更多的CPU(也就是硬件牛逼),那么使用CMS来收集会给你带来好处。还有,如果在JVM中,有相对较多存活时间较长的对象(老年代比较大)会更适合使用CMS。ParNew垃圾收集器Par是Parallel的缩写,多线程的意思,但是这里的多线程仅仅指垃圾收集多线程并行,并不是垃圾收集和程序并行运行.ParNew也需要暂停一切工作,然后多线程并行垃圾收集.参数"-XX:+UseConcMarkSweepGC":指定使用CMS后,会默认使用ParNew作为新生代收集器;"-XX:+UseParNewGC":强制指定使用ParNew;"-XX:ParallelGCThreads":指定垃圾收集的线程数量,ParNew默认开启的收集线程尽量与CPU的数量相当;# HELP jvm_gc_collection_seconds Time spent in a given JVM garbage collector in seconds.# TYPE jvm_gc_collection_seconds summaryjvm_gc_collection_seconds_count{gc="ParNew",} 87.0 ==>YGCjvm_gc_collection_seconds_sum{gc="ParNew",} 15.487 ==>YGCTjvm_gc_collection_seconds_count{gc="ConcurrentMarkSweep",} 0.0 ==>FGCjvm_gc_collection_seconds_sum{gc="ConcurrentMarkSweep",} 0.0 ==>FGCT[root@test /]# /usr/local/java/jdk1.8.0_151/bin/jstat -gcutil 48 1000 1000S0 S1 E O M CCS YGC YGCT FGC FGCT GCT1.07 0.00 11.43 2.73 96.31 94.32 88 15.550 0 0.000 15.5501.07 0.00 11.92 2.73 96.31 94.32 88 15.550 0 0.000 15.5501.07 0.00 12.26 2.73 96.31 94.32 88 15.550 0 0.000 15.550# HELP jvm_memory_bytes_used Used bytes of a given JVM memory area.# TYPE jvm_memory_bytes_used gauge#jvm已用内存区域jvm_memory_bytes_used{area="heap",} 2.334615096E9 ==>堆内存使用jvm_memory_bytes_used{area="nonheap",} 1.8031396E8 ==>非堆内存使用备注:nonheap = "Code Cache" + "Metaspace" + "Compressed Class Space"heap = "Par Eden Space" + "Par Survivor Space" + "CMS Old Gen"结论:init约等于xms的值,max约等于xmx的值。used是已经被使用的内存大小,committed是当前可使用的内存大小(包括已使用的),committed >= used。committed不足时jvm向系统申请,若超过max则发生OutOfMemoryError错误。# HELP jvm_memory_bytes_committed Committed (bytes) of a given JVM memory area.# TYPE jvm_memory_bytes_committed gaugejvm_memory_bytes_committed{area="heap",} 8.267825152E9jvm_memory_bytes_committed{area="nonheap",} 1.85270272E8# HELP jvm_memory_bytes_max Max (bytes) of a given JVM memory area.# TYPE jvm_memory_bytes_max gauge#jvm内存区域的最大字节数jvm_memory_bytes_max{area="heap",} 8.267825152E9jvm_memory_bytes_max{area="nonheap",} 1.59383552E9# HELP jvm_memory_bytes_init Initial bytes of a given JVM memory area.# TYPE jvm_memory_bytes_init gauge#jvm内存区域的初始化字节数jvm_memory_bytes_init{area="heap",} 8.589934592E9jvm_memory_bytes_init{area="nonheap",} 2555904.0# HELP jvm_memory_pool_bytes_used Used bytes of a given JVM memory pool.# TYPE jvm_memory_pool_bytes_used gauge#jvm内存池使用情况jvm_memory_pool_bytes_used{pool="Code Cache",} 7.2995456E7jvm_memory_pool_bytes_used{pool="Metaspace",} 9.6191616E7jvm_memory_pool_bytes_used{pool="Compressed Class Space",} 1.1126888E7jvm_memory_pool_bytes_used{pool="Par Eden Space",} 2.184666584E9jvm_memory_pool_bytes_used{pool="Par Survivor Space",} 3342224.0jvm_memory_pool_bytes_used{pool="CMS Old Gen",} 1.46606288E8# HELP jvm_memory_pool_bytes_committed Committed bytes of a given JVM memory pool.# TYPE jvm_memory_pool_bytes_committed gaugejvm_memory_pool_bytes_committed{pool="Code Cache",} 7.3596928E7jvm_memory_pool_bytes_committed{pool="Metaspace",} 9.9876864E7jvm_memory_pool_bytes_committed{pool="Compressed Class Space",} 1.179648E7jvm_memory_pool_bytes_committed{pool="Par Eden Space",} 2.577006592E9jvm_memory_pool_bytes_committed{pool="Par Survivor Space",} 3.2210944E8jvm_memory_pool_bytes_committed{pool="CMS Old Gen",} 5.36870912E9# HELP jvm_memory_pool_bytes_max Max bytes of a given JVM memory pool.# TYPE jvm_memory_pool_bytes_max gauge#jvm内存池最大数jvm_memory_pool_bytes_max{pool="Code Cache",} 2.5165824E8jvm_memory_pool_bytes_max{pool="Metaspace",} 2.68435456E8jvm_memory_pool_bytes_max{pool="Compressed Class Space",} 1.073741824E9jvm_memory_pool_bytes_max{pool="Par Eden Space",} 2.577006592E9jvm_memory_pool_bytes_max{pool="Par Survivor Space",} 3.2210944E8jvm_memory_pool_bytes_max{pool="CMS Old Gen",} 5.36870912E9# HELP jvm_memory_pool_bytes_init Initial bytes of a given JVM memory pool.# TYPE jvm_memory_pool_bytes_init gauge#jvm内存池初始化数jvm_memory_pool_bytes_init{pool="Code Cache",} 2555904.0jvm_memory_pool_bytes_init{pool="Metaspace",} 0.0jvm_memory_pool_bytes_init{pool="Compressed Class Space",} 0.0jvm_memory_pool_bytes_init{pool="Par Eden Space",} 2.577006592E9jvm_memory_pool_bytes_init{pool="Par Survivor Space",} 3.2210944E8jvm_memory_pool_bytes_init{pool="CMS Old Gen",} 5.36870912E9# HELP jmx_config_reload_success_total Number of times configuration have successfully been reloaded.# TYPE jmx_config_reload_success_total counterjmx_config_reload_success_total 0.0# HELP jvm_classes_loaded The number of classes that are currently loaded in the JVM# TYPE jvm_classes_loaded gauge#当前jvm已加载类数量jvm_classes_loaded 16377.0# HELP jvm_classes_loaded_total The total number of classes that have been loaded since the JVM has started execution# TYPE jvm_classes_loaded_total counter#从jvm运行开始加载的类的数量,这是一个Counter指标,递增jvm_classes_loaded_total 16377.0# HELP jvm_classes_unloaded_total The total number of classes that have been unloaded since the JVM has started execution# TYPE jvm_classes_unloaded_total counter#jvm运行后卸载的类数量,这是一个Counter指标。生产环境一直是0jvm_classes_unloaded_total 0.0# HELP jvm_info JVM version info# TYPE jvm_info gaugejvm_info{version="1.8.0_151-b12",vendor="Oracle Corporation",runtime="Java(TM) SE Runtime Environment",} 1.0# HELP os_free_physical_memory_bytes FreePhysicalMemorySize (java.lang<type=OperatingSystem><>FreePhysicalMemorySize)# TYPE os_free_physical_memory_bytes gaugeos_free_physical_memory_bytes 1.9491221504E10# HELP os_committed_virtual_memory_bytes CommittedVirtualMemorySize (java.lang<type=OperatingSystem><>CommittedVirtualMemorySize)# TYPE os_committed_virtual_memory_bytes gaugeos_committed_virtual_memory_bytes 3.4423967744E10# HELP os_total_swap_space_bytes TotalSwapSpaceSize (java.lang<type=OperatingSystem><>TotalSwapSpaceSize)# TYPE os_total_swap_space_bytes gaugeos_total_swap_space_bytes 0.0# HELP os_max_file_descriptor_count MaxFileDescriptorCount (java.lang<type=OperatingSystem><>MaxFileDescriptorCount)# TYPE os_max_file_descriptor_count gaugeos_max_file_descriptor_count 1048576.0# HELP os_system_load_average SystemLoadAverage (java.lang<type=OperatingSystem><>SystemLoadAverage)# TYPE os_system_load_average gaugeos_system_load_average 3.84# HELP os_total_physical_memory_bytes TotalPhysicalMemorySize (java.lang<type=OperatingSystem><>TotalPhysicalMemorySize)# TYPE os_total_physical_memory_bytes gaugeos_total_physical_memory_bytes 2.02692759552E11# HELP os_system_cpu_load SystemCpuLoad (java.lang<type=OperatingSystem><>SystemCpuLoad)# TYPE os_system_cpu_load gaugeos_system_cpu_load 0.04950495049504951# HELP os_free_swap_space_bytes FreeSwapSpaceSize (java.lang<type=OperatingSystem><>FreeSwapSpaceSize)# TYPE os_free_swap_space_bytes gaugeos_free_swap_space_bytes 0.0# HELP os_available_processors AvailableProcessors (java.lang<type=OperatingSystem><>AvailableProcessors)# TYPE os_available_processors gaugeos_available_processors 48.0# HELP os_process_cpu_load ProcessCpuLoad (java.lang<type=OperatingSystem><>ProcessCpuLoad)# TYPE os_process_cpu_load gaugeos_process_cpu_load 0.0# HELP os_open_file_descriptor_count OpenFileDescriptorCount (java.lang<type=OperatingSystem><>OpenFileDescriptorCount)# TYPE os_open_file_descriptor_count gaugeos_open_file_descriptor_count 163.0# HELP jmx_scrape_duration_seconds Time this JMX scrape took, in seconds.# TYPE jmx_scrape_duration_seconds gaugejmx_scrape_duration_seconds 0.00121965# HELP jmx_scrape_error Non-zero if this scrape failed.# TYPE jmx_scrape_error gaugejmx_scrape_error 0.0# HELP jmx_config_reload_failure_total Number of times configuration have failed to be reloaded.# TYPE jmx_config_reload_failure_total counterjmx_config_reload_failure_total 0.0# HELP process_cpu_seconds_total Total user and system CPU time spent in seconds.# TYPE process_cpu_seconds_total counter#用户和系统的总cpu使用时间process_cpu_seconds_total 2293.82# HELP process_start_time_seconds Start time of the process since unix epoch in seconds.# TYPE process_start_time_seconds gaugeprocess_start_time_seconds 1.618365917041E9# HELP process_open_fds Number of open file descriptors.# TYPE process_open_fds gaugeprocess_open_fds 163.0# HELP process_max_fds Maximum number of open file descriptors.# TYPE process_max_fds gaugeprocess_max_fds 1048576.0# HELP process_virtual_memory_bytes Virtual memory size in bytes.# TYPE process_virtual_memory_bytes gaugeprocess_virtual_memory_bytes 3.4423963648E10# HELP process_resident_memory_bytes Resident memory size in bytes.# TYPE process_resident_memory_bytes gaugeprocess_resident_memory_bytes 3.942313984E9# HELP jvm_buffer_pool_used_bytes Used bytes of a given JVM buffer pool.# TYPE jvm_buffer_pool_used_bytes gauge#jvm缓冲区使用情况,包括Code Cache(编译后的代码缓存,不同版本的jvm默认大小不同)、PS Old Gen(老年代)、PS Eden Space(伊甸园)、PS Survivor Space(幸存者)、PS Perm Gen(永久代)jvm_buffer_pool_used_bytes{pool="direct",} 1729229.0jvm_buffer_pool_used_bytes{pool="mapped",} 0.0# HELP jvm_buffer_pool_capacity_bytes Bytes capacity of a given JVM buffer pool.# TYPE jvm_buffer_pool_capacity_bytes gauge#给定jvm的估算缓冲区大小jvm_buffer_pool_capacity_bytes{pool="direct",} 1729229.0jvm_buffer_pool_capacity_bytes{pool="mapped",} 0.0# HELP jvm_buffer_pool_used_buffers Used buffers of a given JVM buffer pool.# TYPE jvm_buffer_pool_used_buffers gauge#给定jvm的已使用缓冲区大小jvm_buffer_pool_used_buffers{pool="direct",} 243.0jvm_buffer_pool_used_buffers{pool="mapped",} 0.0# HELP jvm_threads_current Current thread count of a JVM# TYPE jvm_threads_current gauge#jvm当前线程数jvm_threads_current 284.0# HELP jvm_threads_daemon Daemon thread count of a JVM# TYPE jvm_threads_daemon gauge#jvm后台线程数jvm_threads_daemon 241.0# HELP jvm_threads_peak Peak thread count of a JVM# TYPE jvm_threads_peak gauge#jvm线程峰值jvm_threads_peak 286.0# HELP jvm_threads_started_total Started thread count of a JVM# TYPE jvm_threads_started_total counter#jvm总启动线程数量,Counter指标jvm_threads_started_total 1260.0# HELP jvm_threads_deadlocked Cycles of JVM-threads that are in deadlock waiting to acquire object monitors or ownable synchronizers# TYPE jvm_threads_deadlocked gauge#死锁线程数量jvm_threads_deadlocked 0.0# HELP jvm_threads_deadlocked_monitor Cycles of JVM-threads that are in deadlock waiting to acquire object monitors# TYPE jvm_threads_deadlocked_monitor gaugejvm_threads_deadlocked_monitor 0.0
jvm 监控面板
{"annotations": {"list": [{"builtIn": 1,"datasource": "Prometheus-测试环境","enable": true,"hide": true,"iconColor": "rgba(0, 211, 255, 1)","limit": 100,"name": "Annotations & Alerts","showIn": 0,"type": "dashboard"},{"datasource": "Prometheus-测试环境","enable": true,"expr": "resets(process_uptime_seconds{application=\"$application\", instance=\"$instance\"}[1m]) > 0","iconColor": "rgba(255, 96, 96, 1)","limit": 100,"name": "进程重启打标","showIn": 0,"step": "1m","tagKeys": "restart-tag","tags": [],"textFormat": "uptime reset","titleFormat": "Restart","type": "tags"}]},"description": "Dashboard for Micrometer instrumented applications (Java, Spring Boot, Micronaut)","editable": true,"gnetId": 12856,"graphTooltip": 1,"id": 62,"iteration": 1663751129146,"links": [],"panels": [{"collapsed": true,"datasource": "${DS_SPRING-DEMOT}","gridPos": {"h": 1,"w": 24,"x": 0,"y": 0},"id": 125,"panels": [{"cacheTimeout": null,"colorBackground": false,"colorValue": true,"colors": ["rgba(245, 54, 54, 0.9)","rgba(237, 129, 40, 0.89)","rgba(50, 172, 45, 0.97)"],"datasource": "Prometheus-测试环境","decimals": 1,"editable": true,"error": false,"fieldConfig": {"defaults": {"custom": {}},"overrides": []},"format": "s","gauge": {"maxValue": 100,"minValue": 0,"show": false,"thresholdLabels": false,"thresholdMarkers": true},"gridPos": {"h": 3,"w": 6,"x": 0,"y": 1},"height": "","id": 63,"interval": null,"links": [],"mappingType": 1,"mappingTypes": [{"name": "value to text","value": 1},{"name": "range to text","value": 2}],"maxDataPoints": 100,"nullPointMode": "connected","nullText": null,"postfix": "","postfixFontSize": "50%","prefix": "","prefixFontSize": "70%","rangeMaps": [{"from": "null","text": "N/A","to": "null"}],"sparkline": {"fillColor": "rgba(31, 118, 189, 0.18)","full": false,"lineColor": "rgb(31, 120, 193)","show": false},"tableColumn": "","targets": [{"expr": "process_uptime_seconds{application=\"$application\", instance=\"$instance\",environment=\"$environment\"}","format": "time_series","interval": "","intervalFactor": 2,"legendFormat": "","metric": "","refId": "A","step": 14400}],"thresholds": "","title": "进程启动时长","type": "singlestat","valueFontSize": "80%","valueMaps": [{"op": "=","text": "N/A","value": "null"}],"valueName": "current"},{"cacheTimeout": null,"colorBackground": false,"colorValue": true,"colors": ["rgba(245, 54, 54, 0.9)","rgba(237, 129, 40, 0.89)","rgba(50, 172, 45, 0.97)"],"datasource": "Prometheus-测试环境","decimals": null,"editable": true,"error": false,"fieldConfig": {"defaults": {"custom": {}},"overrides": []},"format": "dateTimeAsIso","gauge": {"maxValue": 100,"minValue": 0,"show": false,"thresholdLabels": false,"thresholdMarkers": true},"gridPos": {"h": 3,"w": 6,"x": 6,"y": 1},"height": "","id": 92,"interval": null,"links": [],"mappingType": 1,"mappingTypes": [{"name": "value to text","value": 1},{"name": "range to text","value": 2}],"maxDataPoints": 100,"nullPointMode": "connected","nullText": null,"postfix": "","postfixFontSize": "50%","prefix": "","prefixFontSize": "70%","rangeMaps": [{"from": "null","text": "N/A","to": "null"}],"sparkline": {"fillColor": "rgba(31, 118, 189, 0.18)","full": false,"lineColor": "rgb(31, 120, 193)","show": false},"tableColumn": "","targets": [{"expr": "process_start_time_seconds{application=\"$application\", instance=\"$instance\",environment=\"$environment\"}*1000","format": "time_series","interval": "","intervalFactor": 2,"legendFormat": "","metric": "","refId": "A","step": 14400}],"thresholds": "","title": "进程启动时间","type": "singlestat","valueFontSize": "70%","valueMaps": [{"op": "=","text": "N/A","value": "null"}],"valueName": "current"},{"cacheTimeout": null,"colorBackground": false,"colorValue": true,"colors": ["rgba(50, 172, 45, 0.97)","rgba(237, 129, 40, 0.89)","rgba(245, 54, 54, 0.9)"],"datasource": "Prometheus-测试环境","decimals": 2,"editable": true,"error": false,"fieldConfig": {"defaults": {"custom": {}},"overrides": []},"format": "percent","gauge": {"maxValue": 100,"minValue": 0,"show": false,"thresholdLabels": false,"thresholdMarkers": true},"gridPos": {"h": 3,"w": 6,"x": 12,"y": 1},"id": 65,"interval": null,"links": [],"mappingType": 1,"mappingTypes": [{"name": "value to text","value": 1},{"name": "range to text","value": 2}],"maxDataPoints": 100,"nullPointMode": "connected","nullText": null,"postfix": "","postfixFontSize": "50%","prefix": "","prefixFontSize": "70%","rangeMaps": [{"from": "null","text": "N/A","to": "null"}],"sparkline": {"fillColor": "rgba(31, 118, 189, 0.18)","full": false,"lineColor": "rgb(31, 120, 193)","show": false},"tableColumn": "","targets": [{"expr": "sum(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\",environment=\"$environment\"})*100/sum(jvm_memory_max_bytes{application=\"$application\",instance=\"$instance\", area=\"heap\",environment=\"$environment\"})","format": "time_series","interval": "","intervalFactor": 2,"legendFormat": "","refId": "A","step": 14400}],"thresholds": "70,90","title": "堆内存使用率","type": "singlestat","valueFontSize": "80%","valueMaps": [{"op": "=","text": "N/A","value": "null"}],"valueName": "current"},{"cacheTimeout": null,"colorBackground": false,"colorValue": true,"colors": ["rgba(50, 172, 45, 0.97)","rgba(237, 129, 40, 0.89)","rgba(245, 54, 54, 0.9)"],"datasource": "Prometheus-测试环境","decimals": 2,"editable": true,"error": false,"fieldConfig": {"defaults": {"custom": {}},"overrides": []},"format": "percent","gauge": {"maxValue": 100,"minValue": 0,"show": false,"thresholdLabels": false,"thresholdMarkers": true},"gridPos": {"h": 3,"w": 6,"x": 18,"y": 1},"id": 75,"interval": null,"links": [],"mappingType": 2,"mappingTypes": [{"name": "value to text","value": 1},{"name": "range to text","value": 2}],"maxDataPoints": 100,"nullPointMode": "connected","nullText": null,"postfix": "","postfixFontSize": "50%","prefix": "","prefixFontSize": "70%","rangeMaps": [{"from": "null","text": "N/A","to": "null"},{"from": "-99999999999999999999999999999999","text": "N/A","to": "0"}],"sparkline": {"fillColor": "rgba(31, 118, 189, 0.18)","full": false,"lineColor": "rgb(31, 120, 193)","show": false},"tableColumn": "","targets": [{"expr": "sum(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"nonheap\",environment=\"$environment\"})*100/sum(jvm_memory_max_bytes{application=\"$application\",instance=\"$instance\", area=\"nonheap\",environment=\"$environment\"})","format": "time_series","interval": "","intervalFactor": 2,"legendFormat": "","refId": "A","step": 14400}],"thresholds": "70,90","title": "非堆内存使用率","type": "singlestat","valueFontSize": "80%","valueMaps": [{"op": "=","text": "N/A","value": "null"},{"op": "=","text": "x","value": ""}],"valueName": "current"}],"repeat": null,"title": "概览","type": "row"},{"collapsed": true,"datasource": "${DS_SPRING-DEMOT}","gridPos": {"h": 1,"w": 24,"x": 0,"y": 1},"id": 126,"panels": [{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "Prometheus-测试环境","description": "平均每秒处理的请求数","fieldConfig": {"defaults": {"custom": {},"links": []},"overrides": []},"fill": 1,"fillGradient": 0,"gridPos": {"h": 7,"w": 6,"x": 0,"y": 2},"hiddenSeries": false,"id": 111,"legend": {"avg": false,"current": true,"max": false,"min": false,"show": true,"total": false,"values": true},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","options": {"alertThreshold": true},"percentage": false,"pluginVersion": "7.4.3","pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"stack": false,"steppedLine": false,"targets": [{"expr": "sum(rate(http_server_requests_seconds_count{application=\"$application\", instance=\"$instance\"}[1m]))","format": "time_series","interval": "","intervalFactor": 1,"legendFormat": "HTTP","refId": "A"}],"thresholds": [],"timeFrom": null,"timeRegions": [],"timeShift": null,"title": "QPS(1分钟平均)","tooltip": {"shared": true,"sort": 0,"value_type": "individual"},"type": "graph","xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"yaxes": [{"$$hashKey": "object:294","decimals": null,"format": "ops","label": null,"logBase": 1,"max": null,"min": "0","show": true},{"$$hashKey": "object:295","format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}],"yaxis": {"align": false,"alignLevel": null}},{"aliasColors": {"HTTP": "#890f02","HTTP - 5xx": "#bf1b00"},"bars": false,"dashLength": 10,"dashes": false,"datasource": "Prometheus-测试环境","fieldConfig": {"defaults": {"custom": {},"links": []},"overrides": []},"fill": 1,"fillGradient": 0,"gridPos": {"h": 7,"w": 6,"x": 6,"y": 2},"hiddenSeries": false,"id": 112,"legend": {"avg": false,"current": true,"max": false,"min": false,"show": true,"total": false,"values": true},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","options": {"alertThreshold": true},"percentage": false,"pluginVersion": "7.4.3","pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"stack": false,"steppedLine": false,"targets": [{"expr": "sum(rate(http_server_requests_seconds_count{application=\"$application\", instance=\"$instance\", status=~\"5..\"}[1m]))","format": "time_series","intervalFactor": 1,"legendFormat": "HTTP - 5xx","refId": "A"}],"thresholds": [],"timeFrom": null,"timeRegions": [],"timeShift": null,"title": "错误数(1分钟平均)","tooltip": {"shared": true,"sort": 0,"value_type": "individual"},"type": "graph","xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"yaxes": [{"decimals": null,"format": "ops","label": null,"logBase": 1,"max": null,"min": "0","show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}],"yaxis": {"align": false,"alignLevel": null}},{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "Prometheus-测试环境","fieldConfig": {"defaults": {"custom": {},"links": []},"overrides": []},"fill": 1,"fillGradient": 0,"gridPos": {"h": 7,"w": 6,"x": 12,"y": 2},"hiddenSeries": false,"id": 113,"legend": {"avg": false,"current": true,"max": false,"min": false,"show": true,"total": false,"values": true},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","options": {"alertThreshold": true},"percentage": false,"pluginVersion": "7.4.3","pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"stack": false,"steppedLine": false,"targets": [{"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","hide": false,"intervalFactor": 1,"legendFormat": "HTTP - AVG","refId": "A"},{"expr": "max(http_server_requests_seconds_max{application=\"$application\", instance=\"$instance\", status!~\"5..\"})","format": "time_series","hide": false,"intervalFactor": 1,"legendFormat": "HTTP - MAX","refId": "B"}],"thresholds": [],"timeFrom": null,"timeRegions": [],"timeShift": null,"title": "请求耗时(1分钟平均)","tooltip": {"shared": true,"sort": 0,"value_type": "individual"},"type": "graph","xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"yaxes": [{"format": "s","label": null,"logBase": 1,"max": null,"min": "0","show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}],"yaxis": {"align": false,"alignLevel": null}},{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "Prometheus-测试环境","description": "饱和度指标来自于Google SRE的的黄金指标, 指服务的过载程度, 当系统过载时, 往往意味着请求需要排队处理","fieldConfig": {"defaults": {"custom": {},"links": [],"unit": "timeticks"},"overrides": []},"fill": 1,"fillGradient": 0,"gridPos": {"h": 7,"w": 6,"x": 18,"y": 2},"hiddenSeries": false,"id": 119,"legend": {"alignAsTable": false,"avg": false,"current": true,"max": false,"min": false,"show": true,"total": false,"values": true},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","options": {"alertThreshold": true},"percentage": false,"pluginVersion": "7.4.3","pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"stack": false,"steppedLine": false,"targets": [{"expr": "tomcat_threads_busy_threads{application=\"$application\", instance=\"$instance\"}","format": "time_series","hide": false,"interval": "","intervalFactor": 2,"legendFormat": "TOMCAT - BSY","refId": "A"},{"expr": "tomcat_threads_current_threads{application=\"$application\", instance=\"$instance\"}","format": "time_series","hide": false,"intervalFactor": 2,"legendFormat": "TOMCAT - CUR","refId": "B"},{"expr": "tomcat_threads_config_max_threads{application=\"$application\", instance=\"$instance\"}","format": "time_series","hide": false,"intervalFactor": 2,"legendFormat": "TOMCAT - MAX","refId": "C"},{"expr": "jetty_threads_busy{application=\"$application\", instance=\"$instance\"}","format": "time_series","hide": false,"intervalFactor": 2,"legendFormat": "JETTY - BSY","refId": "D"},{"expr": "jetty_threads_current{application=\"$application\", instance=\"$instance\"}","format": "time_series","hide": false,"intervalFactor": 2,"legendFormat": "JETTY - CUR","refId": "E"},{"expr": "jetty_threads_config_max{application=\"$application\", instance=\"$instance\"}","format": "time_series","hide": false,"interval": "","intervalFactor": 2,"legendFormat": "JETTY - MAX","refId": "F"},{"expr": "http_server_requests_seconds_sum{uri=\"/health/check\",application=\"$application\", instance=\"$instance\"}","hide": false,"interval": "","legendFormat": "http_server_requests","refId": "G"}],"thresholds": [],"timeFrom": null,"timeRegions": [],"timeShift": null,"title": "饱和度","tooltip": {"shared": true,"sort": 0,"value_type": "individual"},"type": "graph","xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"yaxes": [{"$$hashKey": "object:1218","format": "timeticks","label": null,"logBase": 1,"max": null,"min": "0","show": true},{"$$hashKey": "object:1219","format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}],"yaxis": {"align": false,"alignLevel": null}}],"repeat": null,"title": "服务黄金指标","type": "row"},{"collapsed": true,"datasource": "${DS_SPRING-DEMOT}","gridPos": {"h": 1,"w": 24,"x": 0,"y": 2},"id": 127,"panels": [{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "Prometheus-测试环境","editable": true,"error": false,"fieldConfig": {"defaults": {"custom": {},"links": []},"overrides": []},"fill": 1,"fillGradient": 0,"grid": {"leftLogBase": 1,"leftMax": null,"leftMin": null,"rightLogBase": 1,"rightMax": null,"rightMin": null},"gridPos": {"h": 7,"w": 6,"x": 0,"y": 3},"hiddenSeries": false,"id": 24,"legend": {"avg": false,"current": true,"max": true,"min": false,"show": true,"total": false,"values": true},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","options": {"alertThreshold": true},"percentage": false,"pluginVersion": "7.4.3","pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"stack": false,"steppedLine": false,"targets": [{"expr": "sum(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\",environment=\"$environment\"})","format": "time_series","interval": "","intervalFactor": 2,"legendFormat": "used","metric": "","refId": "A","step": 2400},{"expr": "sum(jvm_memory_committed_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\",environment=\"$environment\"})","format": "time_series","interval": "","intervalFactor": 2,"legendFormat": "committed","refId": "B","step": 2400},{"expr": "sum(jvm_memory_max_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\",environment=\"$environment\"})","format": "time_series","interval": "","intervalFactor": 2,"legendFormat": "max","refId": "C","step": 2400}],"thresholds": [],"timeFrom": null,"timeRegions": [],"timeShift": null,"title": "堆内存","tooltip": {"msResolution": false,"shared": true,"sort": 0,"value_type": "cumulative"},"type": "graph","x-axis": true,"xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"y-axis": true,"y_formats": ["mbytes","short"],"yaxes": [{"format": "bytes","label": null,"logBase": 1,"max": null,"min": 0,"show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}],"yaxis": {"align": false,"alignLevel": null}},{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "Prometheus-测试环境","editable": true,"error": false,"fieldConfig": {"defaults": {"custom": {},"links": []},"overrides": []},"fill": 1,"fillGradient": 0,"grid": {"leftLogBase": 1,"leftMax": null,"leftMin": null,"rightLogBase": 1,"rightMax": null,"rightMin": null},"gridPos": {"h": 7,"w": 6,"x": 6,"y": 3},"hiddenSeries": false,"id": 25,"legend": {"avg": false,"current": true,"max": true,"min": false,"show": true,"total": false,"values": true},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","options": {"alertThreshold": true},"percentage": false,"pluginVersion": "7.4.3","pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"stack": false,"steppedLine": false,"targets": [{"expr": "sum(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"nonheap\",environment=\"$environment\"})","format": "time_series","interval": "","intervalFactor": 2,"legendFormat": "used","metric": "","refId": "A","step": 2400},{"expr": "sum(jvm_memory_committed_bytes{application=\"$application\", instance=\"$instance\", area=\"nonheap\",environment=\"$environment\"})","format": "time_series","interval": "","intervalFactor": 2,"legendFormat": "committed","refId": "B","step": 2400},{"expr": "sum(jvm_memory_max_bytes{application=\"$application\", instance=\"$instance\", area=\"nonheap\",environment=\"$environment\"})","format": "time_series","interval": "","intervalFactor": 2,"legendFormat": "max","refId": "C","step": 2400}],"thresholds": [],"timeFrom": null,"timeRegions": [],"timeShift": null,"title": "非堆内存","tooltip": {"msResolution": false,"shared": true,"sort": 0,"value_type": "cumulative"},"type": "graph","x-axis": true,"xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"y-axis": true,"y_formats": ["mbytes","short"],"yaxes": [{"format": "bytes","label": null,"logBase": 1,"max": null,"min": 0,"show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}],"yaxis": {"align": false,"alignLevel": null}},{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "Prometheus-测试环境","editable": true,"error": false,"fieldConfig": {"defaults": {"custom": {},"links": []},"overrides": []},"fill": 1,"fillGradient": 0,"grid": {"leftLogBase": 1,"leftMax": null,"leftMin": null,"rightLogBase": 1,"rightMax": null,"rightMin": null},"gridPos": {"h": 7,"w": 6,"x": 12,"y": 3},"hiddenSeries": false,"id": 26,"legend": {"alignAsTable": false,"avg": false,"current": true,"max": true,"min": false,"show": true,"total": false,"values": true},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","options": {"alertThreshold": true},"percentage": false,"pluginVersion": "7.4.3","pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"stack": false,"steppedLine": false,"targets": [{"expr": "sum(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\",environment=\"$environment\"})","format": "time_series","interval": "","intervalFactor": 2,"legendFormat": "used","metric": "","refId": "A","step": 2400},{"expr": "sum(jvm_memory_committed_bytes{application=\"$application\", instance=\"$instance\",environment=\"$environment\"})","format": "time_series","interval": "","intervalFactor": 2,"legendFormat": "committed","refId": "B","step": 2400},{"expr": "sum(jvm_memory_max_bytes{application=\"$application\", instance=\"$instance\",environment=\"$environment\"})","format": "time_series","interval": "","intervalFactor": 2,"legendFormat": "max","refId": "C","step": 2400}],"thresholds": [],"timeFrom": null,"timeRegions": [],"timeShift": null,"title": "总内存","tooltip": {"msResolution": false,"shared": true,"sort": 0,"value_type": "cumulative"},"type": "graph","x-axis": true,"xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"y-axis": true,"y_formats": ["mbytes","short"],"yaxes": [{"format": "bytes","label": "","logBase": 1,"max": null,"min": 0,"show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}],"yaxis": {"align": false,"alignLevel": null}},{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "Prometheus-测试环境","description": "从操作系统层面看JVM进程的内存使用, 因为JVM并不是直接按照配置的内存参数申请全部内存","editable": true,"error": false,"fieldConfig": {"defaults": {"custom": {},"links": []},"overrides": []},"fill": 1,"fillGradient": 0,"grid": {"leftLogBase": 1,"leftMax": null,"leftMin": null,"rightLogBase": 1,"rightMax": null,"rightMin": null},"gridPos": {"h": 7,"w": 6,"x": 18,"y": 3},"hiddenSeries": false,"id": 86,"legend": {"avg": false,"current": true,"max": true,"min": false,"show": true,"total": false,"values": true},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","options": {"alertThreshold": true},"percentage": false,"pluginVersion": "7.4.3","pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"stack": false,"steppedLine": false,"targets": [{"expr": "process_memory_vss_bytes{application=\"$application\", instance=\"$instance\",environment=\"$environment\"}","format": "time_series","hide": true,"interval": "","intervalFactor": 2,"legendFormat": "vss","metric": "","refId": "A","step": 2400},{"expr": "process_memory_rss_bytes{application=\"$application\", instance=\"$instance\",environment=\"$environment\"}","format": "time_series","interval": "","intervalFactor": 2,"legendFormat": "rss","refId": "B"},{"expr": "process_memory_swap_bytes{application=\"$application\", instance=\"$instance\",environment=\"$environment\"}","format": "time_series","interval": "","intervalFactor": 2,"legendFormat": "swap","refId": "C"},{"expr": "process_memory_rss_bytes{application=\"$application\", instance=\"$instance\",environment=\"$environment\"} + process_memory_swap_bytes{application=\"$application\", instance=\"$instance\",environment=\"$environment\"}","format": "time_series","interval": "","intervalFactor": 2,"legendFormat": "total","refId": "D"},{"expr": "jvm_threads_peak_threads{application=\"$application\", instance=\"$instance\",environment=\"$environment\"}","hide": false,"interval": "","legendFormat": "","refId": "E"}],"thresholds": [],"timeFrom": null,"timeRegions": [],"timeShift": null,"title": "JVM 进程内存","tooltip": {"msResolution": false,"shared": true,"sort": 0,"value_type": "cumulative"},"type": "graph","x-axis": true,"xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"y-axis": true,"y_formats": ["mbytes","short"],"yaxes": [{"$$hashKey": "object:1117","format": "bytes","label": "","logBase": 2,"max": null,"min": "0","show": true},{"$$hashKey": "object:1118","format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}],"yaxis": {"align": false,"alignLevel": null}}],"repeat": null,"title": "JVM 内存","type": "row"},{"collapsed": true,"datasource": "Prometheus-测试环境","gridPos": {"h": 1,"w": 24,"x": 0,"y": 3},"id": 128,"panels": [{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "Prometheus-测试环境","editable": true,"error": false,"fieldConfig": {"defaults": {"custom": {},"links": []},"overrides": []},"fill": 1,"fillGradient": 0,"grid": {"leftLogBase": 1,"leftMax": null,"leftMin": null,"rightLogBase": 1,"rightMax": null,"rightMin": null},"gridPos": {"h": 7,"w": 6,"x": 0,"y": 4},"hiddenSeries": false,"id": 106,"legend": {"avg": false,"current": true,"max": true,"min": false,"show": true,"total": false,"values": true},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","options": {"alertThreshold": true},"percentage": false,"pluginVersion": "7.4.3","pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"stack": false,"steppedLine": false,"targets": [{"expr": "system_cpu_usage{application=\"$application\", instance=\"$instance\",environment=\"$environment\"}","format": "time_series","hide": false,"interval": "","intervalFactor": 1,"legendFormat": "system","metric": "","refId": "A","step": 2400},{"expr": "process_cpu_usage{application=\"$application\", instance=\"$instance\",environment=\"$environment\"}","format": "time_series","hide": false,"interval": "","intervalFactor": 1,"legendFormat": "process","refId": "B"},{"expr": "avg_over_time(process_cpu_usage{application=\"$application\", instance=\"$instance\",environment=\"$environment\"}[1h])","format": "time_series","hide": false,"interval": "","intervalFactor": 1,"legendFormat": "process-1h","refId": "C"}],"thresholds": [],"timeFrom": null,"timeRegions": [],"timeShift": null,"title": "CPU 使用率","tooltip": {"msResolution": false,"shared": true,"sort": 0,"value_type": "cumulative"},"type": "graph","x-axis": true,"xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"y-axis": true,"y_formats": ["short","short"],"yaxes": [{"decimals": 1,"format": "percentunit","label": "","logBase": 1,"max": "1","min": 0,"show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}],"yaxis": {"align": false,"alignLevel": null}},{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "Prometheus-测试环境","editable": true,"error": false,"fieldConfig": {"defaults": {"custom": {},"links": []},"overrides": []},"fill": 1,"fillGradient": 0,"grid": {"leftLogBase": 1,"leftMax": null,"leftMin": null,"rightLogBase": 1,"rightMax": null,"rightMin": null},"gridPos": {"h": 7,"w": 6,"x": 6,"y": 4},"hiddenSeries": false,"id": 93,"legend": {"avg": false,"current": true,"max": true,"min": false,"show": true,"total": false,"values": true},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","options": {"alertThreshold": true},"percentage": false,"pluginVersion": "7.4.3","pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"stack": false,"steppedLine": false,"targets": [{"expr": "system_load_average_1m{application=\"$application\", instance=\"$instance\",environment=\"$environment\"}","format": "time_series","interval": "","intervalFactor": 2,"legendFormat": "load1","metric": "","refId": "A","step": 2400},{"expr": "system_cpu_count{application=\"$application\", instance=\"$instance\",environment=\"$environment\"}","format": "time_series","interval": "","intervalFactor": 2,"legendFormat": "cpu核数","refId": "B"}],"thresholds": [],"timeFrom": null,"timeRegions": [],"timeShift": null,"title": "Load 系统负载","tooltip": {"msResolution": false,"shared": true,"sort": 0,"value_type": "cumulative"},"type": "graph","x-axis": true,"xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"y-axis": true,"y_formats": ["short","short"],"yaxes": [{"$$hashKey": "object:318","decimals": 1,"format": "short","label": "","logBase": 1,"max": null,"min": 0,"show": true},{"$$hashKey": "object:319","format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}],"yaxis": {"align": false,"alignLevel": null}},{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "Prometheus-测试环境","editable": true,"error": false,"fieldConfig": {"defaults": {"custom": {},"links": []},"overrides": []},"fill": 1,"fillGradient": 0,"grid": {"leftLogBase": 1,"leftMax": null,"leftMin": null,"rightLogBase": 1,"rightMax": null,"rightMin": null},"gridPos": {"h": 7,"w": 6,"x": 12,"y": 4},"hiddenSeries": false,"id": 32,"legend": {"avg": false,"current": true,"max": true,"min": false,"show": true,"total": false,"values": true},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","options": {"alertThreshold": true},"percentage": false,"pluginVersion": "7.4.3","pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"stack": false,"steppedLine": false,"targets": [{"expr": "jvm_threads_live_threads{application=\"$application\", instance=\"$instance\",environment=\"$environment\"}","format": "time_series","interval": "","intervalFactor": 2,"legendFormat": "live","metric": "","refId": "A","step": 2400},{"expr": "jvm_threads_daemon_threads{application=\"$application\", instance=\"$instance\",environment=\"$environment\"}","format": "time_series","interval": "","intervalFactor": 2,"legendFormat": "daemon","metric": "","refId": "B","step": 2400},{"expr": "jvm_threads_peak_threads{application=\"$application\", instance=\"$instance\",environment=\"$environment\"}","format": "time_series","interval": "","intervalFactor": 2,"legendFormat": "peak","refId": "C","step": 2400},{"expr": "process_threads{application=\"$application\", instance=\"$instance\",environment=\"$environment\"}","format": "time_series","interval": "","intervalFactor": 2,"legendFormat": "process","refId": "D","step": 2400}],"thresholds": [],"timeFrom": null,"timeRegions": [],"timeShift": null,"title": "线程数","tooltip": {"msResolution": false,"shared": true,"sort": 0,"value_type": "cumulative"},"type": "graph","x-axis": true,"xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"y-axis": true,"y_formats": ["short","short"],"yaxes": [{"decimals": 0,"format": "short","label": null,"logBase": 1,"max": null,"min": 0,"show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}],"yaxis": {"align": false,"alignLevel": null}},{"aliasColors": {"blocked": "#bf1b00","new": "#fce2de","runnable": "#7eb26d","terminated": "#511749","timed-waiting": "#c15c17","waiting": "#eab839"},"bars": false,"dashLength": 10,"dashes": false,"datasource": "Prometheus-测试环境","description": "需特别关注blocked的线程数, 这意味着线程被阻塞了, 如果线程全部是blocked状态, 则系统无法处理新请求","fieldConfig": {"defaults": {"custom": {},"links": []},"overrides": []},"fill": 1,"fillGradient": 0,"gridPos": {"h": 7,"w": 6,"x": 18,"y": 4},"hiddenSeries": false,"id": 124,"legend": {"alignAsTable": false,"avg": false,"current": true,"max": true,"min": false,"rightSide": false,"show": true,"total": false,"values": true},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","options": {"alertThreshold": true},"percentage": false,"pluginVersion": "7.4.3","pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"stack": false,"steppedLine": false,"targets": [{"expr": "jvm_threads_states_threads{application=\"$application\", instance=\"$instance\",environment=\"$environment\"}","format": "time_series","interval": "","intervalFactor": 2,"legendFormat": "{{state}}","refId": "A"}],"thresholds": [],"timeFrom": null,"timeRegions": [],"timeShift": null,"title": "各状态线程数","tooltip": {"shared": true,"sort": 0,"value_type": "individual"},"type": "graph","xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"yaxes": [{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}],"yaxis": {"align": false,"alignLevel": null}},{"aliasColors": {"debug": "#1F78C1","error": "#BF1B00","info": "#508642","trace": "#6ED0E0","warn": "#EAB839"},"bars": false,"dashLength": 10,"dashes": false,"datasource": "Prometheus-测试环境","editable": true,"error": false,"fieldConfig": {"defaults": {"custom": {},"links": [],"unit": "string"},"overrides": []},"fill": 1,"fillGradient": 0,"grid": {"leftLogBase": 1,"leftMax": null,"leftMin": null,"rightLogBase": 1,"rightMax": null,"rightMin": null},"gridPos": {"h": 7,"w": 18,"x": 0,"y": 11},"height": "","hiddenSeries": false,"id": 91,"legend": {"alignAsTable": false,"avg": false,"current": true,"hideEmpty": false,"hideZero": false,"max": true,"min": false,"rightSide": false,"show": true,"total": false,"values": true},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","options": {"alertThreshold": true},"percentage": true,"pluginVersion": "7.4.3","pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [{"$$hashKey": "object:259","alias": "error","yaxis": 1},{"$$hashKey": "object:260","alias": "warn","yaxis": 1}],"spaceLength": 10,"stack": false,"steppedLine": false,"targets": [{"expr": "log4j2_events_total{application=\"$application\", instance=\"$instance\",environment=\"$environment\"}","format": "time_series","interval": "","intervalFactor": 2,"legendFormat": "{{level}}","metric": "","refId": "A","step": 1200},{"expr": "logback_events_total{application=\"$application\", instance=\"$instance\",environment=\"$environment\"}","hide": false,"interval": "","intervalFactor": 2,"legendFormat": "{{level}}","refId": "B"}],"thresholds": [],"timeFrom": null,"timeRegions": [],"timeShift": null,"title": "日志数","tooltip": {"msResolution": false,"shared": true,"sort": 0,"value_type": "individual"},"type": "graph","x-axis": true,"xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"y-axis": true,"y_formats": ["short","short"],"yaxes": [{"$$hashKey": "object:273","decimals": 0,"format": "string","label": null,"logBase": 1,"max": null,"min": "0","show": true},{"$$hashKey": "object:274","format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}],"yaxis": {"align": false,"alignLevel": null}},{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "Prometheus-测试环境","editable": true,"error": false,"fieldConfig": {"defaults": {"custom": {},"links": []},"overrides": []},"fill": 1,"fillGradient": 0,"grid": {"leftLogBase": 1,"leftMax": null,"leftMin": null,"rightLogBase": 1,"rightMax": null,"rightMin": null},"gridPos": {"h": 7,"w": 6,"x": 18,"y": 11},"hiddenSeries": false,"id": 61,"legend": {"avg": false,"current": true,"max": true,"min": false,"show": true,"total": false,"values": true},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","options": {"alertThreshold": true},"percentage": false,"pluginVersion": "7.4.3","pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"stack": false,"steppedLine": false,"targets": [{"expr": "process_files_open_files{application=\"$application\", instance=\"$instance\",environment=\"$environment\"}","format": "time_series","hide": false,"interval": "","intervalFactor": 2,"legendFormat": "open","metric": "","refId": "A","step": 2400},{"expr": "process_files_max_files{application=\"$application\", instance=\"$instance\",environment=\"$environment\"}","format": "time_series","hide": false,"interval": "","intervalFactor": 2,"legendFormat": "max","metric": "","refId": "B","step": 2400}],"thresholds": [],"timeFrom": null,"timeRegions": [],"timeShift": null,"title": "文件描述符","tooltip": {"msResolution": false,"shared": true,"sort": 0,"value_type": "cumulative"},"type": "graph","x-axis": true,"xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"y-axis": true,"y_formats": ["short","short"],"yaxes": [{"decimals": 0,"format": "short","label": null,"logBase": 10,"max": null,"min": 0,"show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}],"yaxis": {"align": false,"alignLevel": null}}],"repeat": null,"title": "JVM 负载","type": "row"},{"collapsed": true,"datasource": "Prometheus-测试环境","gridPos": {"h": 1,"w": 24,"x": 0,"y": 4},"id": 129,"panels": [{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "Prometheus-测试环境","editable": true,"error": false,"fieldConfig": {"defaults": {"custom": {},"links": []},"overrides": []},"fill": 1,"fillGradient": 0,"grid": {"leftLogBase": 1,"leftMax": null,"leftMin": null,"rightLogBase": 1,"rightMax": null,"rightMin": null},"gridPos": {"h": 7,"w": 8,"x": 0,"y": 5},"hiddenSeries": false,"id": 3,"legend": {"alignAsTable": false,"avg": false,"current": true,"max": true,"min": false,"rightSide": false,"show": true,"total": false,"values": true},"lines": true,"linewidth": 1,"links": [],"maxPerRow": 3,"nullPointMode": "null","options": {"alertThreshold": true},"percentage": false,"pluginVersion": "7.4.3","pointradius": 5,"points": false,"renderer": "flot","repeat": "jvm_memory_pool_heap","scopedVars": {"jvm_memory_pool_heap": {"selected": false,"text": "PS Eden Space","value": "PS Eden Space"}},"seriesOverrides": [],"spaceLength": 10,"stack": false,"steppedLine": false,"targets": [{"expr": "jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_heap\",environment=\"$environment\"}","format": "time_series","hide": false,"interval": "","intervalFactor": 2,"legendFormat": "used","metric": "","refId": "A","step": 1800},{"expr": "jvm_memory_committed_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_heap\",environment=\"$environment\"}","format": "time_series","hide": false,"interval": "","intervalFactor": 2,"legendFormat": "commited","metric": "","refId": "B","step": 1800},{"expr": "jvm_memory_max_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_heap\",environment=\"$environment\"}","format": "time_series","hide": false,"interval": "","intervalFactor": 2,"legendFormat": "max","metric": "","refId": "C","step": 1800}],"thresholds": [],"timeFrom": null,"timeRegions": [],"timeShift": null,"title": "$jvm_memory_pool_heap","tooltip": {"msResolution": false,"shared": true,"sort": 0,"value_type": "cumulative"},"type": "graph","x-axis": true,"xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"y-axis": true,"y_formats": ["mbytes","short"],"yaxes": [{"format": "bytes","label": null,"logBase": 1,"max": null,"min": 0,"show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}],"yaxis": {"align": false,"alignLevel": null}},{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "Prometheus-测试环境","editable": true,"error": false,"fieldConfig": {"defaults": {"custom": {},"links": []},"overrides": []},"fill": 1,"fillGradient": 0,"grid": {"leftLogBase": 1,"leftMax": null,"leftMin": null,"rightLogBase": 1,"rightMax": null,"rightMin": null},"gridPos": {"h": 7,"w": 8,"x": 8,"y": 5},"hiddenSeries": false,"id": 138,"legend": {"alignAsTable": false,"avg": false,"current": true,"max": true,"min": false,"rightSide": false,"show": true,"total": false,"values": true},"lines": true,"linewidth": 1,"links": [],"maxPerRow": 3,"nullPointMode": "null","options": {"alertThreshold": true},"percentage": false,"pluginVersion": "7.4.3","pointradius": 5,"points": false,"renderer": "flot","repeatIteration": 1663750949340,"repeatPanelId": 3,"scopedVars": {"jvm_memory_pool_heap": {"selected": false,"text": "PS Old Gen","value": "PS Old Gen"}},"seriesOverrides": [],"spaceLength": 10,"stack": false,"steppedLine": false,"targets": [{"expr": "jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_heap\",environment=\"$environment\"}","format": "time_series","hide": false,"interval": "","intervalFactor": 2,"legendFormat": "used","metric": "","refId": "A","step": 1800},{"expr": "jvm_memory_committed_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_heap\",environment=\"$environment\"}","format": "time_series","hide": false,"interval": "","intervalFactor": 2,"legendFormat": "commited","metric": "","refId": "B","step": 1800},{"expr": "jvm_memory_max_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_heap\",environment=\"$environment\"}","format": "time_series","hide": false,"interval": "","intervalFactor": 2,"legendFormat": "max","metric": "","refId": "C","step": 1800}],"thresholds": [],"timeFrom": null,"timeRegions": [],"timeShift": null,"title": "$jvm_memory_pool_heap","tooltip": {"msResolution": false,"shared": true,"sort": 0,"value_type": "cumulative"},"type": "graph","x-axis": true,"xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"y-axis": true,"y_formats": ["mbytes","short"],"yaxes": [{"format": "bytes","label": null,"logBase": 1,"max": null,"min": 0,"show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}],"yaxis": {"align": false,"alignLevel": null}},{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "Prometheus-测试环境","editable": true,"error": false,"fieldConfig": {"defaults": {"custom": {},"links": []},"overrides": []},"fill": 1,"fillGradient": 0,"grid": {"leftLogBase": 1,"leftMax": null,"leftMin": null,"rightLogBase": 1,"rightMax": null,"rightMin": null},"gridPos": {"h": 7,"w": 8,"x": 16,"y": 5},"hiddenSeries": false,"id": 139,"legend": {"alignAsTable": false,"avg": false,"current": true,"max": true,"min": false,"rightSide": false,"show": true,"total": false,"values": true},"lines": true,"linewidth": 1,"links": [],"maxPerRow": 3,"nullPointMode": "null","options": {"alertThreshold": true},"percentage": false,"pluginVersion": "7.4.3","pointradius": 5,"points": false,"renderer": "flot","repeatIteration": 1663750949340,"repeatPanelId": 3,"scopedVars": {"jvm_memory_pool_heap": {"selected": false,"text": "PS Survivor Space","value": "PS Survivor Space"}},"seriesOverrides": [],"spaceLength": 10,"stack": false,"steppedLine": false,"targets": [{"expr": "jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_heap\",environment=\"$environment\"}","format": "time_series","hide": false,"interval": "","intervalFactor": 2,"legendFormat": "used","metric": "","refId": "A","step": 1800},{"expr": "jvm_memory_committed_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_heap\",environment=\"$environment\"}","format": "time_series","hide": false,"interval": "","intervalFactor": 2,"legendFormat": "commited","metric": "","refId": "B","step": 1800},{"expr": "jvm_memory_max_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_heap\",environment=\"$environment\"}","format": "time_series","hide": false,"interval": "","intervalFactor": 2,"legendFormat": "max","metric": "","refId": "C","step": 1800}],"thresholds": [],"timeFrom": null,"timeRegions": [],"timeShift": null,"title": "$jvm_memory_pool_heap","tooltip": {"msResolution": false,"shared": true,"sort": 0,"value_type": "cumulative"},"type": "graph","x-axis": true,"xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"y-axis": true,"y_formats": ["mbytes","short"],"yaxes": [{"format": "bytes","label": null,"logBase": 1,"max": null,"min": 0,"show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}],"yaxis": {"align": false,"alignLevel": null}}],"repeat": "persistence_counts","title": "JVM 堆内存详细","type": "row"},{"collapsed": true,"datasource": "Prometheus-测试环境","gridPos": {"h": 1,"w": 24,"x": 0,"y": 5},"id": 130,"panels": [{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "Prometheus-测试环境","editable": true,"error": false,"fieldConfig": {"defaults": {"custom": {},"links": []},"overrides": []},"fill": 1,"fillGradient": 0,"grid": {"leftLogBase": 1,"leftMax": null,"leftMin": null,"rightLogBase": 1,"rightMax": null,"rightMin": null},"gridPos": {"h": 7,"w": 8,"x": 0,"y": 6},"hiddenSeries": false,"id": 78,"legend": {"alignAsTable": false,"avg": false,"current": true,"max": true,"min": false,"rightSide": false,"show": true,"total": false,"values": true},"lines": true,"linewidth": 1,"links": [],"maxPerRow": 3,"nullPointMode": "null","options": {"alertThreshold": true},"percentage": false,"pluginVersion": "7.4.3","pointradius": 5,"points": false,"renderer": "flot","repeat": "jvm_memory_pool_nonheap","scopedVars": {"jvm_memory_pool_nonheap": {"selected": false,"text": "Metaspace","value": "Metaspace"}},"seriesOverrides": [],"spaceLength": 10,"stack": false,"steppedLine": false,"targets": [{"expr": "jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_nonheap\",environment=\"$environment\"}","format": "time_series","hide": false,"interval": "","intervalFactor": 2,"legendFormat": "used","metric": "","refId": "A","step": 1800},{"expr": "jvm_memory_committed_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_nonheap\",environment=\"$environment\"}","format": "time_series","hide": false,"interval": "","intervalFactor": 2,"legendFormat": "commited","metric": "","refId": "B","step": 1800},{"expr": "jvm_memory_max_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_nonheap\",environment=\"$environment\"}","format": "time_series","hide": false,"interval": "","intervalFactor": 2,"legendFormat": "max","metric": "","refId": "C","step": 1800}],"thresholds": [],"timeFrom": null,"timeRegions": [],"timeShift": null,"title": "$jvm_memory_pool_nonheap","tooltip": {"msResolution": false,"shared": true,"sort": 0,"value_type": "cumulative"},"type": "graph","x-axis": true,"xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"y-axis": true,"y_formats": ["mbytes","short"],"yaxes": [{"format": "bytes","label": null,"logBase": 1,"max": null,"min": 0,"show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}],"yaxis": {"align": false,"alignLevel": null}},{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "Prometheus-测试环境","editable": true,"error": false,"fieldConfig": {"defaults": {"custom": {},"links": []},"overrides": []},"fill": 1,"fillGradient": 0,"grid": {"leftLogBase": 1,"leftMax": null,"leftMin": null,"rightLogBase": 1,"rightMax": null,"rightMin": null},"gridPos": {"h": 7,"w": 8,"x": 8,"y": 6},"hiddenSeries": false,"id": 136,"legend": {"alignAsTable": false,"avg": false,"current": true,"max": true,"min": false,"rightSide": false,"show": true,"total": false,"values": true},"lines": true,"linewidth": 1,"links": [],"maxPerRow": 3,"nullPointMode": "null","options": {"alertThreshold": true},"percentage": false,"pluginVersion": "7.4.3","pointradius": 5,"points": false,"renderer": "flot","repeatIteration": 1663750949340,"repeatPanelId": 78,"scopedVars": {"jvm_memory_pool_nonheap": {"selected": false,"text": "Compressed Class Space","value": "Compressed Class Space"}},"seriesOverrides": [],"spaceLength": 10,"stack": false,"steppedLine": false,"targets": [{"expr": "jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_nonheap\",environment=\"$environment\"}","format": "time_series","hide": false,"interval": "","intervalFactor": 2,"legendFormat": "used","metric": "","refId": "A","step": 1800},{"expr": "jvm_memory_committed_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_nonheap\",environment=\"$environment\"}","format": "time_series","hide": false,"interval": "","intervalFactor": 2,"legendFormat": "commited","metric": "","refId": "B","step": 1800},{"expr": "jvm_memory_max_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_nonheap\",environment=\"$environment\"}","format": "time_series","hide": false,"interval": "","intervalFactor": 2,"legendFormat": "max","metric": "","refId": "C","step": 1800}],"thresholds": [],"timeFrom": null,"timeRegions": [],"timeShift": null,"title": "$jvm_memory_pool_nonheap","tooltip": {"msResolution": false,"shared": true,"sort": 0,"value_type": "cumulative"},"type": "graph","x-axis": true,"xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"y-axis": true,"y_formats": ["mbytes","short"],"yaxes": [{"format": "bytes","label": null,"logBase": 1,"max": null,"min": 0,"show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}],"yaxis": {"align": false,"alignLevel": null}},{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "Prometheus-测试环境","editable": true,"error": false,"fieldConfig": {"defaults": {"custom": {},"links": []},"overrides": []},"fill": 1,"fillGradient": 0,"grid": {"leftLogBase": 1,"leftMax": null,"leftMin": null,"rightLogBase": 1,"rightMax": null,"rightMin": null},"gridPos": {"h": 7,"w": 8,"x": 16,"y": 6},"hiddenSeries": false,"id": 137,"legend": {"alignAsTable": false,"avg": false,"current": true,"max": true,"min": false,"rightSide": false,"show": true,"total": false,"values": true},"lines": true,"linewidth": 1,"links": [],"maxPerRow": 3,"nullPointMode": "null","options": {"alertThreshold": true},"percentage": false,"pluginVersion": "7.4.3","pointradius": 5,"points": false,"renderer": "flot","repeatIteration": 1663750949340,"repeatPanelId": 78,"scopedVars": {"jvm_memory_pool_nonheap": {"selected": false,"text": "Code Cache","value": "Code Cache"}},"seriesOverrides": [],"spaceLength": 10,"stack": false,"steppedLine": false,"targets": [{"expr": "jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_nonheap\",environment=\"$environment\"}","format": "time_series","hide": false,"interval": "","intervalFactor": 2,"legendFormat": "used","metric": "","refId": "A","step": 1800},{"expr": "jvm_memory_committed_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_nonheap\",environment=\"$environment\"}","format": "time_series","hide": false,"interval": "","intervalFactor": 2,"legendFormat": "commited","metric": "","refId": "B","step": 1800},{"expr": "jvm_memory_max_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_nonheap\",environment=\"$environment\"}","format": "time_series","hide": false,"interval": "","intervalFactor": 2,"legendFormat": "max","metric": "","refId": "C","step": 1800}],"thresholds": [],"timeFrom": null,"timeRegions": [],"timeShift": null,"title": "$jvm_memory_pool_nonheap","tooltip": {"msResolution": false,"shared": true,"sort": 0,"value_type": "cumulative"},"type": "graph","x-axis": true,"xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"y-axis": true,"y_formats": ["mbytes","short"],"yaxes": [{"format": "bytes","label": null,"logBase": 1,"max": null,"min": 0,"show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}],"yaxis": {"align": false,"alignLevel": null}}],"repeat": null,"title": "JVM 非堆内存详细","type": "row"},{"collapsed": true,"datasource": "Prometheus-测试环境","gridPos": {"h": 1,"w": 24,"x": 0,"y": 6},"id": 131,"panels": [{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "Prometheus-测试环境","fieldConfig": {"defaults": {"custom": {},"links": []},"overrides": []},"fill": 1,"fillGradient": 0,"gridPos": {"h": 7,"w": 8,"x": 0,"y": 7},"hiddenSeries": false,"id": 98,"legend": {"avg": false,"current": false,"max": false,"min": false,"show": true,"total": false,"values": false},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","options": {"alertThreshold": true},"percentage": false,"pluginVersion": "7.4.3","pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"stack": false,"steppedLine": false,"targets": [{"expr": "rate(jvm_gc_pause_seconds_count{application=\"$application\", instance=\"$instance\",environment=\"$environment\"}[1m])","format": "time_series","hide": false,"interval": "","intervalFactor": 1,"legendFormat": "{{action}} ({{cause}})","refId": "A"}],"thresholds": [],"timeFrom": null,"timeRegions": [],"timeShift": null,"title": "GC 次数","tooltip": {"shared": true,"sort": 0,"value_type": "individual"},"type": "graph","xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"yaxes": [{"format": "ops","label": null,"logBase": 1,"max": null,"min": "0","show": true},{"format": "short","label": "","logBase": 1,"max": null,"min": null,"show": true}],"yaxis": {"align": false,"alignLevel": null}},{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "Prometheus-测试环境","fieldConfig": {"defaults": {"custom": {},"links": []},"overrides": []},"fill": 1,"fillGradient": 0,"gridPos": {"h": 7,"w": 8,"x": 8,"y": 7},"hiddenSeries": false,"id": 101,"legend": {"avg": false,"current": false,"max": false,"min": false,"show": true,"total": false,"values": false},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","options": {"alertThreshold": true},"percentage": false,"pluginVersion": "7.4.3","pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"stack": false,"steppedLine": false,"targets": [{"expr": "rate(jvm_gc_pause_seconds_sum{application=\"$application\", instance=\"$instance\",environment=\"$environment\"}[1m])/rate(jvm_gc_pause_seconds_count{application=\"$application\", instance=\"$instance\",environment=\"$environment\"}[1m])","format": "time_series","hide": false,"instant": false,"interval": "","intervalFactor": 1,"legendFormat": "avg {{action}} ({{cause}})","refId": "A"},{"expr": "jvm_gc_pause_seconds_max{application=\"$application\", instance=\"$instance\",environment=\"$environment\"}","format": "time_series","hide": false,"instant": false,"interval": "","intervalFactor": 1,"legendFormat": "max {{action}} ({{cause}})","refId": "B"}],"thresholds": [],"timeFrom": null,"timeRegions": [],"timeShift": null,"title": "GC暂停时间","tooltip": {"shared": true,"sort": 0,"value_type": "individual"},"type": "graph","xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"yaxes": [{"format": "s","label": null,"logBase": 1,"max": null,"min": "0","show": true},{"format": "short","label": "","logBase": 1,"max": null,"min": null,"show": true}],"yaxis": {"align": false,"alignLevel": null}},{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "Prometheus-测试环境","description": "内存分配的大小, 以及从新生代晋升到老年代的内存大小","fieldConfig": {"defaults": {"custom": {},"links": []},"overrides": []},"fill": 1,"fillGradient": 0,"gridPos": {"h": 7,"w": 8,"x": 16,"y": 7},"hiddenSeries": false,"id": 99,"legend": {"avg": false,"current": false,"max": false,"min": false,"show": true,"total": false,"values": false},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","options": {"alertThreshold": true},"percentage": false,"pluginVersion": "7.4.3","pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"stack": false,"steppedLine": false,"targets": [{"expr": "rate(jvm_gc_memory_allocated_bytes_total{application=\"$application\", instance=\"$instance\",environment=\"$environment\"}[1m])","format": "time_series","interval": "","intervalFactor": 1,"legendFormat": "allocated","refId": "A"},{"expr": "rate(jvm_gc_memory_promoted_bytes_total{application=\"$application\", instance=\"$instance\",environment=\"$environment\"}[1m])","format": "time_series","interval": "","intervalFactor": 1,"legendFormat": "promoted","refId": "B"}],"thresholds": [],"timeFrom": null,"timeRegions": [],"timeShift": null,"title": "内存分配/晋升","tooltip": {"shared": true,"sort": 0,"value_type": "individual"},"type": "graph","xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"yaxes": [{"format": "Bps","label": null,"logBase": 1,"max": null,"min": "0","show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}],"yaxis": {"align": false,"alignLevel": null}}],"repeat": null,"title": "垃圾回收(GC)","type": "row"},{"collapsed": true,"datasource": "Prometheus-测试环境","gridPos": {"h": 1,"w": 24,"x": 0,"y": 7},"id": 132,"panels": [{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "Prometheus-测试环境","editable": true,"error": false,"fieldConfig": {"defaults": {"custom": {},"links": []},"overrides": []},"fill": 1,"fillGradient": 0,"grid": {"leftLogBase": 1,"leftMax": null,"leftMin": null,"rightLogBase": 1,"rightMax": null,"rightMin": null},"gridPos": {"h": 7,"w": 12,"x": 0,"y": 8},"hiddenSeries": false,"id": 37,"legend": {"avg": false,"current": false,"max": false,"min": false,"show": true,"total": false,"values": false},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","options": {"alertThreshold": true},"percentage": false,"pluginVersion": "7.4.3","pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"stack": false,"steppedLine": false,"targets": [{"expr": "jvm_classes_loaded_classes{application=\"$application\", instance=\"$instance\",environment=\"$environment\"}","format": "time_series","interval": "","intervalFactor": 2,"legendFormat": "loaded","metric": "","refId": "A","step": 1200}],"thresholds": [],"timeFrom": null,"timeRegions": [],"timeShift": null,"title": "已加载的类的数量","tooltip": {"msResolution": false,"shared": true,"sort": 0,"value_type": "cumulative"},"type": "graph","x-axis": true,"xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"y-axis": true,"y_formats": ["short","short"],"yaxes": [{"format": "short","label": null,"logBase": 1,"max": null,"min": 0,"show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}],"yaxis": {"align": false,"alignLevel": null}},{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "Prometheus-测试环境","description": "可能增加或减少, 在Java中使用一些脚本语言例如groovy时, 需要关注, 防止因为逻辑异常产生大量的类, 进而导致metaspace满, 而metaspace满会触发full gc, 如无法释放则会导致JVM hang住","editable": true,"error": false,"fieldConfig": {"defaults": {"custom": {},"links": []},"overrides": []},"fill": 1,"fillGradient": 0,"grid": {"leftLogBase": 1,"leftMax": null,"leftMin": null,"rightLogBase": 1,"rightMax": null,"rightMin": null},"gridPos": {"h": 7,"w": 12,"x": 12,"y": 8},"hiddenSeries": false,"id": 38,"legend": {"avg": false,"current": false,"max": false,"min": false,"show": true,"total": false,"values": false},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","options": {"alertThreshold": true},"percentage": false,"pluginVersion": "7.4.3","pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"stack": false,"steppedLine": false,"targets": [{"expr": "delta(jvm_classes_loaded_classes{application=\"$application\",instance=\"$instance\",environment=\"$environment\"}[1m])","format": "time_series","hide": false,"interval": "","intervalFactor": 1,"legendFormat": "delta-1m","metric": "","refId": "A","step": 1200}],"thresholds": [],"timeFrom": null,"timeRegions": [],"timeShift": null,"title": "加载类数量变化","tooltip": {"msResolution": false,"shared": true,"sort": 0,"value_type": "cumulative"},"type": "graph","x-axis": true,"xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"y-axis": true,"y_formats": ["ops","short"],"yaxes": [{"decimals": null,"format": "short","label": "","logBase": 1,"max": null,"min": null,"show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}],"yaxis": {"align": false,"alignLevel": null}}],"repeat": null,"title": "类加载","type": "row"},{"collapsed": true,"datasource": "Prometheus-测试环境","gridPos": {"h": 1,"w": 24,"x": 0,"y": 8},"id": 133,"panels": [{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "Prometheus-测试环境","editable": true,"error": false,"fieldConfig": {"defaults": {"custom": {},"links": []},"overrides": []},"fill": 1,"fillGradient": 0,"grid": {"leftLogBase": 1,"leftMax": null,"leftMin": null,"rightLogBase": 1,"rightMax": null,"rightMin": null},"gridPos": {"h": 7,"w": 6,"x": 0,"y": 9},"hiddenSeries": false,"id": 33,"legend": {"avg": false,"current": false,"max": false,"min": false,"show": true,"total": false,"values": false},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","options": {"alertThreshold": true},"percentage": false,"pluginVersion": "7.4.3","pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"stack": false,"steppedLine": false,"targets": [{"expr": "jvm_buffer_memory_used_bytes{application=\"$application\", instance=\"$instance\", id=\"direct\",environment=\"$environment\"}","format": "time_series","interval": "","intervalFactor": 2,"legendFormat": "used","metric": "","refId": "A","step": 2400},{"expr": "jvm_buffer_total_capacity_bytes{application=\"$application\", instance=\"$instance\", id=\"direct\",environment=\"$environment\"}","format": "time_series","interval": "","intervalFactor": 2,"legendFormat": "capacity","metric": "","refId": "B","step": 2400}],"thresholds": [],"timeFrom": null,"timeRegions": [],"timeShift": null,"title": "Direct Buffers","tooltip": {"msResolution": false,"shared": true,"sort": 0,"value_type": "cumulative"},"type": "graph","x-axis": true,"xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"y-axis": true,"y_formats": ["short","short"],"yaxes": [{"format": "bytes","label": null,"logBase": 1,"max": null,"min": 0,"show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}],"yaxis": {"align": false,"alignLevel": null}},{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "Prometheus-测试环境","editable": true,"error": false,"fieldConfig": {"defaults": {"custom": {},"links": []},"overrides": []},"fill": 1,"fillGradient": 0,"grid": {"leftLogBase": 1,"leftMax": null,"leftMin": null,"rightLogBase": 1,"rightMax": null,"rightMin": null},"gridPos": {"h": 7,"w": 6,"x": 6,"y": 9},"hiddenSeries": false,"id": 83,"legend": {"avg": false,"current": false,"max": false,"min": false,"show": true,"total": false,"values": false},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","options": {"alertThreshold": true},"percentage": false,"pluginVersion": "7.4.3","pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"stack": false,"steppedLine": false,"targets": [{"expr": "jvm_buffer_count_buffers{application=\"$application\", instance=\"$instance\", id=\"direct\",environment=\"$environment\"}","format": "time_series","interval": "","intervalFactor": 2,"legendFormat": "count","metric": "","refId": "A","step": 2400}],"thresholds": [],"timeFrom": null,"timeRegions": [],"timeShift": null,"title": "Count Buffers","tooltip": {"msResolution": false,"shared": true,"sort": 0,"value_type": "cumulative"},"type": "graph","x-axis": true,"xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"y-axis": true,"y_formats": ["short","short"],"yaxes": [{"$$hashKey": "object:165","decimals": 0,"format": "short","label": null,"logBase": 1,"max": null,"min": 0,"show": true},{"$$hashKey": "object:166","format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}],"yaxis": {"align": false,"alignLevel": null}},{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "Prometheus-测试环境","editable": true,"error": false,"fieldConfig": {"defaults": {"custom": {},"links": []},"overrides": []},"fill": 1,"fillGradient": 0,"grid": {"leftLogBase": 1,"leftMax": null,"leftMin": null,"rightLogBase": 1,"rightMax": null,"rightMin": null},"gridPos": {"h": 7,"w": 6,"x": 12,"y": 9},"hiddenSeries": false,"id": 85,"legend": {"avg": false,"current": false,"max": false,"min": false,"show": true,"total": false,"values": false},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","options": {"alertThreshold": true},"percentage": false,"pluginVersion": "7.4.3","pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"stack": false,"steppedLine": false,"targets": [{"expr": "jvm_buffer_memory_used_bytes{application=\"$application\", instance=\"$instance\", id=\"mapped\",environment=\"$environment\"}","format": "time_series","interval": "","intervalFactor": 2,"legendFormat": "used","metric": "","refId": "A","step": 2400},{"expr": "jvm_buffer_total_capacity_bytes{application=\"$application\", instance=\"$instance\", id=\"mapped\",environment=\"$environment\"}","format": "time_series","interval": "","intervalFactor": 2,"legendFormat": "capacity","metric": "","refId": "B","step": 2400}],"thresholds": [],"timeFrom": null,"timeRegions": [],"timeShift": null,"title": "Mapped Buffers","tooltip": {"msResolution": false,"shared": true,"sort": 0,"value_type": "cumulative"},"type": "graph","x-axis": true,"xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"y-axis": true,"y_formats": ["short","short"],"yaxes": [{"format": "bytes","label": null,"logBase": 1,"max": null,"min": 0,"show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}],"yaxis": {"align": false,"alignLevel": null}},{"aliasColors": {},"bars": false,"dashLength": 10,"dashes": false,"datasource": "Prometheus-测试环境","editable": true,"error": false,"fieldConfig": {"defaults": {"custom": {},"links": []},"overrides": []},"fill": 1,"fillGradient": 0,"grid": {"leftLogBase": 1,"leftMax": null,"leftMin": null,"rightLogBase": 1,"rightMax": null,"rightMin": null},"gridPos": {"h": 7,"w": 6,"x": 18,"y": 9},"hiddenSeries": false,"id": 84,"legend": {"avg": false,"current": false,"max": false,"min": false,"show": true,"total": false,"values": false},"lines": true,"linewidth": 1,"links": [],"nullPointMode": "null","options": {"alertThreshold": true},"percentage": false,"pluginVersion": "7.4.3","pointradius": 5,"points": false,"renderer": "flot","seriesOverrides": [],"spaceLength": 10,"stack": false,"steppedLine": false,"targets": [{"expr": "jvm_buffer_count_buffers{application=\"$application\", instance=\"$instance\", id=\"mapped\",environment=\"$environment\"}","format": "time_series","interval": "","intervalFactor": 2,"legendFormat": "count","metric": "","refId": "A","step": 2400}],"thresholds": [],"timeFrom": null,"timeRegions": [],"timeShift": null,"title": "Mapped Buffers","tooltip": {"msResolution": false,"shared": true,"sort": 0,"value_type": "cumulative"},"type": "graph","x-axis": true,"xaxis": {"buckets": null,"mode": "time","name": null,"show": true,"values": []},"y-axis": true,"y_formats": ["short","short"],"yaxes": [{"decimals": 0,"format": "short","label": null,"logBase": 1,"max": null,"min": 0,"show": true},{"format": "short","label": null,"logBase": 1,"max": null,"min": null,"show": true}],"yaxis": {"align": false,"alignLevel": null}}],"repeat": null,"title": "Buffer Pools 数据缓存 ","type": "row"}],"refresh": "5s","schemaVersion": 27,"style": "dark","tags": [],"templating": {"list": [{"allValue": null,"current": {"selected": false,"text": "develop","value": "dev"},"description": null,"error": null,"hide": 0,"includeAll": false,"label": "Environment","multi": false,"name": "environment","options": [{"selected": true,"text": "develop","value": "dev"},{"selected": false,"text": "test","value": "test"}],"query": "develop : dev,test : test","queryValue": "","skipUrlSync": false,"type": "custom"},{"allValue": null,"current": {"selected": false,"text": "scp-product-service","value": "scp-product-service"},"datasource": "Prometheus-测试环境","definition": "","description": null,"error": null,"hide": 0,"includeAll": false,"label": "Application","multi": false,"name": "application","options": [],"query": {"query": "label_values(application)","refId": "Prometheus-测试环境-application-Variable-Query"},"refresh": 2,"regex": "","skipUrlSync": false,"sort": 0,"tagValuesQuery": "","tags": [],"tagsQuery": "","type": "query","useTags": false},{"allFormat": "glob","allValue": null,"current": {"selected": false,"text": "172.27.135.183:8304","value": "172.27.135.183:8304"},"datasource": "Prometheus-测试环境","definition": "label_values(jvm_memory_used_bytes{application=\"$application\",environment=\"$environment\"}, instance)","description": null,"error": null,"hide": 0,"includeAll": false,"label": "Instance","multi": false,"multiFormat": "glob","name": "instance","options": [],"query": {"query": "label_values(jvm_memory_used_bytes{application=\"$application\",environment=\"$environment\"}, instance)","refId": "StandardVariableQuery"},"refresh": 2,"regex": "","skipUrlSync": false,"sort": 0,"tagValuesQuery": "","tags": [],"tagsQuery": "","type": "query","useTags": false},{"allFormat": "glob","allValue": null,"current": {"selected": false,"text": "All","value": "$__all"},"datasource": "Prometheus-测试环境","definition": "","description": null,"error": null,"hide": 0,"includeAll": true,"label": "JVM Memory Pools Heap","multi": false,"multiFormat": "glob","name": "jvm_memory_pool_heap","options": [],"query": {"query": "label_values(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\"},id)","refId": "Prometheus-测试环境-jvm_memory_pool_heap-Variable-Query"},"refresh": 1,"regex": "","skipUrlSync": false,"sort": 1,"tagValuesQuery": "","tags": [],"tagsQuery": "","type": "query","useTags": false},{"allFormat": "glob","allValue": null,"current": {"selected": false,"text": "All","value": "$__all"},"datasource": "Prometheus-测试环境","definition": "","description": null,"error": null,"hide": 0,"includeAll": true,"label": "JVM Memory Pools Non-Heap","multi": false,"multiFormat": "glob","name": "jvm_memory_pool_nonheap","options": [],"query": {"query": "label_values(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"nonheap\"},id)","refId": "Prometheus-测试环境-jvm_memory_pool_nonheap-Variable-Query"},"refresh": 1,"regex": "","skipUrlSync": false,"sort": 2,"tagValuesQuery": "","tags": [],"tagsQuery": "","type": "query","useTags": false}]},"time": {"from": "now-24h","to": "now"},"timepicker": {"hidden": false,"now": true,"nowDelay": "","refresh_intervals": ["5s","10s","30s","1m","5m","15m","30m","1h","2h","1d"],"time_options": ["5m","15m","1h","6h","12h","24h","2d","7d","30d"]},"timezone": "browser","title": "JVM监控","uid": "UOJjh1SMz","version": 45}
