pub struct OtlpHttpExporter { /* private fields */ }Expand description
OTLP/HTTP JSON span (and metric) exporter.
Implementations§
Source§impl OtlpHttpExporter
impl OtlpHttpExporter
Sourcepub fn start(
config: &OtelConfig,
metrics: Option<Arc<Metrics>>,
) -> Result<Self, ExportError>
pub fn start( config: &OtelConfig, metrics: Option<Arc<Metrics>>, ) -> Result<Self, ExportError>
Start the exporter (spawns its batching task on the current tokio runtime).
Sourcepub fn start_with(
config: &OtelConfig,
metrics: Option<Arc<Metrics>>,
settings: ExportSettings,
) -> Result<Self, ExportError>
pub fn start_with( config: &OtelConfig, metrics: Option<Arc<Metrics>>, settings: ExportSettings, ) -> Result<Self, ExportError>
OtlpHttpExporter::start with explicit settings.
Trait Implementations§
Source§impl Debug for OtlpHttpExporter
impl Debug for OtlpHttpExporter
Auto Trait Implementations§
impl Forget for OtlpHttpExporter
impl Freeze for OtlpHttpExporter
impl Move for OtlpHttpExporter
impl RefUnwindSafe for OtlpHttpExporter
impl Send for OtlpHttpExporter
impl Sync for OtlpHttpExporter
impl Unpin for OtlpHttpExporter
impl UnsafeUnpin for OtlpHttpExporter
impl UnwindSafe for OtlpHttpExporter
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