Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

feat(signoz): add healthcheck to otel-collector service

Gauthier POGAM--LE MONTAGNERd39e6ecc0762
diff --git a/templates/compose/signoz.yaml b/templates/compose/signoz.yaml
index 77657bdd6e..6d18fe242d 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}