MicroProfile Metrics with Prometheus and Grafana

Cloud & Microservices

 

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.

 

 

You may also find this previous blog useful: Consuming MicroProfile Metrics with Prometheus

 

Comments (0)

Post a comment

Your email address will not be published. Required fields are marked *

Payara needs the contact information you provide to us to contact you about our products and services. You may unsubscribe from these communications at any time. For information on how to unsubscribe, as well as our privacy practices and commitment to protecting your privacy, please review our Legal & Privacy Policy.

Related Posts

Blue background with coral and fish. Left text: 'MONTHLY CATCH'. Right: laptop screen with tech tabs and Payara Community logo. 4 minutes
Cloud & Microservices

The Payara Monthly Catch – August 2025

Welcome aboard the August 2025 issue of The Payara Monthly Catch! With summer in full swing, things may have felt […]

How to Kickstart Your Jakarta EE 11 Projects with Payara Starter 4 minutes
Cloud & Microservices

How to Kickstart Your Jakarta EE 11 Projects with Payara Starter

With Jakarta EE 11 now officially released, you are likely eager to explore its new capabilities but setting up your first application […]

How to Build Cost-Effective Cloud Architectures 4 minutes
Cloud & Microservices

How to Build Cost-Effective Cloud Architectures

Cloud adoption has transformed how developers build and scale applications, but it also brings new challenges in controlling costs. As […]