mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
(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:
parent
aa7f416b7f
commit
153ab055d6
6 changed files with 73 additions and 40 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue