set_function_attributes

Function set_function_attributes 

Source
pub fn set_function_attributes(
    func: &Bound<'_, PyAny>,
    span: &mut ActiveSpan,
) -> Result<(), TraceError>
Expand description

Set function attributes on the span

§Arguments

  • func - The Python function object
  • span - The ActiveSpan to set attributes on

§Returns

Result<(), TraceError>