Stackdriver

<dependency>
    <groupId>io.quarkiverse.micrometer.registry</groupId>
    <artifactId>quarkus-micrometer-registry-stackdriver</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 Stackdriver. <p> Support for Stackdriver will be enabled if Micrometer support is enabled, the Stackdriver registry extension is enabled and either this value is true, or this value is unset and quarkus.micrometer.registry-enabled-default is true. <p>

Stackdriver libraries do not yet support running in native mode. The Stackdriver MeterRegistry will be automatically disabled for native builds. <p> See https://github.com/grpc/grpc-java/issues/5460

Environment variable: QUARKUS_MICROMETER_EXPORT_STACKDRIVER_ENABLED

boolean

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

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

Environment variable: QUARKUS_MICROMETER_EXPORT_STACKDRIVER_DEFAULT_REGISTRY

boolean

true

Stackdriver registry configuration properties.

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

Available values:

Property=Default

Description

project-id=MY_PROJECT_ID

Define the project id used to push data to Stackdriver Monitoring

publish=true

By default, gathered metrics will be published to Stackdriver 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 Stackdriver Monitoring. The default is 1 minute.

Other Micrometer configuration attributes can also be specified.

Environment variable: QUARKUS_MICROMETER_EXPORT_STACKDRIVER

Map<String,String>