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.
TypeScript apmapplication-monitoringdistributed-tracinggogood-first-issuejaegerloglogsmetricsmonitoringnextjsobservabilityopen-sourceopentelemetryprometheusreactreactjsself-hostedtracingtypescript
feat: address deprecation of signoz-schema-migrator (#10334)
Nageshbansal46582320252b
diff --git a/.devenv/docker/clickhouse/compose.yaml b/.devenv/docker/clickhouse/compose.yamlindex eadea41e56..5c2fbb3660 100644--- a/.devenv/docker/clickhouse/compose.yaml+++ b/.devenv/docker/clickhouse/compose.yaml@@ -41,31 +41,23 @@ services:interval: 30stimeout: 5sretries: 3- schema-migrator-sync:- image: signoz/signoz-schema-migrator:v0.142.0- container_name: schema-migrator-sync- command:- - sync- - --cluster-name=cluster- - --dsn=tcp://clickhouse:9000- - --replication=true- - --up=- depends_on:- clickhouse:- condition: service_healthy- restart: on-failure- schema-migrator-async:- image: signoz/signoz-schema-migrator:v0.142.0- container_name: schema-migrator-async+ telemetrystore-migrator:+ image: signoz/signoz-otel-collector:v0.142.0+ container_name: telemetrystore-migrator+ environment:+ - SIGNOZ_OTEL_COLLECTOR_CLICKHOUSE_DSN=tcp://clickhouse:9000+ - SIGNOZ_OTEL_COLLECTOR_CLICKHOUSE_CLUSTER=cluster+ - SIGNOZ_OTEL_COLLECTOR_CLICKHOUSE_REPLICATION=true+ - SIGNOZ_OTEL_COLLECTOR_TIMEOUT=10m+ entrypoint:+ - /bin/shcommand:- - async- - --cluster-name=cluster- - --dsn=tcp://clickhouse:9000- - --replication=true- - --up=+ - -c+ - |+ /signoz-otel-collector migrate bootstrap &&+ /signoz-otel-collector migrate sync up &&+ /signoz-otel-collector migrate async updepends_on:clickhouse:condition: service_healthy- schema-migrator-sync:- condition: service_completed_successfullyrestart: on-failurediff --git a/.devenv/docker/signoz-otel-collector/compose.yaml b/.devenv/docker/signoz-otel-collector/compose.yamlindex f74faa1987..46e9ba60e8 100644--- a/.devenv/docker/signoz-otel-collector/compose.yaml+++ b/.devenv/docker/signoz-otel-collector/compose.yaml@@ -1,14 +1,23 @@services:signoz-otel-collector:- image: signoz/signoz-otel-collector:v0.129.6+ image: signoz/signoz-otel-collector:v0.142.0container_name: signoz-otel-collector-dev+ entrypoint:+ - /bin/shcommand:- - --config=/etc/otel-collector-config.yaml+ - -c+ - |+ /signoz-otel-collector migrate sync check &&+ /signoz-otel-collector --config=/etc/otel-collector-config.yamlvolumes:- ./otel-collector-config.yaml:/etc/otel-collector-config.yamlenvironment:- OTEL_RESOURCE_ATTRIBUTES=host.name=signoz-host,os.type=linux- LOW_CARDINAL_EXCEPTION_GROUPING=false+ - SIGNOZ_OTEL_COLLECTOR_CLICKHOUSE_DSN=tcp://clickhouse:9000+ - SIGNOZ_OTEL_COLLECTOR_CLICKHOUSE_CLUSTER=cluster+ - SIGNOZ_OTEL_COLLECTOR_CLICKHOUSE_REPLICATION=true+ - SIGNOZ_OTEL_COLLECTOR_TIMEOUT=10mports:- "4317:4317" # OTLP gRPC receiver- "4318:4318" # OTLP HTTP receiverdiff --git a/conf/example.yaml b/conf/example.yamlindex d66eaa8828..90473624be 100644--- a/conf/example.yaml+++ b/conf/example.yaml@@ -318,4 +318,5 @@ user:# The password of the root user. Must meet password requirements.password: ""# The name of the organization to create or look up for the root user.- org_name: default+ org:+ name: defaultdiff --git a/deploy/docker-swarm/docker-compose.ha.yaml b/deploy/docker-swarm/docker-compose.ha.yamlindex 6ea8fa37d0..388bc41f81 100644--- a/deploy/docker-swarm/docker-compose.ha.yaml+++ b/deploy/docker-swarm/docker-compose.ha.yaml@@ -61,7 +61,6 @@ x-db-depend: &db-depend- clickhouse- clickhouse-2- clickhouse-3- - schema-migratorservices:init-clickhouse:!!merge <<: *common@@ -136,12 +135,17 @@ services:# - "9000:9000"# - "8123:8123"# - "9181:9181"+ configs:+ - source: clickhouse-config+ target: /etc/clickhouse-server/config.xml+ - source: clickhouse-users+ target: /etc/clickhouse-server/users.xml+ - source: clickhouse-custom-function+ target: /etc/clickhouse-server/custom-function.xml+ - source: clickhouse-cluster+ target: /etc/clickhouse-server/config.d/cluster.ha.xmlvolumes:- - ../common/clickhouse/config.xml:/etc/clickhouse-server/config.xml- - ../common/clickhouse/users.xml:/etc/clickhouse-server/users.xml- - ../common/clickhouse/custom-function.xml:/etc/clickhouse-server/custom-function.xml- ../common/clickhouse/user_scripts:/var/lib/clickhouse/user_scripts/- - ../common/clickhouse/cluster.ha.xml:/etc/clickhouse-server/config.d/cluster.xml- ./clickhouse-setup/data/clickhouse/:/var/lib/clickhouse/# - ../common/clickhouse/storage.xml:/etc/clickhouse-server/config.d/storage.xmlclickhouse-2:@@ -151,12 +155,17 @@ services:# - "9001:9000"# - "8124:8123"# - "9182:9181"+ configs:+ - source: clickhouse-config+ target: /etc/clickhouse-server/config.xml+ - source: clickhouse-users+ target: /etc/clickhouse-server/users.xml+ - source: clickhouse-custom-function+ target: /etc/clickhouse-server/custom-function.xml+ - source: clickhouse-cluster+ target: /etc/clickhouse-server/config.d/cluster.ha.xmlvolumes:- - ../common/clickhouse/config.xml:/etc/clickhouse-server/config.xml- - ../common/clickhouse/users.xml:/etc/clickhouse-server/users.xml- - ../common/clickhouse/custom-function.xml:/etc/clickhouse-server/custom-function.xml- ../common/clickhouse/user_scripts:/var/lib/clickhouse/user_scripts/- - ../common/clickhouse/cluster.ha.xml:/etc/clickhouse-server/config.d/cluster.xml- ./clickhouse-setup/data/clickhouse-2/:/var/lib/clickhouse/# - ../common/clickhouse/storage.xml:/etc/clickhouse-server/config.d/storage.xmlclickhouse-3:@@ -166,37 +175,32 @@ services:# - "9002:9000"# - "8125:8123"# - "9183:9181"+ configs:+ - source: clickhouse-config+ target: /etc/clickhouse-server/config.xml+ - source: clickhouse-users+ target: /etc/clickhouse-server/users.xml+ - source: clickhouse-custom-function+ target: /etc/clickhouse-server/custom-function.xml+ - source: clickhouse-cluster+ target: /etc/clickhouse-server/config.d/cluster.ha.xmlvolumes:- - ../common/clickhouse/config.xml:/etc/clickhouse-server/config.xml- - ../common/clickhouse/users.xml:/etc/clickhouse-server/users.xml- - ../common/clickhouse/custom-function.xml:/etc/clickhouse-server/custom-function.xml- ../common/clickhouse/user_scripts:/var/lib/clickhouse/user_scripts/- - ../common/clickhouse/cluster.ha.xml:/etc/clickhouse-server/config.d/cluster.xml- ./clickhouse-setup/data/clickhouse-3/:/var/lib/clickhouse/# - ../common/clickhouse/storage.xml:/etc/clickhouse-server/config.d/storage.xmlsignoz:!!merge <<: *db-dependimage: signoz/signoz:v0.112.0- command:- - --config=/root/config/prometheus.ymlports:- "8080:8080" # signoz port# - "6060:6060" # pprof portvolumes:- - ../common/signoz/prometheus.yml:/root/config/prometheus.yml- - ../common/dashboards:/root/config/dashboards- ./clickhouse-setup/data/signoz/:/var/lib/signoz/environment:- SIGNOZ_ALERTMANAGER_PROVIDER=signoz- SIGNOZ_TELEMETRYSTORE_CLICKHOUSE_DSN=tcp://clickhouse:9000- SIGNOZ_SQLSTORE_SQLITE_PATH=/var/lib/signoz/signoz.db- - DASHBOARDS_PATH=/root/config/dashboards- - STORAGE=clickhouse- - GODEBUG=netdns=go- - TELEMETRY_ENABLED=true- - DEPLOYMENT_TYPE=docker-swarm- SIGNOZ_TOKENIZER_JWT_SECRET=secret- - DOT_METRICS_ENABLED=truehealthcheck:test:- CMD@@ -210,39 +214,47 @@ services:otel-collector:!!merge <<: *db-dependimage: signoz/signoz-otel-collector:v0.142.0+ entrypoint:+ - /bin/shcommand:- - --config=/etc/otel-collector-config.yaml- - --manager-config=/etc/manager-config.yaml- - --copy-path=/var/tmp/collector-config.yaml- volumes:- - ./otel-collector-config.yaml:/etc/otel-collector-config.yaml- - ../common/signoz/otel-collector-opamp-config.yaml:/etc/manager-config.yaml+ - -c+ - |+ /signoz-otel-collector migrate sync check &&+ /signoz-otel-collector --config=/etc/otel-collector-config.yaml --manager-config=/etc/manager-config.yaml --copy-path=/var/tmp/collector-config.yaml+ configs:+ - source: otel-collector-config+ target: /etc/otel-collector-config.yaml+ - source: otel-manager-config+ target: /etc/manager-config.yamlenvironment:- OTEL_RESOURCE_ATTRIBUTES=host.name={{.Node.Hostname}},os.type={{.Node.Platform.OS}}- LOW_CARDINAL_EXCEPTION_GROUPING=false+ - SIGNOZ_OTEL_COLLECTOR_CLICKHOUSE_DSN=tcp://clickhouse:9000+ - SIGNOZ_OTEL_COLLECTOR_CLICKHOUSE_CLUSTER=cluster+ - SIGNOZ_OTEL_COLLECTOR_CLICKHOUSE_REPLICATION=true+ - SIGNOZ_OTEL_COLLECTOR_TIMEOUT=10mports:# - "1777:1777" # pprof extension- "4317:4317" # OTLP gRPC receiver- "4318:4318" # OTLP HTTP receiverdeploy:replicas: 3- depends_on:- - clickhouse- - schema-migrator- - signoz- schema-migrator:- !!merge <<: *common- image: signoz/signoz-schema-migrator:v0.142.0- deploy:- restart_policy:- condition: on-failure- delay: 5s- entrypoint: sh+ signoz-telemetrystore-migrator:+ !!merge <<: *db-depend+ image: signoz/signoz-otel-collector:${OTELCOL_TAG:-v0.142.0}+ environment:+ - SIGNOZ_OTEL_COLLECTOR_CLICKHOUSE_DSN=tcp://clickhouse:9000+ - SIGNOZ_OTEL_COLLECTOR_CLICKHOUSE_CLUSTER=cluster+ - SIGNOZ_OTEL_COLLECTOR_CLICKHOUSE_REPLICATION=true+ - SIGNOZ_OTEL_COLLECTOR_TIMEOUT=10m+ entrypoint:+ - /bin/shcommand:- - -c- - "/signoz-schema-migrator sync --dsn=tcp://clickhouse:9000 --up= && /signoz-schema-migrator async --dsn=tcp://clickhouse:9000 --up="- depends_on:- - clickhouse+ - -c+ - |+ /signoz-otel-collector migrate bootstrap &&+ /signoz-otel-collector migrate sync up &&+ /signoz-otel-collector migrate async upnetworks:signoz-net:name: signoz-net@@ -261,3 +273,16 @@ volumes:name: signoz-zookeeper-2zookeeper-3:name: signoz-zookeeper-3+configs:+ clickhouse-config:+ file: ../common/clickhouse/config.xml+ clickhouse-users:+ file: ../common/clickhouse/users.xml+ clickhouse-custom-function:+ file: ../common/clickhouse/custom-function.xml+ clickhouse-cluster:+ file: ../common/clickhouse/cluster.ha.xml+ otel-collector-config:+ file: ./otel-collector-config.yaml+ otel-manager-config:+ file: ../common/signoz/otel-collector-opamp-config.yamldiff --git a/deploy/docker-swarm/docker-compose.yaml b/deploy/docker-swarm/docker-compose.yamlindex 552913417a..af403687c7 100644--- a/deploy/docker-swarm/docker-compose.yaml+++ b/deploy/docker-swarm/docker-compose.yaml@@ -58,7 +58,6 @@ x-db-depend: &db-depend!!merge <<: *commondepends_on:- clickhouse- - schema-migratorservices:init-clickhouse:!!merge <<: *common@@ -114,30 +113,20 @@ services:target: /etc/clickhouse-server/config.d/cluster.xmlvolumes:- clickhouse:/var/lib/clickhouse/+ - ../common/clickhouse/user_scripts:/var/lib/clickhouse/user_scripts/# - ../common/clickhouse/storage.xml:/etc/clickhouse-server/config.d/storage.xmlsignoz:!!merge <<: *db-dependimage: signoz/signoz:v0.112.0- command:- - --config=/root/config/prometheus.ymlports:- "8080:8080" # signoz port- # - "6060:6060" # pprof portvolumes:- sqlite:/var/lib/signoz/- configs:- - source: signoz-prometheus-config- target: /root/config/prometheus.ymlenvironment:- SIGNOZ_ALERTMANAGER_PROVIDER=signoz- SIGNOZ_TELEMETRYSTORE_CLICKHOUSE_DSN=tcp://clickhouse:9000- SIGNOZ_SQLSTORE_SQLITE_PATH=/var/lib/signoz/signoz.db- - DASHBOARDS_PATH=/root/config/dashboards- - STORAGE=clickhouse- - GODEBUG=netdns=go- - TELEMETRY_ENABLED=true- - DEPLOYMENT_TYPE=docker-swarm- - DOT_METRICS_ENABLED=true+ - SIGNOZ_TOKENIZER_JWT_SECRET=secrethealthcheck:test:- CMD@@ -151,10 +140,13 @@ services:otel-collector:!!merge <<: *db-dependimage: signoz/signoz-otel-collector:v0.142.0+ entrypoint:+ - /bin/shcommand:- - --config=/etc/otel-collector-config.yaml- - --manager-config=/etc/manager-config.yaml- - --copy-path=/var/tmp/collector-config.yaml+ - -c+ - |+ /signoz-otel-collector migrate sync check &&+ /signoz-otel-collector --config=/etc/otel-collector-config.yaml --manager-config=/etc/manager-config.yaml --copy-path=/var/tmp/collector-config.yamlconfigs:- source: otel-collector-configtarget: /etc/otel-collector-config.yaml@@ -163,29 +155,32 @@ services:environment:- OTEL_RESOURCE_ATTRIBUTES=host.name={{.Node.Hostname}},os.type={{.Node.Platform.OS}}- LOW_CARDINAL_EXCEPTION_GROUPING=false+ - SIGNOZ_OTEL_COLLECTOR_CLICKHOUSE_DSN=tcp://clickhouse:9000+ - SIGNOZ_OTEL_COLLECTOR_CLICKHOUSE_CLUSTER=cluster+ - SIGNOZ_OTEL_COLLECTOR_CLICKHOUSE_REPLICATION=true+ - SIGNOZ_OTEL_COLLECTOR_TIMEOUT=10mports:# - "1777:1777" # pprof extension- "4317:4317" # OTLP gRPC receiver- "4318:4318" # OTLP HTTP receiverdeploy:replicas: 3- depends_on:- - clickhouse- - schema-migrator- - signoz- schema-migrator:- !!merge <<: *common- image: signoz/signoz-schema-migrator:v0.142.0- deploy:- restart_policy:- condition: on-failure- delay: 5s- entrypoint: sh+ signoz-telemetrystore-migrator:+ !!merge <<: *db-depend+ image: signoz/signoz-otel-collector:${OTELCOL_TAG:-v0.142.0}+ environment:+ - SIGNOZ_OTEL_COLLECTOR_CLICKHOUSE_DSN=tcp://clickhouse:9000+ - SIGNOZ_OTEL_COLLECTOR_CLICKHOUSE_CLUSTER=cluster+ - SIGNOZ_OTEL_COLLECTOR_CLICKHOUSE_REPLICATION=true+ - SIGNOZ_OTEL_COLLECTOR_TIMEOUT=10m+ entrypoint:+ - /bin/shcommand:- - -c- - "/signoz-schema-migrator sync --dsn=tcp://clickhouse:9000 --up= && /signoz-schema-migrator async --dsn=tcp://clickhouse:9000 --up="- depends_on:- - clickhouse+ - -c+ - |+ /signoz-otel-collector migrate bootstrap &&+ /signoz-otel-collector migrate sync up &&+ /signoz-otel-collector migrate async upnetworks:signoz-net:name: signoz-net@@ -205,14 +200,6 @@ configs:file: ../common/clickhouse/custom-function.xmlclickhouse-cluster:file: ../common/clickhouse/cluster.xml- signoz-prometheus-config:- file: ../common/signoz/prometheus.yml- # If you have multiple dashboard files, you can list them individually:- # dashboard-foo:- # file: ../common/dashboards/foo.json- # dashboard-bar:- # file: ../common/dashboards/bar.json-otel-collector-config:file: ./otel-collector-config.yamlotel-manager-config:diff --git a/deploy/docker/docker-compose.ha.yaml b/deploy/docker/docker-compose.ha.yamlindex df80685b1c..6a5e09b556 100644--- a/deploy/docker/docker-compose.ha.yaml+++ b/deploy/docker/docker-compose.ha.yaml@@ -62,8 +62,10 @@ x-db-depend: &db-dependdepends_on:clickhouse:condition: service_healthy- schema-migrator-sync:- condition: service_completed_successfully+ clickhouse-2:+ condition: service_healthy+ clickhouse-3:+ condition: service_healthyservices:init-clickhouse:!!merge <<: *common@@ -181,25 +183,15 @@ services:!!merge <<: *db-dependimage: signoz/signoz:${VERSION:-v0.112.0}container_name: signoz- command:- - --config=/root/config/prometheus.ymlports:- "8080:8080" # signoz port- # - "6060:6060" # pprof portvolumes:- - ../common/signoz/prometheus.yml:/root/config/prometheus.yml- - ../common/dashboards:/root/config/dashboards- sqlite:/var/lib/signoz/environment:- SIGNOZ_ALERTMANAGER_PROVIDER=signoz- SIGNOZ_TELEMETRYSTORE_CLICKHOUSE_DSN=tcp://clickhouse:9000- SIGNOZ_SQLSTORE_SQLITE_PATH=/var/lib/signoz/signoz.db- - DASHBOARDS_PATH=/root/config/dashboards- - STORAGE=clickhouse- - GODEBUG=netdns=go- - TELEMETRY_ENABLED=true- - DEPLOYMENT_TYPE=docker-standalone-amd- - DOT_METRICS_ENABLED=true+ - SIGNOZ_TOKENIZER_JWT_SECRET=secrethealthcheck:test:- CMD@@ -210,51 +202,48 @@ services:interval: 30stimeout: 5sretries: 3- # TODO: support otel-collector multiple replicas. Nginx/Traefik for loadbalancing?otel-collector:!!merge <<: *db-dependimage: signoz/signoz-otel-collector:${OTELCOL_TAG:-v0.142.0}container_name: signoz-otel-collector+ entrypoint:+ - /bin/shcommand:- - --config=/etc/otel-collector-config.yaml- - --manager-config=/etc/manager-config.yaml- - --copy-path=/var/tmp/collector-config.yaml+ - -c+ - |+ /signoz-otel-collector migrate sync check &&+ /signoz-otel-collector --config=/etc/otel-collector-config.yaml --manager-config=/etc/manager-config.yaml --copy-path=/var/tmp/collector-config.yamlvolumes:- ./otel-collector-config.yaml:/etc/otel-collector-config.yaml- ../common/signoz/otel-collector-opamp-config.yaml:/etc/manager-config.yamlenvironment:- OTEL_RESOURCE_ATTRIBUTES=host.name=signoz-host,os.type=linux- LOW_CARDINAL_EXCEPTION_GROUPING=false+ - SIGNOZ_OTEL_COLLECTOR_CLICKHOUSE_DSN=tcp://clickhouse:9000+ - SIGNOZ_OTEL_COLLECTOR_CLICKHOUSE_CLUSTER=cluster+ - SIGNOZ_OTEL_COLLECTOR_CLICKHOUSE_REPLICATION=true+ - SIGNOZ_OTEL_COLLECTOR_TIMEOUT=10mports:# - "1777:1777" # pprof extension- "4317:4317" # OTLP gRPC receiver- "4318:4318" # OTLP HTTP receiver- depends_on:- clickhouse:- condition: service_healthy- schema-migrator-sync:- condition: service_completed_successfully- signoz:- condition: service_healthy- schema-migrator-sync:- !!merge <<: *common- image: signoz/signoz-schema-migrator:${OTELCOL_TAG:-v0.142.0}- container_name: schema-migrator-sync- command:- - sync- - --dsn=tcp://clickhouse:9000- - --up=- depends_on:- clickhouse:- condition: service_healthy- schema-migrator-async:+ signoz-telemetrystore-migrator:!!merge <<: *db-depend- image: signoz/signoz-schema-migrator:${OTELCOL_TAG:-v0.142.0}- container_name: schema-migrator-async+ image: signoz/signoz-otel-collector:${OTELCOL_TAG:-v0.142.0}+ container_name: signoz-telemetrystore-migrator+ environment:+ - SIGNOZ_OTEL_COLLECTOR_CLICKHOUSE_DSN=tcp://clickhouse:9000+ - SIGNOZ_OTEL_COLLECTOR_CLICKHOUSE_CLUSTER=cluster+ - SIGNOZ_OTEL_COLLECTOR_CLICKHOUSE_REPLICATION=true+ - SIGNOZ_OTEL_COLLECTOR_TIMEOUT=10m+ entrypoint:+ - /bin/shcommand:- - async- - --dsn=tcp://clickhouse:9000- - --up=+ - -c+ - |+ /signoz-otel-collector migrate bootstrap &&+ /signoz-otel-collector migrate sync up &&+ /signoz-otel-collector migrate async uprestart: on-failurenetworks:signoz-net:diff --git a/deploy/docker/docker-compose.yaml b/deploy/docker/docker-compose.yamlindex 177f92c2bc..5c0b144ba5 100644--- a/deploy/docker/docker-compose.yaml+++ b/deploy/docker/docker-compose.yaml@@ -57,8 +57,6 @@ x-db-depend: &db-dependdepends_on:clickhouse:condition: service_healthy- schema-migrator-sync:- condition: service_completed_successfullyservices:init-clickhouse:!!merge <<: *common@@ -113,25 +111,15 @@ services:!!merge <<: *db-dependimage: signoz/signoz:${VERSION:-v0.112.0}container_name: signoz- command:- - --config=/root/config/prometheus.ymlports:- "8080:8080" # signoz port- # - "6060:6060" # pprof portvolumes:- - ../common/signoz/prometheus.yml:/root/config/prometheus.yml- - ../common/dashboards:/root/config/dashboards- sqlite:/var/lib/signoz/environment:- SIGNOZ_ALERTMANAGER_PROVIDER=signoz- SIGNOZ_TELEMETRYSTORE_CLICKHOUSE_DSN=tcp://clickhouse:9000- SIGNOZ_SQLSTORE_SQLITE_PATH=/var/lib/signoz/signoz.db- - DASHBOARDS_PATH=/root/config/dashboards- - STORAGE=clickhouse- - GODEBUG=netdns=go- - TELEMETRY_ENABLED=true- - DEPLOYMENT_TYPE=docker-standalone-amd- - DOT_METRICS_ENABLED=true+ - SIGNOZ_TOKENIZER_JWT_SECRET=secrethealthcheck:test:- CMD@@ -146,43 +134,44 @@ services:!!merge <<: *db-dependimage: signoz/signoz-otel-collector:${OTELCOL_TAG:-v0.142.0}container_name: signoz-otel-collector+ entrypoint:+ - /bin/shcommand:- - --config=/etc/otel-collector-config.yaml- - --manager-config=/etc/manager-config.yaml- - --copy-path=/var/tmp/collector-config.yaml+ - -c+ - |+ /signoz-otel-collector migrate sync check &&+ /signoz-otel-collector --config=/etc/otel-collector-config.yaml --manager-config=/etc/manager-config.yaml --copy-path=/var/tmp/collector-config.yamlvolumes:- ./otel-collector-config.yaml:/etc/otel-collector-config.yaml- ../common/signoz/otel-collector-opamp-config.yaml:/etc/manager-config.yamlenvironment:- OTEL_RESOURCE_ATTRIBUTES=host.name=signoz-host,os.type=linux- LOW_CARDINAL_EXCEPTION_GROUPING=false+ - SIGNOZ_OTEL_COLLECTOR_CLICKHOUSE_DSN=tcp://clickhouse:9000+ - SIGNOZ_OTEL_COLLECTOR_CLICKHOUSE_CLUSTER=cluster+ - SIGNOZ_OTEL_COLLECTOR_CLICKHOUSE_REPLICATION=true+ - SIGNOZ_OTEL_COLLECTOR_TIMEOUT=10mports:# - "1777:1777" # pprof extension- "4317:4317" # OTLP gRPC receiver- "4318:4318" # OTLP HTTP receiver- depends_on:- signoz:- condition: service_healthy- schema-migrator-sync:- !!merge <<: *common- image: signoz/signoz-schema-migrator:${OTELCOL_TAG:-v0.142.0}- container_name: schema-migrator-sync- command:- - sync- - --dsn=tcp://clickhouse:9000- - --up=- depends_on:- clickhouse:- condition: service_healthy- restart: on-failure- schema-migrator-async:+ signoz-telemetrystore-migrator:!!merge <<: *db-depend- image: signoz/signoz-schema-migrator:${OTELCOL_TAG:-v0.142.0}- container_name: schema-migrator-async+ image: signoz/signoz-otel-collector:${OTELCOL_TAG:-v0.142.0}+ container_name: signoz-telemetrystore-migrator+ environment:+ - SIGNOZ_OTEL_COLLECTOR_CLICKHOUSE_DSN=tcp://clickhouse:9000+ - SIGNOZ_OTEL_COLLECTOR_CLICKHOUSE_CLUSTER=cluster+ - SIGNOZ_OTEL_COLLECTOR_CLICKHOUSE_REPLICATION=true+ - SIGNOZ_OTEL_COLLECTOR_TIMEOUT=10m+ entrypoint:+ - /bin/shcommand:- - async- - --dsn=tcp://clickhouse:9000- - --up=+ - -c+ - |+ /signoz-otel-collector migrate bootstrap &&+ /signoz-otel-collector migrate sync up &&+ /signoz-otel-collector migrate async uprestart: on-failurenetworks:signoz-net: