public class Monitors extends Object
Constructor and Description |
---|
Monitors() |
Modifier and Type | Method and Description |
---|---|
static Monitor |
and(Monitor... monitors) |
static Monitor |
createCompoundJvmMonitor(Map<String,String[]> dimensions)
Creates a JVM monitor, configured with the given dimensions, that gathers all currently available JVM-wide
monitors.
|
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). |
static Monitor |
or(Monitor... monitors) |
public static Monitor createCompoundJvmMonitor(Map<String,String[]> dimensions)
FeedDefiningMonitor.DEFAULT_METRICS_FEED
See: createCompoundJvmMonitor(Map, String)
dimensions
- common dimensions to configure the JVM monitor withpublic static Monitor createCompoundJvmMonitor(Map<String,String[]> dimensions, String feed)
JvmMonitor
, JvmCpuMonitor
and JvmThreadsMonitor
(this list may
change in any future release of this library, including a minor release).dimensions
- common dimensions to configure the JVM monitor withfeed
- feed for all emitted eventsCopyright © 2011–2018. All rights reserved.