Struct minitrace_datadog::DatadogReporter
source · pub struct DatadogReporter { /* private fields */ }
Expand description
Datadog reporter for minitrace
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: &[SpanRecord])
fn report(&mut self, spans: &[SpanRecord])
Reports a batch of spans to a remote service.
Auto Trait Implementations§
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