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

Actuator healthcheck #1103

Open
wants to merge 21 commits into
base: master
Choose a base branch
from

Conversation

charlesmst
Copy link

This is the initial work for #1091.

It is only implementing the check now, but watch will be added later by pushing metrics every 30s as @ST-DDT suggested.

I was wondering if this should be the default behavior when the actuator is present, so I added a property to enable this instead of the GRPC standard health endpoint.

@charlesmst charlesmst changed the title Actuator healthcheck #1093 Actuator healthcheck #1091 May 2, 2024
@charlesmst charlesmst changed the title Actuator healthcheck #1091 Actuator healthcheck May 2, 2024
Copy link
Collaborator

@ST-DDT ST-DDT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm currently buzy with work, so reviews will take a while.

@ST-DDT ST-DDT added the enhancement A feature request or improvement label May 8, 2024
charlesmst and others added 7 commits May 10, 2024 14:30
Co-authored-by: ST-DDT <ST-DDT@gmx.de>
Co-authored-by: ST-DDT <ST-DDT@gmx.de>
Co-authored-by: ST-DDT <ST-DDT@gmx.de>
…pc/server/autoconfigure/GrpcHealthServiceTrueActuatorConfigurationTest.java

Co-authored-by: ST-DDT <ST-DDT@gmx.de>
…pc/server/health/ActuatorGrpcHealthTest.java

Co-authored-by: ST-DDT <ST-DDT@gmx.de>
@charlesmst charlesmst force-pushed the actuator-healthcheck branch 2 times, most recently from 459c018 to dc3e521 Compare May 10, 2024 18:04
@charlesmst
Copy link
Author

Hi @ST-DDT, thanks for the review. I think all your comments have been addressed. Let me know if you see more improvements for this feature. About the watch method, I didn't start it yet, but I was thinking in doing it in a separate PR because I think it will involve a lot more code, or do you prefer to have everything here in this pr?

Copy link
Collaborator

@ST-DDT ST-DDT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, for the delay in the reviews. I haven't tested it yet, but looks good to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A feature request or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants