Ngoc Hien Dinh
10/29/2022, 9:18 AMClickHouseUrl=<tcp://localhost:9001> STORAGE=clickhouse build/query-service
to test on local, I got this error:
clickhouseReader/reader.go:114 failed to initialize ClickHouse: error connecting to primary db: dial tcp 127.0.0.1:9001: connect: connection refused
do I need to install clickhouse locally?Prashant Shahi
10/30/2022, 2:06 AMNgoc Hien Dinh
10/30/2022, 7:39 AMClickHouseUrl=<tcp://localhost:9001> STORAGE=clickhouse go run main.go`
I got the above errorPrashant Shahi
11/04/2022, 2:59 AMNgoc Hien Dinh
11/04/2022, 4:57 AMdocker-compose
but don't see the instruction to run docker as prerequisite)Prashant Shahi
11/14/2022, 10:45 AMdocker-compose.yaml
to include ports
with 9001:9000
:
services:
clickhouse:
...
ports:
- 9001:9000
Followed by the following:
docker-compose -f deploy/docker/clickhouse-setup/docker-compose.yaml up -d
After which:
cd pkg/query-service/
DASHBOARDS_PATH=../../deploy/docker/dashboards SIGNOZ_LOCAL_DB_PATH="./signoz.db" ClickHouseUrl=<tcp://localhost:9001> STORAGE=clickhouse go run main.go
9000
port if that works for you.Do I need to turn on the docker?(because the change is inCurrently, Docker or K8s is a prerequisite to run SigNoz.but don't see the instruction to run docker as prerequisite)docker-compose
Ngoc Hien Dinh
11/14/2022, 3:43 PMdocker-compose -f deploy/docker/clickhouse-setup/docker-compose.yaml up -d
that's what I missed when setting up.