abstract fun getMetricsSnapshot(measured: Measured): JsonObject
Will return the metrics that correspond with the 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.
Return
the map of metrics where the key is the name of the metric (excluding the base name unless for the Vert.x object) and the value is the json data representing that metric
abstract fun getMetricsSnapshot(baseName: String): JsonObject
Will return the metrics that begins with the baseName, 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.
Return
the map of metrics where the key is the name of the metric and the value is the json data representing that metric