Health Checks

This section explains the Health Check feature, which provides the ability to monitor the health of the Due Diligence application. This is useful not only to test the internal health of an application but also it’s external dependencies (such as a third party API) on which Due Diligence application relies to function correctly.

Microservices' health check helps to monitor the health of Due Diligence microservice APIs as classified below:

  • API health check
    • Database check
    • Third-party API check

To configure health check for Due Diligence Microservice in duediligence.yml, set the className_getHealthCheck environment variable in API container to enable API health check.

API Health Check

Due Diligence microservices expose API health check endpoint to monitor the health of microservice APIs.

Pattern: http://<host>:<port>/<context-root>/api/health/api

Sample: http://localhost:8004/ms-duediligence-api/api/v1.0.0/health/api/

Docker:


Bookmark Name Actions
Feedback
x