InfluxDB

<dependency>
    <groupId>io.quarkiverse.micrometer.registry</groupId>
    <artifactId>quarkus-micrometer-registry-influx</artifactId>
</dependency>

Configuration

Configuration property fixed at build time - All other configuration properties are overridable at runtime

Configuration property

Type

Default

Support for export to InfluxDB.

Support for InfluxDB will be enabled if Micrometer support is enabled, the InfluxDB registry extension is enabled and either this value is true, or this value is unset and quarkus.micrometer.registry-enabled-default is true.

Environment variable: QUARKUS_MICROMETER_EXPORT_INFLUX_ENABLED

boolean

By default, this extension will create a InfluxDB MeterRegistry instance.

Use this attribute to veto the creation of the default InfluxDB MeterRegistry.

Environment variable: QUARKUS_MICROMETER_EXPORT_INFLUX_DEFAULT_REGISTRY

boolean

true

InfluxDB registry configuration properties.

A property source for configuration of the InfluxDB MeterRegistry, see https://micrometer.io/docs/registry/influx.

Available values:

Property=Default

Description

uri=http://localhost:8086

The url of the InfluxDB Endpoint.

apiVersion=V1|V2

The API Version of the InfluxDB Endpoint.

org=ORGNAME

The Organization of the InfluxDB Endpoint.

userName=USERNAME

The userName of the InfluxDB Endpoint.

token=TOKEN

The authentication token of the InfluxDB Endpoint.

bucket=BUCKET

The bucket of the InfluxDB Endpoint.

db=DATABASE

The database name of the InfluxDB Endpoint.

step=1m

The interval at which metrics are sent to InfluxDB Monitoring. The default is 1 minute.

Other Micrometer configuration attributes can also be specified.

As mentioned in the Micrometer InfluxDB documentation, if you want to customize the metrics sink, do so by providing your own InfluxDBMeterRegistry instance using a CDI @Produces method.

Environment variable: QUARKUS_MICROMETER_EXPORT_INFLUX

Map<String,String>