vertx / io.vertx.kotlin.micrometer / VertxInfluxDbOptions

# VertxInfluxDbOptions

`fun VertxInfluxDbOptions(batchSize: Int? = null, compressed: Boolean? = null, connectTimeout: Int? = null, db: String? = null, enabled: Boolean? = null, numThreads: Int? = null, password: String? = null, readTimeout: Int? = null, retentionPolicy: String? = null, step: Int? = null, uri: String? = null, userName: String? = null): VertxInfluxDbOptions`

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

Vert.x InfluxDb micrometer configuration.

### Parameters

`batchSize` - Maximum number of measurements sent per request to the InfluxDB server. When the maximum is reached, several requests are made. Default is 10000.

`compressed` - Activate or deactivate GZIP compression. It is activated by default.

`connectTimeout` - Connection timeout for InfluxDB server connections, in seconds. Default is 1 second.

`db` - Database name used to store metrics. Default is "default".

`enabled` - Set true to enable InfluxDB reporting

`numThreads` - Number of threads to use by the push scheduler. Default is 2.

`password` - Password used for authenticated connections

`readTimeout` - Read timeout for InfluxDB server connections, in seconds. Default is 10 seconds.

`retentionPolicy` - InfluxDB retention policy

`step` - Push interval steps, in seconds. Default is 10 seconds.

`uri` - URI of the InfluxDB server. Example: http://influx:8086.

`userName` - Username used for authenticated connections