Skip to main content

set_span_attribute

Function set_span_attribute 

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

Set an OpenTelemetry span attribute on a tracing span.