Slackbot
01/16/2024, 11:48 AMPrashant Shahi
01/16/2024, 12:50 PM4318
.
Also, you would need to add the env OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf
Sricharan Sirpa
01/16/2024, 1:32 PMPrashant Shahi
01/16/2024, 1:35 PMPrashant Shahi
01/16/2024, 1:35 PMSricharan Sirpa
01/16/2024, 1:57 PMglobal:
storageClass: gce-resizable
cloud: gcp
clickhouse:
installCustomStorageClass: true
persistence:
size: 100Gi
ingress-nginx:
enabled: true
otelCollector:
ingress:
enabled: true
className: nginx
hosts:
- host: otelcollector.infra.customDomain.com
paths:
- path: /
pathType: ImplementationSpecific
port: 4318
annotations:
nginx.ingress.kubernetes.io/backend-protocol: "GRPC"
exporters:
clickhouselogsexporter:
sending_queue:
queue_size: 2000
For the reference
Above is the over-ride-values.yaml fileSricharan Sirpa
01/16/2024, 3:04 PM[OkHttp <http://otelcollector.infra.myCompanyDomain.com/...>] WARN io.opentelemetry.exporter.internal.http.HttpExporter - Failed to export logs. Server responded with HTTP status code 502. Error message: Unable to parse response body, HTTP status message: Bad Gateway
Prashant Shahi
01/16/2024, 5:25 PMI don't think this is required forCopy code<http://nginx.ingress.kubernetes.io/backend-protocol|nginx.ingress.kubernetes.io/backend-protocol>: "GRPC"
4318
- HTTP port. But only 4317
- GRPC port.Srikanth Chekuri
01/17/2024, 4:33 AM-Dotel.exporter.otlp.traces.endpoint=http://collector.infra.MyCompanyDomain.com \If you provide this option you should provide a full endpoint that include port (4318) and path (/v1/traces)