MicroProfile Metrics with Prometheus and Grafana [Video]
Learn how to connect MicroProfile Metrics with Prometheus and Grafana to produce useful graphics and to help investigate your microservice architecture.
Join the DZone community and get the full member experience.Join For Free
In this short video, Rudy de Busscher shows how to connect MicroProfile Metrics with Prometheus and Grafana to produce useful graphics and to help investigate your microservice architecture.
The goal of MicroProfile Metrics is to expose monitoring data from the implementation in a unified way. It also defines a Java API so that the developer can define and supply his own values.
Prometheus is the most popular Open-Source product for gathering metrics. It was started in 2012 by SoundCloud (online audio distribution platform and music sharing) and in 2018 graduated at the Cloud Native Computing Foundation. You can see it as a database for storing time series but has many more features -Multi-dimensional data model with time series -Query Language -Pull data from metric sources -Alert Manager, Therefore, MicroProfile Metrics exposes the values in the Prometheus format by default. So it can be consumed easily by the scrapers.
Grafana is a multi-platform open-source solution for running data analytics, pulling up metrics that make sense of the massive amount of data, and monitoring apps through customizable dashboards.
Published at DZone with permission of Rudy De Busscher, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
What to Pay Attention to as Automation Upends the Developer Experience
How Agile Works at Tesla [Video]
Cypress Tutorial: A Comprehensive Guide With Examples and Best Practices
Using OpenAI Embeddings Search With SingleStoreDB