2015-06-09 17:27:27 +00:00
|
|
|
### Welcome to the InfluxDB configuration file.
|
|
|
|
|
2015-06-11 05:38:49 +00:00
|
|
|
# Once every 24 hours InfluxDB will report anonymous data to m.influxdb.com
|
|
|
|
# The data includes raft id (random 8 bytes), os, arch, version, and metadata.
|
|
|
|
# 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.
|
|
|
|
# Change this option to true to disable reporting.
|
|
|
|
reporting-disabled = false
|
|
|
|
|
2015-06-09 17:27:27 +00:00
|
|
|
###
|
|
|
|
### [meta]
|
|
|
|
###
|
|
|
|
### Controls the parameters for the Raft consensus group that stores metadata
|
|
|
|
### about the InfluxDB cluster.
|
|
|
|
###
|
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-09 17:27:27 +00:00
|
|
|
###
|
|
|
|
### [data]
|
|
|
|
###
|
|
|
|
### Controls where the actual shard data for InfluxDB lives.
|
|
|
|
###
|
|
|
|
|
2015-06-08 21:44:52 +00:00
|
|
|
[data]
|
|
|
|
dir = "/var/opt/influxdb/data"
|
2015-06-09 17:27:27 +00:00
|
|
|
|
|
|
|
###
|
|
|
|
### [cluster]
|
|
|
|
###
|
|
|
|
### Controls non-Raft cluster behavior, which generally includes how data is
|
|
|
|
### shared across shards.
|
|
|
|
###
|
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-09 17:27:27 +00:00
|
|
|
###
|
|
|
|
### [retention]
|
|
|
|
###
|
|
|
|
### Controls the enforcement of retention policies for evicting old data.
|
|
|
|
###
|
|
|
|
|
2015-06-08 21:44:52 +00:00
|
|
|
[retention]
|
|
|
|
enabled = true
|
2015-06-09 17:27:27 +00:00
|
|
|
check-interval = "10m"
|
|
|
|
|
|
|
|
###
|
|
|
|
### [admin]
|
|
|
|
###
|
|
|
|
### Controls the availability of the built-in, web-based admin interface.
|
|
|
|
###
|
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-09 17:27:27 +00:00
|
|
|
###
|
|
|
|
### [http]
|
|
|
|
###
|
|
|
|
### Controls how the HTTP endpoints are configured. These are the primary
|
|
|
|
### mechanism for getting data into and out of InfluxDB.
|
|
|
|
###
|
|
|
|
|
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-06-09 17:27:27 +00:00
|
|
|
###
|
|
|
|
### [[graphite]]
|
|
|
|
###
|
|
|
|
### Controls one or many listeners for Graphite data.
|
|
|
|
###
|
|
|
|
|
2015-06-09 10:38:07 +00:00
|
|
|
[[graphite]]
|
|
|
|
enabled = false
|
2015-06-10 23:40:08 +00:00
|
|
|
# bind-address = ":2003"
|
|
|
|
# protocol = "tcp"
|
|
|
|
# consistency-level = "one"
|
|
|
|
# name-separator = "."
|
2015-06-12 03:48:24 +00:00
|
|
|
|
|
|
|
## "name-schema" configures tag names for parsing the metric name from graphite protocol;
|
|
|
|
## separated by `name-separator`.
|
|
|
|
## The "measurement" tag is special and the corresponding field will become
|
|
|
|
## the name of the metric.
|
|
|
|
## e.g. "type.host.measurement.device" will parse "server.localhost.cpu.cpu0" as
|
|
|
|
## {
|
|
|
|
## measurement: "cpu",
|
|
|
|
## tags: {
|
|
|
|
## "type": "server",
|
|
|
|
## "host": "localhost,
|
|
|
|
## "device": "cpu0"
|
|
|
|
## }
|
|
|
|
## }
|
|
|
|
# name-schema = "type.host.measurement.device"
|
|
|
|
|
|
|
|
## If set to true, when the input metric name has more fields than `name-schema` specified,
|
|
|
|
## the extra fields will be ignored.
|
|
|
|
## Otherwise an error will be logged and the metric rejected.
|
|
|
|
# ignore-unnamed = true
|
2015-06-09 10:38:07 +00:00
|
|
|
|
2015-06-09 17:27:27 +00:00
|
|
|
###
|
|
|
|
### [collectd]
|
|
|
|
###
|
|
|
|
### Controls the listener for collectd data.
|
|
|
|
###
|
|
|
|
|
2015-01-30 00:36:27 +00:00
|
|
|
[collectd]
|
2015-06-08 21:44:52 +00:00
|
|
|
enabled = false
|
2015-06-09 10:38:07 +00:00
|
|
|
# bind-address = ""
|
|
|
|
# database = ""
|
|
|
|
# typesdb = ""
|
2014-09-30 21:20:09 +00:00
|
|
|
|
2015-06-09 17:27:27 +00:00
|
|
|
###
|
|
|
|
### [opentsdb]
|
|
|
|
###
|
|
|
|
### Controls the listener for OpenTSDB data.
|
|
|
|
###
|
|
|
|
|
2015-03-29 16:26:03 +00:00
|
|
|
[opentsdb]
|
2015-06-08 21:44:52 +00:00
|
|
|
enabled = false
|
2015-06-09 10:38:07 +00:00
|
|
|
# bind-address = ""
|
|
|
|
# database = ""
|
|
|
|
# retention-policy = ""
|
2015-03-29 16:26:03 +00:00
|
|
|
|
2015-06-09 17:27:27 +00:00
|
|
|
###
|
|
|
|
### [udp]
|
|
|
|
###
|
|
|
|
### Controls the listener for InfluxDB line protocol data via UDP.
|
|
|
|
###
|
|
|
|
|
2015-03-04 21:37:04 +00:00
|
|
|
[udp]
|
2015-06-08 21:44:52 +00:00
|
|
|
enabled = false
|
2015-06-09 10:38:07 +00:00
|
|
|
# bind-address = ""
|
|
|
|
# database = ""
|
|
|
|
# batch-size = 0
|
|
|
|
# batch-timeout = "0"
|
2015-04-23 22:03:28 +00:00
|
|
|
|
2015-06-09 17:27:27 +00:00
|
|
|
###
|
|
|
|
### [monitoring]
|
|
|
|
###
|
|
|
|
|
2015-04-03 21:24:28 +00:00
|
|
|
[monitoring]
|
2015-06-09 17:27:27 +00:00
|
|
|
enabled = true
|
2015-06-09 10:38:07 +00:00
|
|
|
write-interval = "24h"
|
2015-06-08 21:44:52 +00:00
|
|
|
|
2015-06-09 17:27:27 +00:00
|
|
|
###
|
|
|
|
### [continuous_queries]
|
|
|
|
###
|
|
|
|
### Controls how continuous queries are run within InfluxDB.
|
|
|
|
###
|
|
|
|
|
2015-06-08 21:44:52 +00:00
|
|
|
[continuous_queries]
|
|
|
|
enabled = true
|
|
|
|
recompute-previous-n = 2
|
2015-06-09 10:38:07 +00:00
|
|
|
recompute-no-older-than = "10m"
|
2015-06-08 21:44:52 +00:00
|
|
|
compute-runs-per-interval = 10
|
2015-06-09 10:38:07 +00:00
|
|
|
compute-no-more-than = "2m"
|
2015-06-08 21:44:52 +00:00
|
|
|
|
2015-06-09 17:27:27 +00:00
|
|
|
###
|
|
|
|
### [hinted-handoff]
|
|
|
|
###
|
|
|
|
### Controls the hinted handoff feature, which allows nodes to temporarily
|
|
|
|
### store queued data when one node of a cluster is down for a short period
|
|
|
|
### of time.
|
|
|
|
###
|
|
|
|
|
2015-06-08 21:44:52 +00:00
|
|
|
[hinted-handoff]
|
|
|
|
enabled = true
|
|
|
|
dir = "/var/opt/influxdb/hh"
|
|
|
|
max-size = 1073741824
|
2015-06-09 17:27:27 +00:00
|
|
|
max-age = "168h"
|
2015-06-08 21:44:52 +00:00
|
|
|
retry-rate-limit = 0
|
|
|
|
retry-interval = "1s"
|