Merge pull request #3424 from influxdb/pd-update-sample-config

Update sample config with information on batching for UDP, Graphite, …
pull/3115/head
Todd Persen 2015-07-23 17:09:28 -07:00
commit 381c300ac5
1 changed files with 21 additions and 2 deletions

View File

@ -104,6 +104,13 @@ reporting-disabled = false
# consistency-level = "one"
# name-separator = "."
# These next lines control how batching works. You should have this enabled
# otherwise you could get dropped metrics or poor performance. Batching
# will buffer points in memory if you have many coming in.
# batch-size = 1000 # will flush if this many points get buffered
# batch-timeout = "1s" # will flush at least this often even if we haven't hit buffer limit
## "name-schema" configures tag names for parsing the metric name from graphite protocol;
## separated by `name-separator`.
## The "measurement" tag is special and the corresponding field will become
@ -136,6 +143,13 @@ reporting-disabled = false
# database = ""
# typesdb = ""
# These next lines control how batching works. You should have this enabled
# otherwise you could get dropped metrics or poor performance. Batching
# will buffer points in memory if you have many coming in.
# batch-size = 1000 # will flush if this many points get buffered
# batch-timeout = "1s" # will flush at least this often even if we haven't hit buffer limit
###
### [opentsdb]
###
@ -158,8 +172,13 @@ reporting-disabled = false
enabled = false
# bind-address = ""
# database = ""
# batch-size = 0
# batch-timeout = "0"
# These next lines control how batching works. You should have this enabled
# otherwise you could get dropped metrics or poor performance. Batching
# will buffer points in memory if you have many coming in.
# batch-size = 1000 # will flush if this many points get buffered
# batch-timeout = "1s" # will flush at least this often even if we haven't hit buffer limit
###
### [monitoring]