Class Monitors


  • public class Monitors
    extends Object
    • Constructor Detail

      • Monitors

        public Monitors()
    • Method Detail

      • createCompoundJvmMonitor

        public static Monitor createCompoundJvmMonitor​(Map<String,​String[]> dimensions,
                                                       String feed)
        Creates a JVM monitor, configured with the given dimensions, that gathers all currently available JVM-wide monitors: JvmMonitor, JvmCpuMonitor and JvmThreadsMonitor (this list may change in any future release of this library, including a minor release).
        Parameters:
        dimensions - common dimensions to configure the JVM monitor with
        feed - feed for all emitted events
        Returns:
        a universally useful JVM-wide monitor