Fix outdated InfluxDB configuration

Actual InfluxDB config is deprecated, it must be updated based on the
following documentation:
https://docs.influxdata.com/influxdb/v1.2/administration/config

* remove following options:
  lease-duration = "1m0s"
  pprof-enabled = false
22173acb70

* rename "cluster" section to "coordination":
75e89e35d8

* remove shard-writer-timeout option:
  shard-writer-timeout = "5s"
db7d58c867

Closes-Bug: #1678982
Change-Id: Id905336123bc5aa76d6e6903a82f915c3702669f
This commit is contained in:
Bertrand Lallau 2017-04-03 10:43:44 +02:00
parent 1295f583a1
commit d9ce5cf6c0

View File

@ -1,21 +1,17 @@
reporting-disabled = false
[logging]
level = "info"
file = "/var/log/kolla/influxdb/influxdb.log"
level = "info"
file = "/var/log/kolla/influxdb/influxdb.log"
[meta]
dir = "/var/lib/influxdb/meta"
retention-autocreate = true
logging-enabled = true
pprof-enabled = false
lease-duration = "1m0s"
[data]
enabled = true
dir = "/var/lib/influxdb/data"
wal-dir = "/var/lib/influxdb/wal"
wal-logging-enabled = true
data-logging-enabled = true
[cluster]
shard-writer-timeout = "5s"
[coordinator]
write-timeout = "10s"
max-concurrent-queries = 0
query-timeout = "0s"