Otel collector doesn’t need to know about the shards. It’s taken care of by clickhouse using zookeeper.
k
Kshitij Gang
03/01/2023, 5:39 AM
Thank you...so about the migration process in case of shards so is there a way to do it without manually changing the env variable?
n
nitya-signoz
03/01/2023, 5:41 AM
Don’t think there is another way of doing it. @Vishal Sharma any thoughts on the above?
Btw why do you want to avoid changing the env variable ?
v
Vishal Sharma
03/01/2023, 5:42 AM
In case you are using docker, you have to follow env change process.
k
Kshitij Gang
03/01/2023, 5:44 AM
I am hosting all the services on aws ecs fargate separately...so it would be really weird to redeploy a service after changing env variable ....but i guess it will only need to be done once at the start of deployment?
n
nitya-signoz
03/02/2023, 3:59 PM
Yes, it runs when the otel collector starts. If the migrations are applied already then it is skipped.
The case in which you will need migrations is when upgrading signoz.
SigNoz is an open-source APM. It helps developers monitor their applications & troubleshoot problems, an open-source alternative to DataDog, NewRelic, etc.