akshay awate
01/15/2023, 6:45 AMcd pkg/query-service
go build -o build/query-service main.go
ClickHouseUrl=<tcp://localhost:9001> STORAGE=clickhouse build/query-service
when i run ./query-service
i get,
/opt/homebrew/Cellar/go/1.19.4/libexec/src/runtime/proc.go:250
2023-01-15T12:12:16.139+0530 FATAL query-service/main.go:68 Failed to create server{error 26 0 Storage type: is not supported in query service}
Any ideas/suggestion would be helpful.Prashant Shahi
01/17/2023, 8:06 AMmake run-local
to build and deploy FE/BE images locally along with rest of the cluster.docker-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
akshay awate
01/17/2023, 11:20 AMPrashant Shahi
01/17/2023, 11:23 AMakshay awate
01/17/2023, 11:23 AMPrashant Shahi
01/17/2023, 11:24 AMquery-service
and perhaps even frontend
service section in docker-compose.yaml
if you not planning on using them.akshay awate
01/17/2023, 11:26 AMquery
and frontend
service in docker-compose and build query-service using
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
and does this support for mac m1 correctly ? @Prashant ShahiPrashant Shahi
01/17/2023, 11:27 AMakshay awate
01/17/2023, 11:27 AMPrashant Shahi
01/17/2023, 11:36 AM