Checking the health of Java microservices by using Eclipse MicroProfile Health Check
Master how to check the health of Java microservices using Eclipse MicroProfile Health Check. Learn to monitor microservice status and availability, ensuring that services are running smoothly in production environments.
At a Glance
Explore how to report and check the health of a microservice with MicroProfile Health.
You will learn how to use MicroProfile Health to report the health status of microservices and take appropriate actions based on this report.
MicroProfile Health allows services to report their health, and it publishes the overall health status to a defined endpoint. A service reports UP if it is available and reports DOWN if it is unavailable. MicroProfile Health reports an individual service status at the endpoint and indicates the overall status as UP if all the services are UP. A service orchestrator can then use the health statuses to make decisions.
A service checks its own health by performing necessary self-checks and then reports its overall status by implementing the API provided by MicroProfile Health. A self-check can be a check on anything that the service needs, such as a dependency, a successful connection to an endpoint, a system property, a database connection, or the availability of required resources. MicroProfile offers checks for both liveness and readiness.
You will add liveness and readiness checks to the system and inventory services, which are provided for you, and implement what is necessary to report health status by using MicroProfile Health.
Created by
The Open Liberty Project team
User Reviews
Be the first to review “Checking the health of Java microservices by using Eclipse MicroProfile Health Check”
Checking the health of Java microservices by using Eclipse MicroProfile Health Check
There are no reviews yet.