Class PrometheusConfigGroup

    • Field Detail

      • enabled

        @ConfigItem
        public Optional<Boolean> enabled
        Support for export to Prometheus.

        Support for Prometheus will be enabled if Micrometer support is enabled, the PrometheusMeterRegistry is on the classpath and either this value is true, or this value is unset and quarkus.micrometer.registry-enabled-default is true.

      • path

        @ConfigItem(defaultValue="metrics")
        public String path
        The path for the prometheus metrics endpoint (produces text/plain). The default value is metrics.
      • defaultRegistry

        @ConfigItem(defaultValue="true")
        public boolean defaultRegistry
        By default, this extension will create a Prometheus MeterRegistry instance.

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

    • Constructor Detail

      • PrometheusConfigGroup

        public PrometheusConfigGroup()