fix(telemetry): unstructured log event warning

# What does this PR do?


## Test Plan
This commit is contained in:
Eric Huang 2025-04-02 16:24:03 -07:00
parent 66d6c2580e
commit d51fa45821

View file

@ -126,7 +126,7 @@ class TelemetryAdapter(TelemetryDatasetMixin, Telemetry):
def _log_unstructured(self, event: UnstructuredLogEvent, ttl_seconds: int) -> None:
with self._lock:
# Use global storage instead of instance storage
span_id = event.span_id
span_id = int(event.span_id, 16)
span = _GLOBAL_STORAGE["active_spans"].get(span_id)
if span: