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.

chore: split migrator job to sync and async (#6107)

Srikanth Chekuri17e20e7f418d
diff --git a/deploy/docker/clickhouse-setup/docker-compose-minimal.yaml b/deploy/docker/clickhouse-setup/docker-compose-minimal.yaml
index e12fb3831c..17d79860cb 100644
--- a/deploy/docker/clickhouse-setup/docker-compose-minimal.yaml
+++ b/deploy/docker/clickhouse-setup/docker-compose-minimal.yaml
@@ -34,7 +34,7 @@ x-db-depend: &db-depend
depends_on:
clickhouse:
condition: service_healthy
- otel-collector-migrator:
+ otel-collector-migrator-sync:
condition: service_completed_successfully
# clickhouse-2:
# condition: service_healthy
@@ -212,11 +212,13 @@ services:
volumes:
- ../common/nginx-config.conf:/etc/nginx/conf.d/default.conf
- otel-collector-migrator:
+ otel-collector-migrator-sync:
image: signoz/signoz-schema-migrator:${OTELCOL_TAG:-0.102.10}
- container_name: otel-migrator
+ container_name: otel-migrator-sync
command:
+ - "sync"
- "--dsn=tcp://clickhouse:9000"
+ - "--up="
depends_on:
clickhouse:
condition: service_healthy
@@ -225,6 +227,22 @@ services:
# clickhouse-3:
# condition: service_healthy
+ otel-collector-migrator-async:
+ image: signoz/signoz-schema-migrator:${OTELCOL_TAG:-0.102.10}
+ container_name: otel-migrator-async
+ command:
+ - "async"
+ - "--dsn=tcp://clickhouse:9000"
+ - "--up="
+ depends_on:
+ clickhouse:
+ condition: service_healthy
+ otel-collector-migrator-sync:
+ condition: service_completed_successfully
+ # clickhouse-2:
+ # condition: service_healthy
+ # clickhouse-3:
+ # condition: service_healthy
otel-collector:
image: signoz/signoz-otel-collector:${OTELCOL_TAG:-0.102.12}
@@ -262,7 +280,7 @@ services:
depends_on:
clickhouse:
condition: service_healthy
- otel-collector-migrator:
+ otel-collector-migrator-sync:
condition: service_completed_successfully
query-service:
condition: service_healthy