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 Details

    • 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 extensionsEnabled
      Whether 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 jaxrsEnabled
      Whether detailed JAX-RS metrics should be enabled.

      See MicroProfile Metrics: Optional REST metrics.

  • Constructor Details

    • SmallRyeMetricsConfig

      SmallRyeMetricsConfig()