implementation("io.micronaut.jmx:micronaut-jmx")
Micronaut JMX
Integrates JMX Monitoring
Version: 4.5.0
1 Introduction
The micronaut-jmx
module includes support for exposing Micronaut management endpoints over JMX.
A bean will be created for the management bean server based on configuration.
Property | Type | Description |
---|---|---|
|
java.lang.String |
If specified, it is expected the {@link javax.management.MBeanServerFactory#findMBeanServer} will return a server. An error will be thrown otherwise. |
|
java.lang.String |
Used if {@link #getAgentId()} returns null and {@link java.lang.management.ManagementFactory#getPlatformMBeanServer()} throws an exception. |
|
boolean |
Only used if {@link #getAgentId()} returns null and {@link java.lang.management.ManagementFactory#getPlatformMBeanServer()} throws an exception. |
|
boolean |
If a server could not be found with the {@link #agentId}, an exception will be thrown unless this method returns true. |
|
boolean |
If management beans should be registered for endpoints. |
2 Release History
For this project, you can find a list of releases (with release notes) here:
3 Setting up JMX
<dependency>
<groupId>io.micronaut.jmx</groupId>
<artifactId>micronaut-jmx</artifactId>
</dependency>
4 Endpoints
If the management dependency is also on the classpath, management beans will be created for all endpoints by default.
5 Repository
You can find the source code of this project in this repository: