This feature provides support for the Eclipse MicroProfile Metrics 5.1 specification for enterprise Java.
Enabling this feature
To enable the MicroProfile Metrics 5.1 feature, add the following element declaration into your server.xml
file, inside the featureManager
element:
<feature>mpMetrics-5.1</feature>
Feature configuration elements
Standard API packages provided by this feature
-
jakarta.annotation
-
jakarta.annotation.security
-
jakarta.annotation.sql
Stable API packages provided by this feature
-
org.eclipse.microprofile.metrics
-
org.eclipse.microprofile.metrics.annotation
Liberty API packages provided by this feature
-
com.ibm.websphere.endpoint
-
com.ibm.websphere.security.auth.callback
-
com.ibm.wsspi.security.auth.callback
-
com.ibm.wsspi.security.common.auth.module
-
com.ibm.wsspi.security.tai
-
com.ibm.wsspi.security.token
Features that this feature enables
Supported Java versions
-
JavaSE-11.0
-
JavaSE-17.0
-
JavaSE-21.0
-
JavaSE-22.0
Features that enable this feature
Developing a feature that depends on this feature
If you are developing a feature that depends on this feature, include the following item in the Subsystem-Content
header in your feature manifest file.
io.openliberty.mpMetrics-5.1; type="osgi.subsystem.feature"
SPI packages provided by this feature
-
com.ibm.ws.adaptable.module.structure
-
com.ibm.ws.anno.classsource.specification
-
com.ibm.wsspi.adaptable.module
-
com.ibm.wsspi.adaptable.module.adapters
-
com.ibm.wsspi.anno.classsource
-
com.ibm.wsspi.anno.info
-
com.ibm.wsspi.anno.service
-
com.ibm.wsspi.anno.targets
-
com.ibm.wsspi.anno.util
-
com.ibm.wsspi.artifact
-
com.ibm.wsspi.artifact.equinox.module
-
com.ibm.wsspi.artifact.factory
-
com.ibm.wsspi.artifact.factory.contributor
-
com.ibm.wsspi.artifact.overlay
-
com.ibm.wsspi.http
-
com.ibm.wsspi.http.ee8