Class MicrometerConfig
java.lang.Object
io.quarkus.micrometer.runtime.config.MicrometerConfig
@ConfigRoot(name="micrometer",
phase=BUILD_AND_RUN_TIME_FIXED)
public final class MicrometerConfig
extends Object
Global configuration for the Micrometer extension
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuild / static runtime config for bindersstatic interfacestatic classBuild / static runtime config for exporters -
Field Summary
FieldsModifier and TypeFieldDescriptionBuild / static runtime config for bindersbooleanMicrometer MeterBinder discovery.booleanMicrometer metrics support.Build / static runtime config for exportersbooleanMicrometer MeterRegistry discovery. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanFor MeterBinder configurations with optional 'enabled' attributes, determine whether the binder is enabled usingbinderEnabledDefaultas the default value.booleanFor MeterRegistry configurations with optional 'enabled' attributes, determine whether the registry is enabled usingregistryEnabledDefaultas the default value.toString()
-
Field Details
-
enabled
Micrometer metrics support.Micrometer metrics support is enabled by default.
-
registryEnabledDefault
Micrometer MeterRegistry discovery.Micrometer MeterRegistry implementations discovered on the classpath will be enabled automatically by default.
-
binderEnabledDefault
Micrometer MeterBinder discovery.Micrometer MeterBinder implementations discovered on the classpath will be enabled automatically by default.
-
binder
Build / static runtime config for binders -
export
Build / static runtime config for exporters
-
-
Constructor Details
-
MicrometerConfig
public MicrometerConfig()
-
-
Method Details
-
checkRegistryEnabledWithDefault
For MeterRegistry configurations with optional 'enabled' attributes, determine whether the registry is enabled usingregistryEnabledDefaultas the default value. -
checkBinderEnabledWithDefault
For MeterBinder configurations with optional 'enabled' attributes, determine whether the binder is enabled usingbinderEnabledDefaultas the default value. -
toString
-