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. |