2013-12-11 22:19:02 +00:00
|
|
|
# Welcome to the InfluxDB configuration file.
|
2013-12-11 18:10:37 +00:00
|
|
|
|
2015-06-08 21:44:52 +00:00
|
|
|
[meta]
|
|
|
|
dir = "/var/opt/influxdb/meta"
|
|
|
|
hostname = "localhost"
|
|
|
|
bind-address = ":8088"
|
|
|
|
retention-autocreate = true
|
|
|
|
election-timeout = "1s"
|
|
|
|
heartbeat-timeout = "1s"
|
|
|
|
leader-lease-timeout = "500ms"
|
|
|
|
commit-timeout = "50ms"
|
2015-06-05 20:40:18 +00:00
|
|
|
|
2015-06-08 21:44:52 +00:00
|
|
|
[data]
|
|
|
|
dir = "/var/opt/influxdb/data"
|
|
|
|
retention-auto-create = true
|
|
|
|
retention-check-enabled = true
|
|
|
|
retention-check-period = "10m0s"
|
|
|
|
retention-create-period = "45m0s"
|
2014-05-29 22:22:21 +00:00
|
|
|
|
2015-06-08 21:44:52 +00:00
|
|
|
[cluster]
|
|
|
|
shard-writer-timeout = "5s"
|
2015-04-09 18:37:13 +00:00
|
|
|
|
2015-06-08 21:44:52 +00:00
|
|
|
[retention]
|
|
|
|
enabled = true
|
|
|
|
check-interval = "10m0s"
|
2015-01-02 21:41:02 +00:00
|
|
|
|
2013-12-11 18:10:37 +00:00
|
|
|
[admin]
|
2015-06-08 21:44:52 +00:00
|
|
|
enabled = true
|
|
|
|
bind-address = ":8083"
|
2013-12-11 18:10:37 +00:00
|
|
|
|
2015-06-08 21:44:52 +00:00
|
|
|
[http]
|
|
|
|
enabled = true
|
|
|
|
bind-address = ":8086"
|
|
|
|
auth-enabled = false
|
|
|
|
log-enabled = true
|
|
|
|
write-tracing = false
|
|
|
|
pprof-enabled = false
|
2014-03-24 15:33:28 +00:00
|
|
|
|
2015-01-30 00:36:27 +00:00
|
|
|
[collectd]
|
2015-06-08 21:44:52 +00:00
|
|
|
enabled = false
|
|
|
|
bind-address = ""
|
|
|
|
database = ""
|
|
|
|
typesdb = ""
|
2014-09-30 21:20:09 +00:00
|
|
|
|
2015-03-29 16:26:03 +00:00
|
|
|
[opentsdb]
|
2015-06-08 21:44:52 +00:00
|
|
|
enabled = false
|
|
|
|
bind-address = ""
|
|
|
|
database = ""
|
|
|
|
retention-policy = ""
|
2015-03-29 16:26:03 +00:00
|
|
|
|
2015-03-04 21:37:04 +00:00
|
|
|
[udp]
|
2015-06-08 21:44:52 +00:00
|
|
|
enabled = false
|
|
|
|
bind-address = ""
|
|
|
|
database = ""
|
|
|
|
batch-size = 0
|
|
|
|
batch-timeout = "0"
|
2015-04-23 22:03:28 +00:00
|
|
|
|
2015-06-08 21:44:52 +00:00
|
|
|
# Once every 24 hours InfluxDB will report anonymous data to m.influxdb.com
|
|
|
|
# The data includes randomly-generated ids, os, arch and version.
|
|
|
|
# We don't track ip addresses of servers reporting. This is only used
|
|
|
|
# to track the number of instances running and the versions, which
|
|
|
|
# is very helpful for us.
|
2015-04-03 21:24:28 +00:00
|
|
|
[monitoring]
|
2015-06-08 21:44:52 +00:00
|
|
|
enabled = false
|
|
|
|
write-interval = "1m0s"
|
|
|
|
|
|
|
|
[continuous_queries]
|
|
|
|
enabled = true
|
|
|
|
recompute-previous-n = 2
|
|
|
|
recompute-no-older-than = "10m0s"
|
|
|
|
compute-runs-per-interval = 10
|
|
|
|
compute-no-more-than = "2m0s"
|
|
|
|
|
|
|
|
[hinted-handoff]
|
|
|
|
enabled = true
|
|
|
|
dir = "/var/opt/influxdb/hh"
|
|
|
|
max-size = 1073741824
|
|
|
|
max-age = "168h0m0s"
|
|
|
|
retry-rate-limit = 0
|
|
|
|
retry-interval = "1s"
|