Class StandardExports
java.lang.Object
io.prometheus.client.Collector
io.prometheus.client.hotspot.StandardExports
Exports the standard exports common across all prometheus clients.
This includes stats like CPU time spent and memory usage.
Example usage:
new StandardExports().register();
-
Nested Class Summary
Nested classes/interfaces inherited from class Collector
Collector.Describable, Collector.MetricFamilySamples, Collector.Type -
Field Summary
Fields inherited from class Collector
MILLISECONDS_PER_SECOND, NANOSECONDS_PER_SECOND -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Collector
checkMetricLabelName, checkMetricName, collect, doubleToGoString, register, register, sanitizeMetricName