pub struct ZipkinExporter { /* private fields */ }Expand description
Zipkin span exporter
Implementations§
Source§impl ZipkinExporter
impl ZipkinExporter
Sourcepub fn builder() -> ZipkinExporterBuilder
pub fn builder() -> ZipkinExporterBuilder
Get a builder to configure a ZipkinExporter
Trait Implementations§
Source§impl Debug for ZipkinExporter
impl Debug for ZipkinExporter
Source§impl SpanExporter for ZipkinExporter
impl SpanExporter for ZipkinExporter
Source§async fn export(&self, batch: Vec<SpanData>) -> OTelSdkResult
async fn export(&self, batch: Vec<SpanData>) -> OTelSdkResult
Export spans to Zipkin collector.
Source§fn shutdown_with_timeout(
&mut self,
_timeout: Duration,
) -> Result<(), OTelSdkError>
fn shutdown_with_timeout( &mut self, _timeout: Duration, ) -> Result<(), OTelSdkError>
Shuts down the exporter. Called when SDK is shut down. This is an
opportunity for exporter to do any cleanup required. Read more
Source§fn shutdown(&mut self) -> Result<(), OTelSdkError>
fn shutdown(&mut self) -> Result<(), OTelSdkError>
Shuts down the exporter with default timeout.
Source§fn force_flush(&mut self) -> Result<(), OTelSdkError>
fn force_flush(&mut self) -> Result<(), OTelSdkError>
This is a hint to ensure that the export of any Spans the exporter
has received prior to the call to this function SHOULD be completed
as soon as possible, preferably before returning from this method. Read more
Source§fn set_resource(&mut self, _resource: &Resource)
fn set_resource(&mut self, _resource: &Resource)
Set the resource for the exporter.
Auto Trait Implementations§
impl !Freeze for ZipkinExporter
impl !RefUnwindSafe for ZipkinExporter
impl Send for ZipkinExporter
impl Sync for ZipkinExporter
impl Unpin for ZipkinExporter
impl !UnwindSafe for ZipkinExporter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more