Trait opentelemetry_http::HttpClient [−][src]
A minimal interface necessary for export spans over HTTP.
Users sometime choose http clients that relay on certain runtime. This trait allows users to bring their choice of http clients.
Required methods
#[must_use]fn send<'life0, 'async_trait>(
&'life0 self,
request: Request<Vec<u8>>
) -> Pin<Box<dyn Future<Output = Result<(), TraceError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
request: Request<Vec<u8>>
) -> Pin<Box<dyn Future<Output = Result<(), TraceError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Send a batch of spans to collectors