You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the otlp crate http-proto/reqwest-client and the sdk crate with rt-tokio/experimental trace batch I need to use .with_http_client with the SpanExporterBuilder otherwise the builder fails with NoHttpClient error.
I am using:
Let span_exporter = SpanExporter:builder().with_http().with_export_config(config).build()?
Can you share a minimal repro for the issue(s) you are observing?
We have added good amount of tests to make sure how hangs/deadlocks occur in shutdowns, but these are only in the newly written BatchProcessor. It is unlikely to be ported to the async based ones. (We do plan to support async runtimes, but it would be likely by modifying the new BatchProcessor implementaions)
When using the otlp crate http-proto/reqwest-client and the sdk crate with rt-tokio/experimental trace batch I need to use
.with_http_client
with theSpanExporterBuilder
otherwise the builder fails withNoHttpClient
error.I am using:
Adding
with_http_client(Client::builder().build().unwrap())
Prevents the error but having a look at the code I am not sure why its needed or would a make a difference over the new standard non-async setup.
I am also finding that using a BatchSpanProcessor with the Tokio runtime in tests causes the trace provider shutdown to hang indefinitely.
We are mostly happy at moving to a sync exporter but want to keep the option for an async exporter setup for projects that wont support threading.
The text was updated successfully, but these errors were encountered: