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