Hoàng Hải
08/11/2023, 10:09 AMexternalClickhouse:
host:
httpPort: 8123
tcpPort: 9000
secure: false
user:
password:
cluster: sre
but I have an error with signoz-otel-collector
time="2023-08-11T10:02:43Z" level=info msg="Executing:\nCREATE DATABASE IF NOT EXISTS signoz_metrics ON CLUSTER cluster\n" component=clickhouse
2023/08/11 10:02:43 Error creating clickhouse client: code: 170, message: Requested cluster 'cluster' not found
I can see my env in signoz-otel-collector is correct with "CLICKHOUSE_CLUSTER : sre". but it is not work.
Please use it in your code https://github.com/SigNoz/signoz-otel-collector/blob/main/exporter/clickhousemetricsexporter/clickhouse.go
I hope I can use multi signoz with multi clusters in clickhouseShivanshu Raj Shrivastava
08/11/2023, 11:06 AMCLICKHOUSE_CLUSTER
doesn't have any effect as it is not read by collector, and hence you're facing the problem
To make it work, use cluster
for your clickhouse cluster name.Hoàng Hải
08/12/2023, 4:35 AMsignoz-logs
database as this issues:
https://github.com/SigNoz/signoz-otel-collector/issues/165Prashant Shahi
08/14/2023, 9:42 AM