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

Health check #6

Open
blackandred opened this issue Aug 20, 2019 · 5 comments
Open

Health check #6

blackandred opened this issue Aug 20, 2019 · 5 comments
Assignees
Labels
FEATURE New feature or request

Comments

@blackandred
Copy link
Contributor

I think a more precised health checking should be created that would check the backend and frontend setup, the connectivity with SMTP and possibly with LDAP.

@blackandred blackandred added the FEATURE New feature or request label Aug 20, 2019
@zicklag
Copy link
Contributor

zicklag commented Aug 20, 2019

That would be a good feature request for Taiga actually, to provide a /status page. I've seen that in other software before such as JIRA. Then healthcheck scripts only need to do a curl to /status to ensure the health of the application.

Not that we couldn't implement it ourselves because I have no idea how long it would be before they worked something like that in.

@blackandred
Copy link
Contributor Author

blackandred commented Aug 20, 2019 via email

@Leopere
Copy link

Leopere commented Aug 25, 2019

Even curl'ing an asset from the Taiga-Front like a favicon would be indicative of uptime. I don't know what you'd query for Taiga-Back but I feel a curl to the API would be where to begin there. Simply curling isn't perfect but it would at least show some degree of container health so if you want self-healing or dependencies you can have them rely on the run status of the two services.

@blackandred
Copy link
Contributor Author

blackandred commented Aug 26, 2019 via email

@h44z
Copy link
Contributor

h44z commented Jun 14, 2020

in terms of container health checks i would recommend using https://github.com/aelsabbahy/goss.
this nice utility can check processes, api's and so on =)

then simply include a script:

#!/bin/bash

set -e

goss -g /app/goss.yaml validate --format json_oneline

exit 0

in the dockerfile:

HEALTHCHECK --interval=1m --timeout=10s \
    CMD /app/healthcheck.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FEATURE New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants