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

ready/health checks #9

Open
jdx opened this issue Dec 12, 2024 · 0 comments
Open

ready/health checks #9

jdx opened this issue Dec 12, 2024 · 0 comments

Comments

@jdx
Copy link
Owner

jdx commented Dec 12, 2024

3 ideas for ready/health checks:

  • delay - wait a few seconds to make sure it doesn't fail (likely on by default)
  • output - wait until a certain output appears in the logs
  • http - make an http response, check the result

most of these are good for "ready" checks - knowing when the daemon has started and pf start can return 0. The http one could be used long-term though and repeat to make sure the daemon is still responsive.

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