Skip to content

Commit

Permalink
Fixup default max request size after changing type to config.Size
Browse files Browse the repository at this point in the history
  • Loading branch information
pmalek committed Sep 30, 2020
1 parent 0c8dbbb commit c15d8e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions etc/telegraf.conf
Original file line number Diff line number Diff line change
Expand Up @@ -1295,13 +1295,13 @@
# ## HTTP method, one of: "POST" or "PUT". "POST" is used by default if unset.
# # method = "POST"
#
# ## Max HTTP request body size in bytes before compression (if applied).
# ## Max HTTP request body size in bytes before compression.
# ## By default 1MB is recommended.
# ## NOTE:
# ## Bear in mind that in some serializer a metric even though serialized to multiple
# ## lines cannot be split any further so setting this very low might not work
# ## as expected.
# # max_request_body_size = 1_000_000
# # max_request_body_size = 1000000
#
# ## Additional, Sumo specific options.
# ## Full list can be found here:
Expand Down
4 changes: 2 additions & 2 deletions plugins/outputs/sumologic/sumologic.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ const (
## HTTP method, one of: "POST" or "PUT". "POST" is used by default if unset.
# method = "POST"
## Max HTTP request body size in bytes before compression (if applied).
## Max HTTP request body size in bytes before compression.
## By default 1MB is recommended.
## NOTE:
## Bear in mind that in some serializer a metric even though serialized to multiple
## lines cannot be split any further so setting this very low might not work
## as expected.
# max_request_body_size = 1_000_000
# max_request_body_size = 1000000
## Additional, Sumo specific options.
## Full list can be found here:
Expand Down

0 comments on commit c15d8e6

Please sign in to comment.