set_response_attributes

Function set_response_attributes 

Source
pub fn set_response_attributes(span: &Span, response: &Value)
Expand description

Set response attributes on the span based on the response value.

This function extracts and sets response-related attributes on the span, including status code and error status for HTTP responses.