<#C01HWQ1R0BC|support> Hi Team, iam doing signoz s...
# support
r
#support Hi Team, iam doing signoz setup through kubernetes as initial setup i tried to bring up the following service 1. query-service 2. otel-collector-metrics 3. otel-collector 4. load-hotrod 5. frontend 6. clickhouse 7. alert-manager in this otel-collector-metrics , otel-collector and load-hotrod were not running i am facing issue , requested cluster not found logs from the otel-collector service 2023-04-06T104316.441Z info service/telemetry.go:111 Setting up own telemetry... 2023-04-06T104316.441Z info service/telemetry.go:141 Serving Prometheus metrics {"address": "0.0.0.0:8888", "level": "Basic"} 2023-04-06T104316.441Z info components/components.go:30 Stability level of component is undefined {"kind": "exporter", "data_type": "metrics", "name": "clickhousemetricswrite", "stability": "Undefined"} time="2023-04-06T104316Z" level=info msg="Executing:\nCREATE DATABASE IF NOT EXISTS signoz_metrics ON CLUSTER cluster\n" component=clickhouse 2023/04/06 104316 Error creating clickhouse client: code: 170, message: Requested cluster 'cluster' not found alert-manager-8b4799c48-xtgfj 1/1 Running 0 3d19h clickhouse-statefulset-0 1/1 Running 0 3d17h clickhouse-statefulset-1 1/1 Running 0 3d17h clickhouse-statefulset-2 1/1 Running 0 3d17h frontend-688999b84f-dx6nh 1/1 Running 0 3d19h hotrod-56bff776c-plwlp 1/1 Running 0 4d load-hotrod-55cdc96d86-gbqwx 0/1 CrashLoopBackOff 686 (3m12s ago) 3d18h otel-collector-5bbbf57ff9-tcsc9 0/1 CrashLoopBackOff 671 (3m31s ago) 3d17h otel-collector-metrics-6b6547d5c9-m2s8w 0/1 CrashLoopBackOff 689 (2m37s ago) 3d18h signoz-query-service-85b85c98c6-vb6rq 1/1 Running 11 (7h47m ago) 3d19h
s
It says there is no
cluster
. SigNoz needs a cluster named
cluster
. It would be set up automatically unless you took different steps for setting up ClickHouse?
p
@Ragulraj It looks like you are using external ClickHouse helm chart and not that maintained by SigNoz. There are some pre-requisites for external clickhouse: • UDF script and histogram quantile binary needed in clickhouse: custom-function.xml and histogramQuantile binary • must have at least one zookeeper instance • distributed cluster named
cluster
set up required: clickhouse-cluster.xml • user passed must have enough privileges to create/manage databases in CH • secure connection not supported between clickhouse and signoz components yet
@Ashu including above in docs would be helpful for anyone using SigNoz with external clickhouse
a
Noted @Prashant Shahi. Should I create a new page for it here: https://signoz.io/docs/operate/clickhouse/ Or can it go under any of the already existing pages?
p
Yes, it makes sense for it to he under operate/clickhouse