Microservices
Updated On 03 September 2024 | Min(s) read

Health Check

Health Check provides the ability to monitor the health of the Marketing Catalog 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 Marketing Catalog application relies to function correctly.

Microservices health check helps to monitor the health of Marketing Catalog Microservice APIs and ingester as classified below:

Follow the steps below to configure health check for MarketingCatalog Microservice in ms-marketingcatalog-mongo.yml,ms-marketingcatalog-postgresql.yml,ms-marketingcatalog-mongo-pit.yml and ms-marketingcatalog-postgresql-pit.yml (Configurations are enabled by default from the Product Team)

API CONTAINER

To configure health check for Marketing Catalog Microservice in ms-marketingcatalog-mongo.yml, ms-marketingcatalog-postgresql, and lmarketingcatalog-configmap.yml

  1. Set the className_getHealthCheck environment variable in API container to enable API health check.
  2. Enable a port for health check API in Ingester (For example, 12004 as shown below).
  3. Set the healthcheck.base.path environment variable in the ingester container.

API Health Check

Marketing Catalog 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:8002/ms-marketingcatalog-api/api/v1.0.0/health/api/

K8:

Ingester Health Check

Marketing Catalog microservices expose ingester health check endpoint to monitor the health of ingester to consume and process incoming messages from Kafka or kinesis topic.

Pattern: http://<host>:<port>/<Ingester-base-path>/api/health/ingester

Sample: http://localhost:12004/ms-marketingcatalog-data-ingester/v1.0.0/health/ingester

K8:

Copyright © 2020- Temenos Headquarters SA

Published on :
Tuesday, September 2, 2025 12:39:51 PM IST