diff --git a/logging/google/cloud/logging/handlers/transports/background_thread.py b/logging/google/cloud/logging/handlers/transports/background_thread.py index 1eb6d212af5d..8cdeef422ba3 100644 --- a/logging/google/cloud/logging/handlers/transports/background_thread.py +++ b/logging/google/cloud/logging/handlers/transports/background_thread.py @@ -267,6 +267,7 @@ def enqueue( "labels": labels, "trace": trace, "span_id": span_id, + "timestamp": datetime.utcfromtimestamp(record.created), } )