You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a simple health checker for checking registered APIs in a service of a specific node. The application can be configured to do a simple health check of all the registered APIs in a service, given a specific time, if any of the APIs fails to respond to the health checker, the HC will automatically deregister that API from that service.
Why is removing a failing API from a service is important?
Consul is used as a service discovery tool by an API Gateway(Ocelot). Therefore we have to make sure that those services registered to Consul is actually available. Failure to do so will result the API Gateway to call end point of API servers which may not be available(Technical problem?), thus resulting an error.
How to use this health Checker?
The user is required to provide 3 key elements in a single argument,