|
|
@ -119,6 +119,8 @@ public class SystemPublicMetrics implements PublicMetrics, Ordered {
|
|
|
|
(long) threadMxBean.getPeakThreadCount()));
|
|
|
|
(long) threadMxBean.getPeakThreadCount()));
|
|
|
|
result.add(new Metric<Long>("threads.daemon",
|
|
|
|
result.add(new Metric<Long>("threads.daemon",
|
|
|
|
(long) threadMxBean.getDaemonThreadCount()));
|
|
|
|
(long) threadMxBean.getDaemonThreadCount()));
|
|
|
|
|
|
|
|
result.add(new Metric<Long>("threads.totalStarted",
|
|
|
|
|
|
|
|
threadMxBean.getTotalStartedThreadCount()));
|
|
|
|
result.add(new Metric<Long>("threads", (long) threadMxBean.getThreadCount()));
|
|
|
|
result.add(new Metric<Long>("threads", (long) threadMxBean.getThreadCount()));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|