Class Monitors
java.lang.Object
org.apache.druid.java.util.metrics.Monitors
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Monitorstatic MonitorcreateCompoundJvmMonitor(Map<String, String[]> dimensions) Creates a JVM monitor, configured with the given dimensions, that gathers all currently available JVM-wide monitors.static MonitorcreateCompoundJvmMonitor(Map<String, String[]> dimensions, String feed) Creates a JVM monitor, configured with the given dimensions, that gathers all currently available JVM-wide monitors:JvmMonitor,JvmCpuMonitorandJvmThreadsMonitor(this list may change in any future release of this library, including a minor release).
-
Constructor Details
-
Monitors
public Monitors()
-
-
Method Details
-
createCompoundJvmMonitor
Creates a JVM monitor, configured with the given dimensions, that gathers all currently available JVM-wide monitors. Emitted events have default feedFeedDefiningMonitor.DEFAULT_METRICS_FEEDSee:createCompoundJvmMonitor(Map, String)- Parameters:
dimensions- common dimensions to configure the JVM monitor with- Returns:
- a universally useful JVM-wide monitor
-
createCompoundJvmMonitor
Creates a JVM monitor, configured with the given dimensions, that gathers all currently available JVM-wide monitors:JvmMonitor,JvmCpuMonitorandJvmThreadsMonitor(this list may change in any future release of this library, including a minor release).- Parameters:
dimensions- common dimensions to configure the JVM monitor withfeed- feed for all emitted events- Returns:
- a universally useful JVM-wide monitor
-
and
-