Interface MPMetricsConfigGroup

All Superinterfaces:
MicrometerConfig.CapabilityEnabled

public interface MPMetricsConfigGroup extends MicrometerConfig.CapabilityEnabled
Build / static runtime config for the Microprofile Metrics Binder
  • Method Summary

    Modifier and Type
    Method
    Description
    Eclipse MicroProfile Metrics support.
  • Method Details

    • enabled

      Optional<Boolean> enabled()
      Eclipse MicroProfile Metrics support. Support for MicroProfile Metrics will be enabled if Micrometer support is enabled and the MicroProfile Metrics dependency is present: [source,xml] ---- org.eclipse.microprofile.metrics microprofile-metrics-api ---- The Micrometer extension currently provides a compatibility layer that supports the MP Metrics API, but metric names and recorded values will be different. Note that the MP Metrics compatibility layer will move to a different extension in the future.
      Specified by:
      enabled in interface MicrometerConfig.CapabilityEnabled
      Returns:
      Optional<Boolean>