forked from vectordotdev/vector
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(datadog_logs sink): abort serialization and split batch when payl…
…oad is too large (vectordotdev#19189) * add failing test Signed-off-by: Luke Steensen <luke.steensen@gmail.com> * abort and split batch serialization when too large Signed-off-by: Luke Steensen <luke.steensen@gmail.com> * clippy Signed-off-by: Luke Steensen <luke.steensen@gmail.com> * Update src/sinks/datadog/logs/sink.rs Co-authored-by: Doug Smith <dsmith3197@users.noreply.github.com> * do not double count byte size when splitting Signed-off-by: Luke Steensen <luke.steensen@gmail.com> * emit dropped event Signed-off-by: Luke Steensen <luke.steensen@gmail.com> * add changelog entry Signed-off-by: Luke Steensen <luke.steensen@gmail.com> * Update changelog.d/OPW-86.fix.md Co-authored-by: neuronull <neuronull@pm.me> * rename changelog fragment Signed-off-by: Luke Steensen <luke.steensen@gmail.com> * use dougs idea Signed-off-by: Luke Steensen <luke.steensen@gmail.com> * remove unnecessary clone Signed-off-by: Luke Steensen <luke.steensen@gmail.com> --------- Signed-off-by: Luke Steensen <luke.steensen@gmail.com> Co-authored-by: Doug Smith <dsmith3197@users.noreply.github.com> Co-authored-by: neuronull <neuronull@pm.me>
- Loading branch information
1 parent
375b3eb
commit e9be29a
Showing
3 changed files
with
205 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Fixed an issue where the `datadog_logs` sink could produce a request larger than the allowed API | ||
limit. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.