pub struct DatadogReporter { /* private fields */ }
Expand description
Datadog reporter for fastrace
in msgpack format.
Implementations§
Source§impl DatadogReporter
impl DatadogReporter
pub fn new( agent_addr: SocketAddr, service_name: impl Into<String>, resource: impl Into<String>, trace_type: impl Into<String>, ) -> DatadogReporter
Trait Implementations§
Source§impl Reporter for DatadogReporter
impl Reporter for DatadogReporter
Source§fn report(&mut self, spans: Vec<SpanRecord>)
fn report(&mut self, spans: Vec<SpanRecord>)
Reports a batch of spans to a remote service.
Auto Trait Implementations§
impl Freeze for DatadogReporter
impl RefUnwindSafe for DatadogReporter
impl Send for DatadogReporter
impl Sync for DatadogReporter
impl Unpin for DatadogReporter
impl UnwindSafe for DatadogReporter
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