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

Configurable health checking return codes #7690

Open
christophermaier opened this issue May 15, 2020 · 1 comment
Open

Configurable health checking return codes #7690

christophermaier opened this issue May 15, 2020 · 1 comment
Labels
Focus:Supervisor Related to the Habitat Supervisor (core/hab-sup) component

Comments

@christophermaier
Copy link
Contributor

While the current implementation maps health-check hook return codes to specific HTTP codes when queried via HTTP, it may be useful for integrating into other systems if the HTTP code can be influenced via GET request parameters.

Extracted from #6023:

Add GET parameter to the health endpoints that enable control over the return code for the different statuses. Prior art: HashiCorp Vault's health endpoint https://www.vaultproject.io/api/system/health.html. This may be the simplest solution and have the best effort-to-payoff ratio.

@stale
Copy link

stale bot commented Oct 16, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Focus:Supervisor Related to the Habitat Supervisor (core/hab-sup) component
Projects
None yet
Development

No branches or pull requests

2 participants