fxleyu / precious-deposits

This repository is used for shell、Git、and etc. The taotie(饕餮) likes to eat and drink.
1 stars 0 forks source link

JVM Monitoring Statistics for Java SE - Threads #290

Open fxleyu opened 4 years ago

fxleyu commented 4 years ago
Statistic Data Type Description
allthreadids StringStatistic List of all live thread ids.
currentthreadcputime CountStatistic CPU time for the current thread (in nanoseconds) if CPU time measurement is enabled. If CPU time measurement is disabled, returns -1.
daemonthreadcount CountStatistic Current number of live daemon threads.
monitordeadlockedthreads StringStatistic List of thread ids that are monitor deadlocked.
peakthreadcount CountStatistic Peak live thread count since the JVM started or the peak was reset.
threadcount CountStatistic Current number of live daemon and non-daemon threads.
totalstartedthreadcount CountStatistic Total number of threads created and/or started since the JVM started.
fxleyu commented 4 years ago

压测结果复盘,发现有 8s 以上的超时,查询现场监控。

发现了JVM(Thread)的监控项。

问题: 如何对 the peak 进行 reset ?