Graphite

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

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

boolean

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

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

Environment variable: QUARKUS_MICROMETER_EXPORT_GRAPHITE_DEFAULT_REGISTRY

boolean

true

Graphite registry configuration properties.

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

Available values:

Property=Default

Description

graphiteTagsEnabled=boolean

Whether Graphite tags should be used, as opposed to a hierarchical naming convention. Defaults to true if no values are present for tagsAsPrefix

rateUnits=SECONDS

Base time unit used to report rates. Defaults to SECONDS.

durationUnits=MILLISECONDS

Base time unit used to report durations. Defaults to MILLISECONDS

host=localhost

Host of the Graphite server to receive exported metrics. The default to localhost.

port=2004

Port of the Graphite server to receive exported metrics. The default to 2004.

protocol=PICKLED

Protocol to use while shipping data to Graphite (valid values are PLAINTEXT, UDP and PICKLED). The default to PICKLED.

publish=true

By default, gathered metrics will be published to Graphite when the MeterRegistry is enabled. Use this attribute to selectively disable publication of metrics in some environments.

step=1m

The interval at which metrics are sent to Graphite. Defaults to 1 minute.

Other Micrometer configuration attributes can also be specified.

Environment variable: QUARKUS_MICROMETER_EXPORT_GRAPHITE

Map<String,String>