OTLP

<dependency>
    <groupId>io.quarkiverse.micrometer.registry</groupId>
    <artifactId>quarkus-micrometer-registry-otlp</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 OTLP.

Support for OTLP will be enabled if Micrometer support is enabled, the OTLP 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_OTLP_ENABLED

boolean

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

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

Environment variable: QUARKUS_MICROMETER_EXPORT_OTLP_DEFAULT_REGISTRY

boolean

true

OTLP registry configuration properties.

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

Available values:

Property=Default

Description

url=string

Address to where metrics will be published. Defaults to http://localhost:4318/v1/metrics

resourceAttributes=list

A comma-separated list of attributes describing to be used as resource attributes, e.g. "key1=val1,key2=val2". Defaults to empty. If not set it tries to use OTEL_RESOURCE_ATTRIBUTES and OTEL_SERVICE_NAME to automatically build the resource attributes.

Other Micrometer configuration attributes can also be specified.

Environment variable: QUARKUS_MICROMETER_EXPORT_OTLP

Map<String,String>