You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

86 lines
2.7 KiB

##
## influx.conf -- InfluxDB server configuration
##
reporting-disabled = true
[meta]
dir = "@l_prefix@/var/influxdb/db/meta"
hostname = "server.example.com"
bind-address = "127.0.0.1:8088"
#peers = [ "127.0.0.1:8088", "127.0.0.2:8088" ]
retention-autocreate = true
election-timeout = "1s"
heartbeat-timeout = "1s"
leader-lease-timeout = "500ms"
commit-timeout = "50ms"
[data]
dir = "@l_prefix@/var/influxdb/db/data"
wal-dir = "@l_prefix@/var/influxdb/db/wal"
max-wal-size = 104857600
wal-flush-interval = "10m"
wal-partition-flush-delay = "2s"
[coordinator]
shard-writer-timeout = "5s"
write-timeout = "5s"
[retention]
enabled = true
check-interval = "10m"
#replication = 2
[shard-precreation]
enabled = true
check-interval = "10m0s"
advance-period = "30m0s"
[http]
enabled = true
bind-address = "127.0.0.1:8086"
auth-enabled = true
log-enabled = true
write-tracing = false
pprof-enabled = false
[[udp]]
enabled = true
bind-address = "127.0.0.1:8089"
database = "example"
batch-size = 0
batch-timeout = "0"
[[graphite]]
enabled = false
bind-address = "127.0.0.1:2003"
protocol = "tcp"
name-separator = "."
name-schema = "type.host.measurement.device"
ignore-unnamed = true
[[collectd]]
enabled = false
bind-address = "127.0.0.1:25827"
database = "example"
typesdb = "types.db"
[monitoring]
enabled = false
write-interval = "24h"
[continuous_queries]
enabled = true
recompute-previous-n = 2
recompute-no-older-than = "10m"
compute-runs-per-interval = 10
compute-no-more-than = "2m"
[hinted-handoff]
enabled = true
dir = "@l_prefix@/var/influxdb/db/hint"
max-size = 1073741824
max-age = "168h"
retry-rate-limit = 0
retry-interval = "1s"