-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
If you send a log that would exceed Cloud Logging's 256kb limit, the API will reject the log. This is pretty common with GenAI prompt/response capturing where the log can become huge. This is unfortunate because you lose everything, including labels. I'm not sure if this fails the whole batch of logs.
Some workaround ideas
- do nothing and let them drop
- unset the jsonPayload if it's too large
- truncate the textPayload if it's too large
- add a new log entry with just the labels and a payload indicating that the large body was dropped
Metadata
Metadata
Assignees
Labels
No labels