Open kuza55 opened 8 months ago
+1 as we have seen this sporadically with our system but we are just using auto-injection of traces... originally we thought it was due to the SDK/distro mismatch between code and our system but seems to be happening again...
Any light or insights on how to debug would be helpful
+1 as we have seen this sporadically with our system but we are just using auto-injection of traces... originally we thought it was due to the SDK/distro mismatch between code and our system but seems to be happening again...
Any light or insights on how to debug would be helpful
@brad-getpassport got similar issue, maybe this helps.
# From this
otlp_exporter = OTLPSpanExporter(endpoint="http://jaeger:4317")
# To this
otlp_exporter = OTLPSpanExporter(endpoint="http://jaeger:4318/v1/traces")
Fixed it by changing endpoint to http://jaeger:4318/v1/traces instead of http://jaeger:4317
Describe your environment Ubuntu 22.04 in Docker Python 3.11 opentelemetry-api/sdk 1.23.0
Steps to reproduce I had been running into issues where spans created inside a forked process using multiprocessing.Process were being dropped. Specifically, I was using the wrapt_timeout_decorator library to add timeouts around some sync python code.
After debugging it, I realized that adding some code like:
Got the spans inside do_stuff to be exported successfully most of the time (Though not all of the time).
What is the expected behavior? No exceptions
What is the actual behavior? However, after making this change I am running into some exceptions like this sporadically: