Skip to content
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

Run Specific Health Checks #8685

Closed
pioto opened this issue Mar 21, 2017 · 2 comments
Closed

Run Specific Health Checks #8685

pioto opened this issue Mar 21, 2017 · 2 comments
Assignees
Labels
type: enhancement A general enhancement
Milestone

Comments

@pioto
Copy link

pioto commented Mar 21, 2017

With many monitoring tools, the best granularity I can get is "something is broken", using the current health check actuator -- many tools won't show the resulting JSON, and just monitor the HTTP status code.

Additionally, if my monitoring system detects that some part of the system is unhealthy, it's possible that additional failures could go unnoticed, because there would be no additional alarms for my "/health" check.

For both of these reasons, I'd like to suggest adding support for querying the health of specific health indicator; for example:

GET /health:

{"status": "UP", "mail":{"status": "UP", "location": "localhost:25"}, "db": {"status": "UP", "database": "MySQL", "hello": 1}}

GET /health/mail:

{"status": "UP", "location": "localhost:25"}

GET /health/db:

{"status": "UP", "database": "MySQL", "hello": 1}

This may prove to be a more straightforward solution to the requirements of #3441 & #2652 as well.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Mar 21, 2017
@philwebb philwebb added priority: normal type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Mar 21, 2017
@philwebb
Copy link
Member

Thanks for the suggestion.

@snicoll
Copy link
Member

snicoll commented May 22, 2018

Fixed by b51b997

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

5 participants