public interface MetricsService
Modifier and Type | Method and Description |
---|---|
static MetricsService |
create(Vertx vertx)
Creates a metric service for a given
Vertx instance. |
String |
getBaseName(Measured measured) |
JsonObject |
getMetricsSnapshot(Measured o)
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.
|
static MetricsService create(Vertx vertx)
Vertx
instance.vertx
- the vertx instanceJsonObject getMetricsSnapshot(Measured o)
Copyright © 2015. All Rights Reserved.