🚀 Master the language of AI with our brand new course: "Prompt Engineering for Everyone" Learn more

Offered By: IBM

Monitoring the metrics of Java microservices using Eclipse MicroProfile Metrics

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

Continue reading

Guided Project

Open Liberty

92 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

Java

Language

English

Course Code

GPXX0QS6EN

Tell Your Friends!

Saved this page to your clipboard!

Sign up to our newsletter

Stay connected with the latest industry news and knowledge!