-
Notifications
You must be signed in to change notification settings - Fork 49
Closed
Labels
- Developer -Torrust Improvement ExperienceTorrust Improvement ExperienceCode Cleanup / RefactoringTidying and Making NeatTidying and Making NeatContinuous IntegrationWorkflows and AutomationWorkflows and AutomationQuality & AssuranceRelates to QA, Testing, and CIRelates to QA, Testing, and CI
Description
Implement a HEALTHCHECK for the whole application. We are doing the same for the index.
The goal is to add a line similar to this:
HEALTHCHECK --interval=5s --timeout=5s --start-period=3s --retries=3 \
CMD /usr/bin/health_check --http http://localhost:${API_PORT}/health_check \
&& /usr/bin/health_check --http http://localhost:${HTTP_PORT}/health_check \
&& /usr/bin/health_check --udp udp://localhost:${UDP_PORT} \
|| exit 1
So when you run the tracker in a container, it can show its status (healthy or not).
For the HTTP tracker and Tracker API, we can add health_check
endpoints like in the Index.
For the UDP Tracker, maybe we can try to connect.
Metadata
Metadata
Assignees
Labels
- Developer -Torrust Improvement ExperienceTorrust Improvement ExperienceCode Cleanup / RefactoringTidying and Making NeatTidying and Making NeatContinuous IntegrationWorkflows and AutomationWorkflows and AutomationQuality & AssuranceRelates to QA, Testing, and CIRelates to QA, Testing, and CI
Type
Projects
Status
No status