Monitoring the metrics of Java microservices using Eclipse MicroProfile Metrics
Learn how to monitor the performance of Java microservices using Eclipse MicroProfile Metrics. Gain insights into service health and performance with custom metrics, and leverage tools like Prometheus and Grafana to track and visualize important metrics for scaling and optimization.
At a Glance
You’ll explore how to provide system and application metrics from a microservice with MicroProfile Metrics.
You will learn how to use MicroProfile Metrics to provide metrics from a microservice. You can monitor metrics to determine the performance and health of a service. You can also use them to pinpoint issues, collect data for capacity planning, or to decide when to scale a service to run with more or fewer resources.
The application that you will work with is an inventory service that stores information about various systems. The inventory service communicates with the system service on a particular host to retrieve its system properties when necessary.
You will use annotations provided by MicroProfile Metrics to instrument the inventory service to provide application-level metrics data. You will add counter, gauge, and timer metrics to the service.
You will also check well-known REST endpoints that are defined by MicroProfile Metrics to review the metrics data collected. Monitoring agents can access these endpoints to collect metrics.
Created by
The Open Liberty Project team
User Reviews
Be the first to review “Monitoring the metrics of Java microservices using Eclipse MicroProfile Metrics”
Monitoring the metrics of Java microservices using Eclipse MicroProfile Metrics
There are no reviews yet.