Class MPMetricsConfigGroup
- java.lang.Object
-
- io.quarkus.micrometer.runtime.config.MPMetricsConfigGroup
-
- All Implemented Interfaces:
MicrometerConfig.CapabilityEnabled
public class MPMetricsConfigGroup extends Object implements MicrometerConfig.CapabilityEnabled
Build / static runtime config for the Microprofile Metrics Binder
-
-
Constructor Summary
Constructors Constructor Description MPMetricsConfigGroup()
-
-
-
Field Detail
-
enabled
@ConfigItem public 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] ---- ---- 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.org.eclipse.microprofile.metrics microprofile-metrics-api
-
-
Method Detail
-
getEnabled
public Optional<Boolean> getEnabled()
- Specified by:
getEnabledin interfaceMicrometerConfig.CapabilityEnabled
-
-