public interface MetricsService
MetricsService
in the vertx-dropwizard-metrics module.Modifier and Type | Method and Description |
---|---|
static MetricsService |
create(io.vertx.core.metrics.Measured measured)
Creates a metric service for a given
Measured object. |
String |
getBaseName() |
io.vertx.core.json.JsonObject |
getMetricsSnapshot()
Will return the metrics that correspond with the
measured object, null if no metrics is available. |
io.vertx.core.json.JsonObject |
getMetricsSnapshot(String baseName)
Will return the metrics that begins with the
baseName , null if no metrics is available. |
Set<String> |
metricsNames() |
static MetricsService create(io.vertx.core.metrics.Measured measured)
Measured
object.measured
- the measured objectString getBaseName()
io.vertx.core.json.JsonObject getMetricsSnapshot()
measured
object, null if no metrics is available.io.vertx.core.json.JsonObject getMetricsSnapshot(String baseName)
baseName
, null if no metrics is available.Copyright © 2019 Eclipse. All rights reserved.