interface MetricsService
The metrics service mainly allows to return a snapshot of measured objects. This service is derived and adapted from MetricsService in the vertx-dropwizard-metrics module.
Author
Nick Scavelli
Author
Joel Takvorian
open static fun create(measured: Measured): MetricsService
Creates a metric service for a given Measured object. |
|
abstract fun getBaseName(): String |
|
abstract fun getMetricsSnapshot(): JsonObject
Will return the metrics that correspond with the abstract fun getMetricsSnapshot(baseName: String): JsonObject
Will return the metrics that begins with the |
|
abstract fun metricsNames(): MutableSet<String> |