Setting Up Dual Exporters for Otel-collector and Resolving Payload Error
TLDR Guillaume was facing an issue setting up dual exporters for otel-collector and had a pod not being "Ready". Srikanth suggested checking error logs and dealing with large payloads, which led to a successful setup.
2
Mar 28, 2023 (8 months ago)
Guillaume
03:11 PMotelCollector:
config:
exporters:
otlp/new:
endpoint: new.ns.svc.cluster.local:4317
service:
pipelines:
traces:
exporters:
- clickhousetraces
- otlp/new
I read that's kinda the idea right? Tho it doesn't seem to be working. My collectors are going up, no errors showing:
2023-03-28T15:09:54.556Z info service/telemetry.go:111 Setting up own telemetry...
2023-03-28T15:09:54.557Z info service/telemetry.go:141 Serving Prometheus metrics {"address": "0.0.0.0:8888", "level": "Basic"}
2023-03-28T15:09:54.557Z info components/components.go:30 Stability level of component is undefined {"kind": "exporter", "data_type": "metrics", "name": "clickhousemetricswrite", "stability": "Undefined"}
time="2023-03-28T15:09:54Z" level=info msg="Executing:\nCREATE DATABASE IF NOT EXISTS signoz_metrics ON CLUSTER cluster\n" component=clickhouse
And I still receive data in clickhouse as I can fetch it and read it through signoz frontend.
1
Srikanth
04:04 PMotlp/new:
then it’s working but the log you shared doesn’t give full picture since it doesn’t show collector started to accept data yet.Mar 29, 2023 (8 months ago)
Guillaume
09:23 AM2023-03-29T09:21:25.733Z warn zapgrpc/zapgrpc.go:191 [core] [Channel #1 SubChannel #2] grpc: addrConn.createTransport failed to connect to {
"Addr": "apm.monitoring.svc.cluster.local:4318",
"ServerName": "apm.monitoring.svc.cluster.local:4318",
"Attributes": null,
"BalancerAttributes": null,
"Type": 0,
"Metadata": null
}. Err: connection error: desc = "error reading server preface: http2: frame too large" {"grpc_log": true}
1
Srikanth
12:28 PMApr 03, 2023 (8 months ago)
Guillaume
08:36 AMSigNoz Community
Indexed 1023 threads (61% resolved)
Similar Threads
Troubleshooting SigNoz Auto-Instrumentation Configuration
igor is having trouble configuring auto-instrumentation for Java applications using SigNoz, with traces not appearing in the SigNoz UI. Prashant advises to check logs of the otel sidecar, use service name for endpoint, verify supported libraries, and test with telemetrygen. However, the issue still persists.
Headers in Monitoring HTTP Endpoints & Otel-Collector Error
Rohit asks about providing headers in monitoring HTTP endpoints and reports errors in otel-collector logs. Srikanth mentions headers are unsupported and requires more investigation for errors.
Resolving Signoz Query Service Error
Einav encountered an error related to a missing table in the Signoz service which was preventing data visibility in the UI. Srikanth guided them to restart specific components and drop a database table, which resolved the issue.