Interface MicrometerConfig
@ConfigMapping(prefix="quarkus.micrometer")
@ConfigRoot(phase=BUILD_AND_RUN_TIME_FIXED)
public interface MicrometerConfig
Global configuration for the Micrometer extension
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuild / static runtime config for bindersstatic interfacestatic interfaceBuild / static runtime config for exporters -
Method Summary
Modifier and TypeMethodDescriptionbinder()Build / static runtime config for bindersbooleanMicrometer MeterBinder discovery.default booleanFor MeterBinder configurations with optional 'enabled' attributes, determine whether the binder is enabled usingbinderEnabledDefault()as the default value.default booleanFor MeterRegistry configurations with optional 'enabled' attributes, determine whether the registry is enabled usingregistryEnabledDefault()as the default value.booleanenabled()Micrometer metrics support.export()Build / static runtime config for exportersbooleanMicrometer MeterRegistry discovery.
-
Method Details
-
enabled
@WithDefault("true") boolean enabled()Micrometer metrics support.Micrometer metrics support is enabled by default.
-
registryEnabledDefault
@WithDefault("true") boolean registryEnabledDefault()Micrometer MeterRegistry discovery.Micrometer MeterRegistry implementations discovered on the classpath will be enabled automatically by default.
-
binderEnabledDefault
@WithDefault("true") boolean binderEnabledDefault()Micrometer MeterBinder discovery.Micrometer MeterBinder implementations discovered on the classpath will be enabled automatically by default.
-
binder
MicrometerConfig.BinderConfig binder()Build / static runtime config for binders -
export
MicrometerConfig.ExportConfig export()Build / static runtime config for exporters -
checkRegistryEnabledWithDefault
For MeterRegistry configurations with optional 'enabled' attributes, determine whether the registry is enabled usingregistryEnabledDefault()as the default value. -
checkBinderEnabledWithDefault
For MeterBinder configurations with optional 'enabled' attributes, determine whether the binder is enabled usingbinderEnabledDefault()as the default value.
-