-
Notifications
You must be signed in to change notification settings - Fork 477
Health monitoring
Edwin van Wijk edited this page Feb 15, 2019
·
1 revision
Every API service and the web-application are equipped with a health-monitoring end-point. You can check the health of the service by doing an HTTP request to the health-check URL (/hc
):
The health-checks are implemented using the Microsoft health-monitoring libraries (Microsoft.AspNetCore.HealthChecks). See the docs for more info. The services that use a SQL Server will also do a check on whether they can connect to the server configured in the connection-string.
In the Dockerfile
of the services, a HEALTHCHECK
statement is added. This check will periodically (every 30 seconds) check the health of the service by calling the health-check URL of the service:
HEALTHCHECK --interval=30s --timeout=3s --retries=1 CMD curl --silent --fail http://localhost:5100/hc || exit 1
Table of contents
- Startpage
- Functionality
- Solution
- Running the application
- Repository