lib/opentelemetry/instrumentation/excon/middlewares/tracer_middleware.rb in opentelemetry-instrumentation-excon-0.17.0 vs lib/opentelemetry/instrumentation/excon/middlewares/tracer_middleware.rb in opentelemetry-instrumentation-excon-0.18.0
- old
+ new
@@ -77,10 +77,9 @@
return span if span.end_timestamp
if datum.key?(:response)
response = datum[:response]
span.set_attribute('http.status_code', response[:status])
- span.set_attribute('http.status_text', response[:reason_phrase])
span.status = OpenTelemetry::Trace::Status.http_to_status(
response[:status]
)
end