Class SmallRyeMetricsProcessor.SmallRyeMetricsConfig
- java.lang.Object
-
- io.quarkus.smallrye.metrics.deployment.SmallRyeMetricsProcessor.SmallRyeMetricsConfig
-
- Enclosing class:
- SmallRyeMetricsProcessor
@ConfigRoot(name="smallrye-metrics") static final class SmallRyeMetricsProcessor.SmallRyeMetricsConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description booleanextensionsEnabledWhether metrics published by Quarkus extensions should be enabled.booleanjaxrsEnabledWhether detailed JAX-RS metrics should be enabled.booleanmicrometerCompatibilityApply Micrometer compatibility mode, where instead of regular 'base' and 'vendor' metrics, Quarkus exposes the same 'jvm' metrics that Micrometer does.(package private) StringpathThe path to the metrics handler.
-
Constructor Summary
Constructors Constructor Description SmallRyeMetricsConfig()
-
-
-
Field Detail
-
path
@ConfigItem(defaultValue="metrics") String path
The path to the metrics handler. By default, this value will be resolved as a path relative to `${quarkus.http.non-application-root-path}`. If the management interface is enabled, the value will be resolved as a path relative to `${quarkus.management.root-path}`.
-
extensionsEnabled
@ConfigItem(name="extensions.enabled", defaultValue="true") public boolean extensionsEnabledWhether metrics published by Quarkus extensions should be enabled.
-
micrometerCompatibility
@ConfigItem(name="micrometer.compatibility") public boolean micrometerCompatibility
Apply Micrometer compatibility mode, where instead of regular 'base' and 'vendor' metrics, Quarkus exposes the same 'jvm' metrics that Micrometer does. Application metrics are unaffected by this mode. The use case is to facilitate migration from Micrometer-based metrics, because original dashboards for JVM metrics will continue working without having to rewrite them.
-
jaxrsEnabled
@ConfigItem(name="jaxrs.enabled", defaultValue="false") public boolean jaxrsEnabledWhether detailed JAX-RS metrics should be enabled.
-
-