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

Expose HealthIndicator name via interface #11046

Open
aajnh opened this issue Aug 5, 2024 · 0 comments
Open

Expose HealthIndicator name via interface #11046

aajnh opened this issue Aug 5, 2024 · 0 comments

Comments

@aajnh
Copy link

aajnh commented Aug 5, 2024

Feature description

We would like to get the name of the HealthIndicator without having to subscribe to it.
We are finding the default classification of /health/readiness HealthIndicators when wired as a container readiness probe to be incorrectly escalating general health indicators to critical health indicators. We therefore want to control which HealthIndicator get reported under which custom probe endpoint. We have a pattern, but it needs the name of the HealthIndicator to be available during endpoint construction / initialisation.

Proposal is to create a default String getName() implementation on the HealthIndicator endpoint and add the @nAmed interface to the provided HealthIndicator implementations.

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

No branches or pull requests

1 participant