(feat) add response_time to StandardLoggingPayload - logged on datadog, gcs_bucket, s3_bucket etc (#7199)

* feat - add response_time to slp

* test_get_response_time

* docs slp

* fix test_datadog_logging_http_request
This commit is contained in:
Ishaan Jaff 2024-12-12 12:04:43 -08:00 committed by GitHub
parent 04138c2df7
commit 2185587b4d
6 changed files with 73 additions and 40 deletions

View file

@ -226,6 +226,7 @@ async def test_datadog_logging_http_request():
# Parse the 'message' field as JSON and check its structure
message = json.loads(body[0]["message"])
print("logged message", json.dumps(message, indent=4))
expected_message_fields = StandardLoggingPayload.__annotations__.keys()