-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Closed
Labels
🔦 Type: FeatureNew functionality is requested.New functionality is requested.
Description
I'd like to include a health check into the docker file. E.g.
HEALTHCHECK --interval=5s --timeout=3s \
CMD curl --fail http://localhost:$PORT/_health || exit 1
So it would be nice to have a /_health route or something similar. The controller function should check if the connection to the mysql database is still alive. Or maybe a _version route, where xmysql responses with the connected mysql version. This can also be used for a health check.
What do you think?
o1lab
Metadata
Metadata
Assignees
Labels
🔦 Type: FeatureNew functionality is requested.New functionality is requested.