Skip to main content

record_current_span_attribute

Function record_current_span_attribute 

Source
pub fn record_current_span_attribute(
    key: &'static str,
    value: impl Into<SpanAttributeValue>,
)
Expand description

Record a tracing field and set an OpenTelemetry attribute on the current span.