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

Healthcheck/ping endpoint #837

Closed
modem7 opened this issue Jan 29, 2023 · 4 comments
Closed

Healthcheck/ping endpoint #837

modem7 opened this issue Jan 29, 2023 · 4 comments

Comments

@modem7
Copy link

modem7 commented Jan 29, 2023

  • What do you want to happen?
    A Healthcheck/ping endpoint. Something like /health or /ping to be exposed unauthenticated.
  • If not clear, why do you want it?
    This will make both internal and external healthchecks a lot easier.
  • Do you think it's something only you need or something that might be popular?
    Popular, especially with Docker
@theotherp
Copy link
Owner

I mean, if you curl it and get a 401 it's healthy enough to ask for auth.

But I could make /actuator/health/ping public.

@modem7
Copy link
Author

modem7 commented Jan 29, 2023

I mean, if you curl it and get a 401 it's healthy enough to ask for auth.

But I could make /actuator/health/ping public.

That would be ace!

To give a slightly more in depth use case: I currently have hydra behind authelia, and use an uptime monitor.

For the link, if I give just the hydra URL, it'd get the status of authelia rather than hydra itself.

But from another aspect, healthchecks in docker wouldn't have to curl the entire page, but instead a much smaller endpoint, which would make things somewhat neater.

Thanks!

@theotherp
Copy link
Owner

You can call /actuator/health/ping in 5.1.2

@modem7
Copy link
Author

modem7 commented Feb 2, 2023

Thank you!

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

No branches or pull requests

2 participants