Add a rule for label matching.
Sets metrics types that are disabled.
Set InfluxDB options. Setting a registry backend option is mandatory in order to effectively report metrics.
Set JMX metrics options. Setting a registry backend option is mandatory in order to effectively report metrics.
Set a list of rules for label matching.
Sets enabled labels. These labels can be fine-tuned later on using Micrometer's Meter filters (see http://micrometer.io/docs/concepts#_meter_filters)
MetricsNaming
is a structure that holds names of all metrics, each one can be changed individually.
For instance, to retrieve compatibility with the names used in Vert.x 3.x, use setMetricsNaming(MetricsNaming.v3Names())
Programmatically set the Micrometer MeterRegistry to be used by Vert.x.
This is useful in several scenarios, such as:
This setter is mutually exclusive with setInfluxDbOptions/setPrometheusOptions/setJmxMetricsOptions and takes precedence over them.
Set Prometheus options. Setting a registry backend option is mandatory in order to effectively report metrics.
Set a name for the metrics registry, so that a new registry will be created and associated with this name.
If registryName
is not provided (or null), a default registry will be used.
If the same name is given to several Vert.x instances (within the same JVM), they will share the same registry.
Set whether metrics will be enabled on the Vert.x instance. Metrics are not enabled by default.
Whether JVM metrics should be collected. Defaults to false
.
Sets metrics types that are disabled.
Set whether metrics will be enabled on the Vert.x instance. Metrics are not enabled by default.
Set InfluxDB options. Setting a registry backend option is mandatory in order to effectively report metrics.
Set JMX metrics options. Setting a registry backend option is mandatory in order to effectively report metrics.
Whether JVM metrics should be collected. Defaults to false
.
Set a list of rules for label matching.
Sets enabled labels. These labels can be fine-tuned later on using Micrometer's Meter filters (see http://micrometer.io/docs/concepts#_meter_filters)
MetricsNaming
is a structure that holds names of all metrics, each one can be changed individually.
For instance, to retrieve compatibility with the names used in Vert.x 3.x, use setMetricsNaming(MetricsNaming.v3Names())
Programmatically set the Micrometer MeterRegistry to be used by Vert.x.
This is useful in several scenarios, such as:
This setter is mutually exclusive with setInfluxDbOptions/setPrometheusOptions/setJmxMetricsOptions and takes precedence over them.
Set Prometheus options. Setting a registry backend option is mandatory in order to effectively report metrics.
Set a name for the metrics registry, so that a new registry will be created and associated with this name.
If registryName
is not provided (or null), a default registry will be used.
If the same name is given to several Vert.x instances (within the same JVM), they will share the same registry.
Generated using TypeDoc
Vert.x micrometer configuration.
It is required to set either
influxDbOptions
,prometheusOptions
orjmxMetricsOptions
(or, programmatically,micrometerRegistry
) in order to actually report metrics.