Troubleshooting Error in Otel-Collector Endpoint Accessibility

TLDR Rock reported an error in logs; Prashant explained it's due to dummy data and suggested using `telemetrygen` to verify telemetry data acceptance.

Photo of Rock
Rock
Mon, 13 Mar 2023 10:45:54 UTC

the logs display: 2023-03-13T10:45:13.119Z error clickhousetracesexporter/writer.go:110 Could not write a batch of spans {"kind": "exporter", "data_type": "traces", "name": "clickhousetraces", "error": "clickhouse: dateTime overflow. timestamp must be between 1925-01-01 00:00:00 and 2283-11-11 00:00:00"} /src/exporter/clickhousetracesexporter/writer.go:110

Photo of Prashant
Prashant
Tue, 14 Mar 2023 21:33:50 UTC

Rock The troubleshoot binary checks if the otel-collector grpc endpoint is accessible with dummy data. However, since the dummy data is incomplete, it is rejected by SigNoz OtelCollector with the error above.

Photo of Prashant
Prashant
Tue, 14 Mar 2023 21:35:16 UTC

If you wish to make sure that otel-collector endpoint is accessible as well as the telemetry data is accepted, you can make use of `telemetrygen` .

Photo of Prashant
Prashant
Tue, 14 Mar 2023 21:36:07 UTC

The sample trace/metrics sent using it can be verified from SigNoz UI.