filestat plugin config fixup

This commit is contained in:
Cameron Sparr 2016-04-22 19:15:07 -06:00
parent 7b27cad1ba
commit 5b1e59a48c
2 changed files with 4 additions and 4 deletions

View File

@ -459,7 +459,7 @@
# ## Collection Delay (required - must account for metrics availability via CloudWatch API) # ## Collection Delay (required - must account for metrics availability via CloudWatch API)
# delay = '1m' # delay = '1m'
# #
# ## Recomended: use metric 'interval' that is a multiple of 'period' to avoid # ## Recomended: use metric 'interval' that is a multiple of 'period' to avoid
# ## gaps or overlap in pulled data # ## gaps or overlap in pulled data
# interval = '1m' # interval = '1m'
# #
@ -471,7 +471,7 @@
# ## Refreshes Namespace available metrics every 1h # ## Refreshes Namespace available metrics every 1h
# #[[inputs.cloudwatch.metrics]] # #[[inputs.cloudwatch.metrics]]
# # names = ['Latency', 'RequestCount'] # # names = ['Latency', 'RequestCount']
# # # #
# # ## Dimension filters for Metric (optional) # # ## Dimension filters for Metric (optional)
# # [[inputs.cloudwatch.metrics.dimensions]] # # [[inputs.cloudwatch.metrics.dimensions]]
# # name = 'LoadBalancerName' # # name = 'LoadBalancerName'
@ -585,7 +585,7 @@
# ## Files to gather stats about. # ## Files to gather stats about.
# ## These accept standard unix glob matching rules, but with the addition of # ## These accept standard unix glob matching rules, but with the addition of
# ## ** as a "super asterisk". See https://github.com/gobwas/glob. # ## ** as a "super asterisk". See https://github.com/gobwas/glob.
# ["/etc/telegraf/telegraf.conf", "/var/log/**.log"] # files = ["/etc/telegraf/telegraf.conf", "/var/log/**.log"]
# ## If true, read the entire file and calculate an md5 checksum. # ## If true, read the entire file and calculate an md5 checksum.
# md5 = false # md5 = false

View File

@ -20,7 +20,7 @@ const sampleConfig = `
## Files to gather stats about. ## Files to gather stats about.
## These accept standard unix glob matching rules, but with the addition of ## These accept standard unix glob matching rules, but with the addition of
## ** as a "super asterisk". See https://github.com/gobwas/glob. ## ** as a "super asterisk". See https://github.com/gobwas/glob.
["/etc/telegraf/telegraf.conf", "/var/log/**.log"] files = ["/etc/telegraf/telegraf.conf", "/var/log/**.log"]
## If true, read the entire file and calculate an md5 checksum. ## If true, read the entire file and calculate an md5 checksum.
md5 = false md5 = false
` `