feat(signoz): add healthcheck to otel-collector service
This commit is contained in:
parent
fa967abbc1
commit
d39e6ecc07
1 changed files with 5 additions and 0 deletions
|
|
@ -1684,6 +1684,11 @@ services:
|
||||||
- SERVICE_FQDN_OTELCOLLECTORHTTP_4318
|
- SERVICE_FQDN_OTELCOLLECTORHTTP_4318
|
||||||
- OTEL_RESOURCE_ATTRIBUTES=host.name=signoz-host,os.type=linux
|
- OTEL_RESOURCE_ATTRIBUTES=host.name=signoz-host,os.type=linux
|
||||||
- LOW_CARDINAL_EXCEPTION_GROUPING=false
|
- LOW_CARDINAL_EXCEPTION_GROUPING=false
|
||||||
|
healthcheck:
|
||||||
|
test: bash -c "exec 6<> /dev/tcp/localhost/13133"
|
||||||
|
interval: 30s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 3
|
||||||
|
|
||||||
schema-migrator-sync:
|
schema-migrator-sync:
|
||||||
image: signoz/signoz-schema-migrator:${OTELCOL_TAG:-v0.111.34}
|
image: signoz/signoz-schema-migrator:${OTELCOL_TAG:-v0.111.34}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue