-
-
Notifications
You must be signed in to change notification settings - Fork 27.3k
Implement Health Check for Microservices Observability (#2695) #2774
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement Health Check for Microservices Observability (#2695) #2774
Conversation
The commit introduces Health Check pattern, providing a series of health indicators for system performance and stability monitoring, including checks for system CPU load, process CPU load, database health, memory usage, and garbage collection metrics. It also includes asynchronous execution and caching mechanisms for health checks, and retry configurations for resilience. Implements health checking components as per issue #2695.
…olved or not in CI.
ADDED HIGH_PROCESS_CPU_LOAD_MESSAGE_WITHOUT_PARAM ADDED HIGH_SYSTEM_CPU_LOAD_MESSAGE_WITHOUT_PARAM
…f using a generic one." added HealthCheckInterruptedException refactored CustomHealthIndicator
|
Kudos, SonarCloud Quality Gate passed! |
iluwatar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks great! The only thing worth mentioning is the explanation section of the README.md. We need to make it more verbose and structure according https://github.com/iluwatar/java-design-patterns/wiki/02.-Pattern-template, but let's do that in a follow-up issue
|
@all-contributors please add @ylcn91 for code |
|
I've put up a pull request to add @ylcn91! 🎉 |
|
Here is the follow-up issue: #2782 |
|
Thank you ! |








The commit introduces the Health Check pattern, providing a series of health indicators for system performance and stability monitoring, including checks for system CPU load, process CPU load, database health, memory usage, and garbage collection metrics. It also includes asynchronous execution and caching mechanisms for health checks, and retry configurations for resilience.
Implements health-checking components as per issue #2695.
This pull request introduces the Health Check pattern, an essential feature for the observability of microservices. The implementation allows services within a system to regularly check their health status and report it back for monitoring purposes. The health indicators cover various aspects such as system CPU load, process CPU load, database connectivity, memory usage, and garbage collection status. These indicators are crucial for proactive system maintenance and resilience in a microservice architecture.
Changes included in this pull request:
This implementation addresses the issue reported in #2695 and follows the guidelines provided in the How to Contribute section of the repository's wiki.
Additional notes:
/etcfolder for a visual understanding of the pattern.