Enterprise Java

Monitoring Open Liberty with Prometheus & Grafana

I’ve recorded a video how to add monitoring to Open Liberty instances using Prometheus and Grafana, by simply configuring server features.

Open Liberty can emit technical metrics of server internals if we simply add the monitoring feature (monitor-1.0). The metrics are exposed in the Prometheus format if we further use the MicroProfile Metrics feature (mpMetrics-1.1).

In the video I’ll show how to configure Open Liberty and how to run the instance together with a database and Prometheus in a Kubernetes cluster. We’ll also see an example Grafana dashboard that displays the technical metrics.

For your production environment, you’ll certainly need to modify with and how data is being displayed. However, this examples gives you a handy starting point.

Check out the example Open Liberty configuration in the GitHub repository and the Liberty Grafana dashboard.

Published on Java Code Geeks with permission by Sebastian Daschner, partner at our JCG program. See the original article here: Monitoring Open Liberty with Prometheus & Grafana (Video)

Opinions expressed by Java Code Geeks contributors are their own.

Sebastian Daschner

Sebastian Daschner is a self-employed Java consultant and trainer. He is the author of the book 'Architecting Modern Java EE Applications'. Sebastian is a Java Champion, Oracle Developer Champion and JavaOne Rockstar.
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments
Back to top button