Class MetricsService
java.lang.Object
io.vertx.reactivex.micrometer.MetricsService
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
The metrics service mainly allows to return a snapshot of measured objects.
This service is derived and adapted from
This service is derived and adapted from
MetricsService in the vertx-dropwizard-metrics module.
NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MetricsServiceCreates a metric service for a given object.booleanWill return the metrics that correspond with themeasuredobject, null if no metrics is available.getMetricsSnapshot(String baseName) Will return the metrics that begins with thebaseName, null if no metrics is available.inthashCode()static MetricsServicetoString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
MetricsService
-
MetricsService
-
-
Method Details
-
toString
-
equals
-
hashCode
-
getDelegate
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
create
Creates a metric service for a given object.- Parameters:
measured- the measured object- Returns:
- the metrics service
-
getBaseName
- Returns:
- the base name of the measured object
-
metricsNames
-
getMetricsSnapshot
Will return the metrics that correspond with themeasuredobject, null if no metrics is available.- Returns:
- 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
-
getMetricsSnapshot
Will return the metrics that begins with thebaseName, null if no metrics is available.- Parameters:
baseName-- Returns:
- the map of metrics where the key is the name of the metric and the value is the json data representing that metric
-
newInstance
-