interface MetricsService
The metrics service mainly allows to return a snapshot of measured objects.
Author
Nick Scavelli
open static fun create(vertx: Vertx): MetricsService
Creates a metric service for a given io.vertx.core.Vertx instance. |
|
abstract fun getBaseName(measured: Measured): String |
|
abstract fun getMetricsSnapshot(measured: Measured): 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> |