public class MetricsServiceImpl extends Object implements MetricsService
| Constructor and Description |
|---|
MetricsServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseName(Measured measured) |
JsonObject |
getMetricsSnapshot(Measured measured)
Will return the metrics that correspond with this measured object, null if no metrics is available.
Note: in the case of scaled servers, the JsonObject returns an aggregation of the metrics as the
dropwizard backend reports to a single server.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreatepublic JsonObject getMetricsSnapshot(Measured measured)
MetricsServicegetMetricsSnapshot in interface MetricsServicepublic String getBaseName(Measured measured)
getBaseName in interface MetricsServicemeasured - the measure objectCopyright © 2015. All Rights Reserved.