Skip to content

Instantly share code, notes, and snippets.

@pprkut
Created October 2, 2018 07:35
Show Gist options
  • Save pprkut/f195dde5810f1f4dbf0ff0d979dbbca4 to your computer and use it in GitHub Desktop.
Save pprkut/f195dde5810f1f4dbf0ff0d979dbbca4 to your computer and use it in GitHub Desktop.
InfluxDB config
reporting-disabled = false
[[udp]]
enabled = false
[http]
auth-enabled = true
bind-address = ":8086"
enabled = true
https-certificate = "/etc/ssl/influxdb.pem"
https-enabled = false
log-enabled = true
pprof-enabled = false
write-tracing = false
[monitor]
store-database = "_internal"
store-enabled = true
store-interval = "10s"
[[graphite]]
enabled = false
[hinted-handoff]
dir = "/var/lib/influxdb/hh"
enabled = true
max-age = "168h"
max-size = 1073741824
purge-interval = "1h"
retry-interval = "1s"
retry-max-interval = "1m"
retry-rate-limit = 0
[admin]
bind-address = ":8083"
enabled = true
https-certificate = "/etc/ssl/influxdb.pem"
https-enabled = false
[[collectd]]
enabled = false
[coordinator]
shard-writer-timeout = "5s"
write-timeout = "10s"
[meta]
bind-address = ":8088"
cluster-tracing = false
commit-timeout = "50s"
dir = "/var/lib/influxdb/meta"
election-timeout = "1s"
enabled = true
heartbeat-timeout = "1s"
leader-lease-timeout = "1s"
retention-autocreate = true
[[opentsdb]]
enabled = false
[shard-precreation]
advance-period = "30m"
check-interval = "10m"
enabled = true
[data]
dir = "/var/lib/influxdb/data"
enabled = true
max-wal-size = 104857600
trace-logging-enabled = true
wal-dir = "/var/lib/influxdb/wal"
wal-flush-interval = "10m"
wal-logging-enabled = true
wal-partition-flush-delay = "2s"
[continuous_queries]
enabled = true
log-enabled = true
[retention]
check-interval = "30m"
enabled = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment