From d39e6ecc07625b757c50f7460f9d7f18f19c39bd Mon Sep 17 00:00:00 2001 From: Gauthier POGAM--LE MONTAGNER Date: Fri, 21 Mar 2025 18:08:40 +0100 Subject: [PATCH] feat(signoz): add healthcheck to otel-collector service --- templates/compose/signoz.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/templates/compose/signoz.yaml b/templates/compose/signoz.yaml index 77657bdd6..6d18fe242 100644 --- a/templates/compose/signoz.yaml +++ b/templates/compose/signoz.yaml @@ -1684,6 +1684,11 @@ services: - SERVICE_FQDN_OTELCOLLECTORHTTP_4318 - OTEL_RESOURCE_ATTRIBUTES=host.name=signoz-host,os.type=linux - LOW_CARDINAL_EXCEPTION_GROUPING=false + healthcheck: + test: bash -c "exec 6<> /dev/tcp/localhost/13133" + interval: 30s + timeout: 5s + retries: 3 schema-migrator-sync: image: signoz/signoz-schema-migrator:${OTELCOL_TAG:-v0.111.34}