Monitoring microservices using health endpoints

Health monitoring is implemented by sending requests to a predefined microservices endpoint on a periodic basis. The microservices endpoint should in turn perform the necessary checks for its dependent resources such as storage, databases, dependent services, and other required resources for the successful running of the applications, and return an indication of its status. Usually the results of the health monitoring check are collected by a tool such as New Relic or Prometheus for persistent and further reports or alerting.

A health monitoring check typically combines two aspects:

  • Health endpoint checks performed by the microservice in response to the request to the health monitoring endpoint ...

Get Industrial Internet Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.