Fix remnant

This commit is contained in:
Eric Eastwood 2022-08-02 15:19:28 -05:00
parent 5999132287
commit 2491665ed9

View file

@ -880,7 +880,7 @@ async def _async_write_json_to_request_in_thread(
def encode(tracing_span: Optional["opentelemetry.trace.Span"]) -> bytes:
# it might take a while for the threadpool to schedule us, so we write
# opentracing logs once we actually get scheduled, so that we can see how
# tracing logs once we actually get scheduled, so that we can see how
# much that contributed.
if tracing_span:
tracing_span.add_event("scheduled", attributes={"event": "scheduled"})