Traces are not propagated from kafka connect to mongoDB #12261
Labels
contribution welcome
Request makes sense, maintainers probably won't have time, contribution would be welcome
new instrumentation
Describe the bug
I am using Mongo kafka sink connector to send the data from kafka topic to MongoDB. I have set following environment variables on server where my connector is running. I am using Opentelemetry JavaAgent 2.6.0.
export JAVA_TOOL_OPTIONS=-javaagent:/otel_java_agent/opentelemetry-javaagent.jar
export OTEL_TRACES_EXPORTER=otlp
export OTEL_METRICS_EXPORTER=none
export OTEL_LOGS_EXPORTER=none
export OTEL_EXPORTER_OTLP_PROTOCOL=grpc
export OTEL_PROPAGATORS=tracecontext,baggage
export OTEL_EXPORTER_OTLP_ENDPOINT=http://...**
But I am not able to see the traces from kafka-connector to Mongo DB.
Steps to reproduce
Set the environment variable as per Description.
Run the Mongo kafka sink connect on server.
Expected behavior
Traces should be propagate in a single trace to the database.
Actual behavior
Traces are not propagated in a single trace to the database.
Javaagent or library instrumentation version
Opentelemetry JavaAgent 2.6.0
Environment
JDK:
OS:
Additional context
No response
The text was updated successfully, but these errors were encountered: