public class GarbageCollectorExports extends io.prometheus.client.Collector
Example usage:
new GarbageCollectorExports().register();
Example metrics being exported:
jvm_gc_collection_seconds_count{gc="PS1"} 200 jvm_gc_collection_seconds_sum{gc="PS1"} 6.7
Constructor and Description |
---|
GarbageCollectorExports() |
Modifier and Type | Method and Description |
---|---|
List<io.prometheus.client.Collector.MetricFamilySamples> |
collect() |
public GarbageCollectorExports()
Copyright © 2017. All rights reserved.