vertx / io.vertx.kotlin.micrometer / VertxPrometheusOptions

VertxPrometheusOptions

fun VertxPrometheusOptions(embeddedServerEndpoint: String? = null, embeddedServerOptions: HttpServerOptions? = null, enabled: Boolean? = null, publishQuantiles: Boolean? = null, startEmbeddedServer: Boolean? = null): VertxPrometheusOptions

A function providing a DSL for building io.vertx.micrometer.VertxPrometheusOptions objects.

Options for Prometheus metrics backend.

Parameters

embeddedServerEndpoint - Set metrics endpoint. Use conjointly with the embedded server options. Defaults to /metrics.

embeddedServerOptions - HTTP server options for the embedded server

enabled - Set true to enable Prometheus reporting

publishQuantiles - Set true to publish histogram stats, necessary to compute quantiles. Note that it generates many new timeseries for stats, which is why it is deactivated by default.

startEmbeddedServer - When true, an embedded server will init to expose metrics with Prometheus format.