Skip to main content

set_current_span_attribute

Function set_current_span_attribute 

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

Set an OpenTelemetry attribute on the current span.