https://signoz.io logo
#support
Title
# support
a

akshay awate

01/15/2023, 6:45 AM
Hello folks, I have build the query-service, using
Copy code
cd 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,
Copy code
/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.
p

Prashant Shahi

01/17/2023, 8:06 AM
Hi @akshay awate 👋 You can either make use of
make run-local
to build and deploy FE/BE images locally along with rest of the cluster.
Or, you could update
docker-compose.yaml
to include
ports
with
9001:9000
:
Copy code
services:
  clickhouse:
    ...
    ports:
    - 9001:9000
Followed by the following:
Copy code
docker-compose -f deploy/docker/clickhouse-setup/docker-compose.yaml up -d
After which:
Copy code
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
a

akshay awate

01/17/2023, 11:20 AM
I just want BE(query-service),let me try with above commands @Prashant Shahi
p

Prashant Shahi

01/17/2023, 11:23 AM
Backend i.e. query-service has dependency to Alertmanager and ClickHouse. And the table schema creation is handled by go-migrate files from OtelCollector and OtelCollector Metrics, so you will need them as well.
a

akshay awate

01/17/2023, 11:23 AM
yup
p

Prashant Shahi

01/17/2023, 11:24 AM
You can also comment out
query-service
and perhaps even
frontend
service section in
docker-compose.yaml
if you not planning on using them.
a

akshay awate

01/17/2023, 11:26 AM
yeah, will do commenting
query
and
frontend
service in docker-compose and build query-service using
Copy code
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 Shahi
p

Prashant Shahi

01/17/2023, 11:27 AM
yes, it should support work fine with M1 chip.
a

akshay awate

01/17/2023, 11:27 AM
let me try and thanks for your time and help @Prashant Shahi
p

Prashant Shahi

01/17/2023, 11:36 AM
sure 👍
6 Views