Monitoring the Liberty server runtime environment
With MicroProfile
Telemetry 2.0 and later, you can manage Liberty logs, metrics, and traces in a standardized way by using the OpenTelemetry protocol. For more
information, see Collect logs, metrics, and traces with OpenTelemetry.
You can use the monitor-1.0, mpMetrics-1.x,
mpMetrics-2.x, and mpMetrics-3.x features to monitor the server
runtime environment.
The monitor-1.0 feature enables a JMX interface that provides statistical data
for various components in Liberty. For more information on connecting to the JMX interface, see
Connecting to Liberty by using JMX.
The mpMetrics-1.x,
mpMetrics-2.x, and mpMetrics-3.x features provide a
/metrics REST interface that conforms to the MicroProfile Metrics
specification. Application developers can add their own custom metrics, using the MicroProfile
Metrics API, alongside the metrics provided by Liberty. Use this feature to monitor applications
instrumented with the MicroProfile Metrics API.
Documentation for the MicroProfile Metrics
feature versions 2.0 and later is available on the Open Liberty website.