Skip to content

Commit c15d8e6

Browse files
committed
Fixup default max request size after changing type to config.Size
1 parent 0c8dbbb commit c15d8e6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

etc/telegraf.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1295,13 +1295,13 @@
12951295
# ## HTTP method, one of: "POST" or "PUT". "POST" is used by default if unset.
12961296
# # method = "POST"
12971297
#
1298-
# ## Max HTTP request body size in bytes before compression (if applied).
1298+
# ## Max HTTP request body size in bytes before compression.
12991299
# ## By default 1MB is recommended.
13001300
# ## NOTE:
13011301
# ## Bear in mind that in some serializer a metric even though serialized to multiple
13021302
# ## lines cannot be split any further so setting this very low might not work
13031303
# ## as expected.
1304-
# # max_request_body_size = 1_000_000
1304+
# # max_request_body_size = 1000000
13051305
#
13061306
# ## Additional, Sumo specific options.
13071307
# ## Full list can be found here:

plugins/outputs/sumologic/sumologic.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ const (
4949
## HTTP method, one of: "POST" or "PUT". "POST" is used by default if unset.
5050
# method = "POST"
5151
52-
## Max HTTP request body size in bytes before compression (if applied).
52+
## Max HTTP request body size in bytes before compression.
5353
## By default 1MB is recommended.
5454
## NOTE:
5555
## Bear in mind that in some serializer a metric even though serialized to multiple
5656
## lines cannot be split any further so setting this very low might not work
5757
## as expected.
58-
# max_request_body_size = 1_000_000
58+
# max_request_body_size = 1000000
5959
6060
## Additional, Sumo specific options.
6161
## Full list can be found here:

0 commit comments

Comments
 (0)