Class ClassLoadingExports


  • public class ClassLoadingExports
    extends io.prometheus.client.Collector
    Exports metrics about JVM classloading.

    Example usage:

     
       new ClassLoadingExports().register();
     
     
    Example metrics being exported:
       jvm_classes_loaded{} 1000
       jvm_classes_loaded_total{} 2000
       jvm_classes_unloaded_total{} 500
     
    • Nested Class Summary

      • Nested classes/interfaces inherited from class io.prometheus.client.Collector

        io.prometheus.client.Collector.Describable, io.prometheus.client.Collector.MetricFamilySamples, io.prometheus.client.Collector.Type
    • Field Summary

      • Fields inherited from class io.prometheus.client.Collector

        MILLISECONDS_PER_SECOND, NANOSECONDS_PER_SECOND