-
Notifications
You must be signed in to change notification settings - Fork 431
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: opentelemetry_appender_tracing
does not work with blocking otlp exporter
#1745
Comments
I'll take a look today. |
I was able to easily repro this, but unsure why is this deadlocked, despite using reqwest::blocking client. Will investigate more and get back. There are several errors related to async runtimes and we are actively investigating a proper fix to take care of all of them, including this issue!. |
This is unrelated to async runtimes, and is caused by exporter itself producing logs which are fed back to opentelemetry. |
open-telemetry/opentelemetry-rust#1745 Signed-off-by: bsbds <69835502+bsbds@users.noreply.github.com>
open-telemetry/opentelemetry-rust#1745 Signed-off-by: bsbds <69835502+bsbds@users.noreply.github.com>
What happened?
The basic example for
opentelemetry_appender_tracing
is working fine for me.The same example also works if I use an OTLP exporter with tonic and Tokio runtime within an async context.
However, if I modify the example for
opentelemetry_appender_tracing
to use an OTLP exporter withreqwest::blocking
, the program enters into a deadlock.This is the code I'm running:
The opentelemetry-otlp crate is used with both reqwest blocking and tonic within an internal config crate:
API Version
I don't know
SDK Version
0.22.1
What Exporters are you seeing the problem on?
OTLP
Relevant log output
No response
The text was updated successfully, but these errors were encountered: