Package | Description |
---|---|
org.apache.edgent.metrics |
Metric utility methods, oplets, and reporters which allow an
application to expose metric values, for example via JMX.
|
Modifier and Type | Method and Description |
---|---|
MetricsSetup |
MetricsSetup.registerWith(javax.management.MBeanServer mBeanServer)
Use the specified
MBeanServer with this metric setup. |
MetricsSetup |
MetricsSetup.startConsoleReporter()
Starts the metric
ConsoleReporter polling every second. |
MetricsSetup |
MetricsSetup.startJMXReporter(java.lang.String jmxDomainName)
Starts the metric
JMXReporter . |
static MetricsSetup |
MetricsSetup.withRegistry(ServiceContainer services,
com.codahale.metrics.MetricRegistry registry)
Returns a new
MetricsSetup for configuring metrics. |
Copyright © 2016 The Apache Software Foundation. All Rights Reserved - bbe71fa-20161201-1641