Struct mick_jaeger::TracesOut
source · pub struct TracesOut { /* private fields */ }
Expand description
Receiving side for spans.
This object must be processed in order to send traces to the UDP server.
Implementations§
source§impl TracesOut
impl TracesOut
sourcepub async fn next(&mut self) -> Vec<u8>
pub async fn next(&mut self) -> Vec<u8>
Returns the next packet of data to send on the UDP socket.
sourcepub fn add_string_tag(&mut self, key: &str, value: &str)
pub fn add_string_tag(&mut self, key: &str, value: &str)
Add a new key-value tag to the process.
sourcepub fn add_int_tag(&mut self, key: &str, value: i64)
pub fn add_int_tag(&mut self, key: &str, value: i64)
Add a new key-value tag to the process.