Nicolai Birkmose Oksen
03/14/2023, 1:28 PMerror connecting to primary db: code: 170, message: Requested cluster 'cluster' not found
I've set the clusterName
and the global.clusterName
. Most other settings are default.
CLICKHOUSE_CLUSTER : signoz
CLICKHOUSE_DATABASE : signoz_metrics
CLICKHOUSE_HOST : *redacted*
CLICKHOUSE_HTTP_PORT : 8123
CLICKHOUSE_PASSWORD : *redacted*
CLICKHOUSE_PORT : 9000
CLICKHOUSE_SECURE : false
CLICKHOUSE_TRACE_DATABASE : signoz_traces
CLICKHOUSE_USER : admin
CLICKHOUSE_VERIFY : false
K8S_CLUSTER_NAME : dev-monitoring-aks
K8S_NAMESPACE : fieldRef(v1:metadata.namespace)
K8S_NODE_NAME : fieldRef(v1:spec.nodeName)
K8S_POD_IP : fieldRef(v1:status.podIP)
K8S_POD_NAME : fieldRef(v1:metadata.name)
K8S_POD_UID : fieldRef(v1:metadata.uid)
LOW_CARDINAL_EXCEPTION_GROUPING : false
OTEL_RESOURCE_ATTRIBUTES : host.name=$(K8S_NODE_NAME),signoz.component=$(SIGNOZ_COMPONENT),k8s.cluster.name=$(K8S_CLUSTER_NAME),k8s.pod.uid=$(K8S_POD_UID),k8s.pod.ip=$(K8S_POD_IP)
SIGNOZ_COMPONENT : otel-collector
Above are the env vars for the pod.
The init container connects fine to the database and reports clickhouse ready, starting otel collector now
.
I'm using latest helm chart.
Am I doing something wrong or missing some configuration?Prashant Shahi
03/14/2023, 9:26 PMcustom-scripts.xml
as well as binary inside user-scripts
folder
• make sure user credentials passed has enough privileges to create/access databases
^ For all these, you can refer here: https://github.com/SigNoz/signoz/tree/develop/deploy/docker/clickhouse-setup
cc @Ankit NayanPrashant Shahi
03/14/2023, 9:28 PM