Skip to content

Commit

Permalink
[Fluent]: Update limits
Browse files Browse the repository at this point in the history
  • Loading branch information
gaetan-deputier committed Feb 18, 2020
1 parent 3bbed99 commit 145e7f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/fluent/plugin/out_datadog.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ class Fluent::DatadogOutput < Fluent::Plugin::Output
class RetryableError < StandardError;
end

# Max limits for transport regardless of Fluentd buffer
DD_MAX_BATCH_LENGTH = 200
DD_MAX_BATCH_SIZE = 1000000
# Max limits for transport regardless of Fluentd buffer, respecting https://docs.datadoghq.com/api/?lang=bash#logs
DD_MAX_BATCH_LENGTH = 500
DD_MAX_BATCH_SIZE = 5000000
DD_TRUNCATION_SUFFIX = "...TRUNCATED..."

helpers :compat_parameters
Expand Down

0 comments on commit 145e7f1

Please sign in to comment.