tracer: Jaeger tracer agent report fail #110632
Labels
A-observability-inf
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
O-community
Originated from the community
X-blathers-triaged
blathers was able to find an owner
Describe the problem
Hi, I was trying to set a local jaeger tracer for my local single instance, during this process, I'm getting an error that says "data does not fit within one UDP packet" inside the Jaeger exporter at here
To Reproduce
./dev doctor & ./dev build
./_bazel/bin/pkg/cmd/cockroach/cockroach_/cockroach start-single-node --insecure --listen-addr=localhost:36257 --sql-addr=localhost:26257
SET CLUSTER SETTING trace.jaeger.agent='localhost:6831';
tail -f ./cockroach-data/logs/cockroach-stderr.log
, and find the following outputAfter a little bit of digging, there is a bug in the otel jaeger exporter, go.opentelemetry.io/otel/exporters/[email protected], in which the
maxPacketSize
check would fail because of it is not considering the emitBatchOverhead that described hereIt turns out the Jaeger exporter is now removed from the open elementary already, Refers to
However, since Jaeger now supports the opentelemetry
OLTP
, As recommended by Jaeger & opentelemetry, the alternative would be:go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
Then I switched to use OLTP and it works
SET CLUSTER SETTING trace.jaeger.agent='';
SET CLUSTER SETTING trace.opentelemetry.collector='localhost:4317';
I guess the solution is simply to delete the Jaeger integration, or fork the otel-jaeger-exporter(EOLed already) and fix it from there(for backward compatibility)
Jira issue: CRDB-31535
Epic: CRDB-28893
The text was updated successfully, but these errors were encountered: