{{announcement.body}}
{{announcement.title}}

MicroProfile Metrics with Prometheus and Grafana [Video]

DZone 's Guide to

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.

· Performance Zone ·
Free Resource

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.


Topics:
grafana, java, microprofile, microprofile metrics, microservice architecture, microservices, prometheus

Published at DZone with permission of Rudy De Busscher , DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}