Closed ericinfra closed 1 year ago
@ericinfra , I am facing the same problem. Did you found solution for this ?
@ericinfra , I am facing the same problem. Did you found solution for this ?
@pradipsakh
Sorry, I went back to my hometown last week This problem is related to two configurations
1.Note: must first create the following database and sql in clickhouse
CREATE DATABASE IF NOT EXISTS jaeger ON CLUSTER '$CLUSTER_NAME' ENGINE=Atomic;
2.The config.yaml of jaeger needs to clearly write spans_table, and it cannot be defaulted. My yaml file is as follows::
cat <<EOF | kubectl apply -f -
apiVersion: v1
kind: ConfigMap
metadata:
name: jaeger-clickhouse
namespace: observability
labels:
jaeger-clickhouse: demo
data:
config.yaml: |
address: clickhouse.test-clickhouse:9000
username: jaeger
password: jaeger123
database: jaeger
replication: true
spans_table: jaeger_spans
spans_index_table: jaeger_index
operations_table: jaeger_operations
ttl: 15
EOF
cat <<EOF | kubectl create -f -
apiVersion: jaegertracing.io/v1
kind: Jaeger
metadata:
name: jaeger-clickhouse
labels:
jaeger-clickhouse: demo
spec:
storage:
type: grpc-plugin
grpcPlugin:
image: ghcr.io/jaegertracing/jaeger-clickhouse:0.13.0
options:
grpc-storage-plugin:
binary: /plugin/jaeger-clickhouse
configuration-file: /plugin-config/config.yaml
log-level: debug
volumeMounts:
- name: plugin-config
mountPath: /plugin-config
volumes:
- name: plugin-config
configMap:
name: jaeger-clickhouse
EOF
3.You need to ensure that all the nodes of the clickhouse are normal. Maybe the jaeger link to the clickhouse needs to be improved, so you need to ensure that each node of the clickhouse is normal. I configured 16G memory for each node of the clickhouse and it is normal.
Wish you all the best
I meet the same problem, I solved by add "//" before ck address, like this: address: //clickhouse.test-clickhouse:9000
.
What happened?
I do it in the simplest way, ,https://github.com/jaegertracing/jaeger-clickhouse/blob/main/guide-kubernetes.md
But the report cannot connect to the clickhouse
The error log is as follows:
kubectl logs jaeger-clickhouse-854dfc4c5d-fkcq9
clickhouse and database is normal
Steps to reproduce
I do it in the simplest way, https://github.com/jaegertracing/jaeger-clickhouse/blob/main/guide-kubernetes.md
Is this document missing the necessary steps, but I also tried to create the table manually
my jaeger-operator version is 1.41.0
Expected behavior
Is it an image version problem?
Relevant log output
No response
Screenshot
No response
Additional context
No response
Jaeger backend version
No response
SDK
No response
Pipeline
No response
Stogage backend
No response
Operating system
No response
Deployment model
No response
Deployment configs
No response