You have to rely on something to check if our services are up and running. Wether it’s a monitoring tool, a loadbalancer checking for healthy endpoints, …
I recommend using a a route named /ping and use good old http request for checking.
This way – imho – you have a stronger guarantee that your service is up and running.
PS: Don’t forget to disable logging for this route 😉
You must be logged in to post a comment.