Fix default installed config for consistency
This commit is contained in:
parent
5bfb6df0e0
commit
65b33a848e
|
@ -22,6 +22,17 @@
|
||||||
# NOTE: The configuration has a few required parameters. They are marked
|
# NOTE: The configuration has a few required parameters. They are marked
|
||||||
# with 'required'. Be sure to edit those to make this configuration work.
|
# with 'required'. Be sure to edit those to make this configuration work.
|
||||||
|
|
||||||
|
[tags]
|
||||||
|
# dc = "us-east-1"
|
||||||
|
|
||||||
|
# Configuration for telegraf itself
|
||||||
|
[agent]
|
||||||
|
interval = "10s"
|
||||||
|
debug = false
|
||||||
|
hostname = ""
|
||||||
|
utc = true
|
||||||
|
precision = "s"
|
||||||
|
|
||||||
# Configuration for influxdb server to send metrics to
|
# Configuration for influxdb server to send metrics to
|
||||||
[outputs]
|
[outputs]
|
||||||
[outputs.influxdb]
|
[outputs.influxdb]
|
||||||
|
@ -37,24 +48,13 @@ database = "telegraf" # required.
|
||||||
# Set the user agent for the POSTs (can be useful for log differentiation)
|
# Set the user agent for the POSTs (can be useful for log differentiation)
|
||||||
# user_agent = "telegraf"
|
# user_agent = "telegraf"
|
||||||
|
|
||||||
# Tags can also be specified via a normal map, but only one form at a time:
|
|
||||||
|
|
||||||
# [influxdb.tags]
|
|
||||||
# tags = { "dc" = "us-east-1" }
|
|
||||||
|
|
||||||
# Configuration for telegraf itself
|
|
||||||
# [agent]
|
|
||||||
# interval = "10s"
|
|
||||||
# debug = false
|
|
||||||
# hostname = "prod3241"
|
|
||||||
|
|
||||||
# PLUGINS
|
# PLUGINS
|
||||||
|
|
||||||
# Read metrics about cpu usage
|
# Read metrics about cpu usage
|
||||||
[cpu]
|
[cpu]
|
||||||
# Whether to report per-cpu stats or not
|
# Whether to report per-cpu stats or not
|
||||||
percpu = true
|
percpu = true
|
||||||
# # Whether to report total system cpu stats or not
|
# Whether to report total system cpu stats or not
|
||||||
totalcpu = true
|
totalcpu = true
|
||||||
|
|
||||||
# Read metrics about disk usage by mount point
|
# Read metrics about disk usage by mount point
|
||||||
|
|
Loading…
Reference in New Issue