public interface VertxMetricsFactory
Modifier and Type | Method and Description |
---|---|
VertxMetrics |
metrics(VertxOptions options)
Create a new
VertxMetrics object.
No specific thread and context can be expected when this method is called. |
default MetricsOptions |
newOptions()
Create an empty metrics options.
|
default MetricsOptions |
newOptions(JsonObject jsonObject)
Create metrics options from the provided
jsonObject . |
VertxMetrics metrics(VertxOptions options)
VertxMetrics
object.
No specific thread and context can be expected when this method is called.options
- the metrics configuration optiondefault MetricsOptions newOptions()
Launcher
class when creating new options when building a CLI Vert.x.default MetricsOptions newOptions(JsonObject jsonObject)
jsonObject
.
Providers can override this method to provide a custom metrics options subclass that exposes custom configuration.
It is used by the Launcher
class when creating new options when building a CLI Vert.x.jsonObject
- json provided by the userCopyright © 2023 Eclipse. All rights reserved.