public class ThreadExports extends io.prometheus.client.Collector
Example usage:
new ThreadExports().register();
Example metrics being exported:
jvm_threads_current{} 300 jvm_threads_daemon{} 200 jvm_threads_peak{} 410 jvm_threads_started_total{} 1200
Constructor and Description |
---|
ThreadExports() |
ThreadExports(ThreadMXBean threadBean) |
Modifier and Type | Method and Description |
---|---|
List<io.prometheus.client.Collector.MetricFamilySamples> |
collect() |
public ThreadExports()
public ThreadExports(ThreadMXBean threadBean)
Copyright © 2017. All rights reserved.