[−][src]Trait opentelemetry::sdk::export::trace::HttpClient
This is supported on crate features
trace
and http
only.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]pub fn send<'life0, 'async_trait>(
&'life0 self,
request: Request<Vec<u8>>
) -> Pin<Box<dyn Future<Output = ExportResult> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
request: Request<Vec<u8>>
) -> Pin<Box<dyn Future<Output = ExportResult> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Send a batch of spans to collectors
Implementations on Foreign Types
impl HttpClient for Client
[src]
pub fn send<'life0, 'async_trait>(
&'life0 self,
request: Request<Vec<u8>>
) -> Pin<Box<dyn Future<Output = ExportResult> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
request: Request<Vec<u8>>
) -> Pin<Box<dyn Future<Output = ExportResult> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
impl HttpClient for Client
[src]
pub fn send<'life0, 'async_trait>(
&'life0 self,
request: Request<Vec<u8>>
) -> Pin<Box<dyn Future<Output = ExportResult> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
request: Request<Vec<u8>>
) -> Pin<Box<dyn Future<Output = ExportResult> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
impl HttpClient for Client
[src]
pub fn send<'life0, 'async_trait>(
&'life0 self,
request: Request<Vec<u8>>
) -> Pin<Box<dyn Future<Output = ExportResult> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
request: Request<Vec<u8>>
) -> Pin<Box<dyn Future<Output = ExportResult> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,