Achieve your goals faster with our ✨NEW✨ Personalized Learning Plan - select your content, set your own timeline and we will help you stay on track. Log in and Head to My Learning to get started! Learn more

Offered By: IBM

Monitoring the metrics of Java microservices using Eclipse M

You’ll explore how to provide system and application metrics from a microservice with MicroProfile Metrics.

Continue reading

Guided Project

Open Liberty

101 Enrolled

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

Estimated Effort

1 Hour

Level

Intermediate

Skills You Will Learn

Jakarta EE, MicroProfile, Open Liberty

Language

English

Course Code

GPXX0QS6EN

Tell Your Friends!

Saved this page to your clipboard!

Have questions or need support? Chat with me 😊