Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

added healthcheck for query service to wait for router service

Ankit Anand47bf512a33a5
diff --git a/deploy/docker/docker-compose-tiny.yaml b/deploy/docker/docker-compose-tiny.yaml
index 6011d49393..10c1b4ea54 100644
--- a/deploy/docker/docker-compose-tiny.yaml
+++ b/deploy/docker/docker-compose-tiny.yaml
@@ -171,7 +171,11 @@ services:
- DruidDatasource=flattened_spans
- STORAGE=druid
- POSTHOG_API_KEY=H-htDCae7CR3RV57gUzmol6IAKtm5IMCvbcm_fwnL-w
-
+ healthcheck:
+ test: ["CMD", "wget", "--spider", "-q", "http://router:8888/status/health"]
+ interval: 30s
+ timeout: 5s
+ retries: 5
frontend:
image: signoz/frontend:0.3.0
diff --git a/deploy/docker/docker-compose.yaml b/deploy/docker/docker-compose.yaml
index b5e1c91720..dcdd83237f 100644
--- a/deploy/docker/docker-compose.yaml
+++ b/deploy/docker/docker-compose.yaml
@@ -167,6 +167,11 @@ services:
- STORAGE=druid
- POSTHOG_API_KEY=H-htDCae7CR3RV57gUzmol6IAKtm5IMCvbcm_fwnL-w
+ healthcheck:
+ test: ["CMD", "wget", "--spider", "-q", "http://router:8888/status/health"]
+ interval: 30s
+ timeout: 5s
+ retries: 5
frontend:
image: signoz/frontend:0.3.0