Created
November 3, 2014 11:45
-
-
Save shinji62/3170218c9cb13e9d9451 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Welcome to the InfluxDB configuration file. | |
# hostname = "" | |
bind-address = "0.0.0.0" | |
reporting-disabled = false | |
[logging] | |
# logging level can be one of "debug", "info", "warn" or "error" | |
level = "debug" | |
file = "/var/vcap/sys/log/influxdb/influxdb.log" # stdout to log to standard out, or syslog facility | |
# Configure the admin server | |
[admin] | |
port=8083 | |
[api] | |
port = 8086 | |
# ssl-port = 8084 | |
# ssl-cert = /path/to/cert.pem | |
read-timeout = "5s" | |
[input_plugins] | |
# Configure the graphite api | |
[input_plugins.graphite] | |
enabled = false | |
# address = "0.0.0.0" | |
port = 2003 | |
database = "graphite" | |
udp_enabled = true | |
# Configure the collectd api | |
[input_plugins.collectd] | |
enabled = true | |
# address = "0.0.0.0" | |
port = 25826 | |
database = "collectd" | |
# https://github.com/collectd/collectd/blob/master/src/types.db | |
typesdb = "/var/vcap/jobs/influxdb/config/types-5.4.1.db" | |
# Configure the udp api | |
[input_plugins.udp] | |
enabled = false | |
# port = 4444 | |
# database = "" | |
# Configure multiple udp apis each can write to separate db. Just | |
# repeat the following section to enable multiple udp apis on | |
# different ports. | |
[[input_plugins.udp_servers]] # array of tables | |
enabled = false | |
# port = 5551 | |
# database = "db1" | |
# Raft configuration | |
[raft] | |
port = 8090 | |
dir = "/var/vcap/data/influxdb/raft" | |
election-timeout = "10s" | |
[storage] | |
dir = "/var/vcap/data/influxdb/db" | |
write-buffer-size = 10000 | |
default-engine = "rocksdb" | |
max-open-shards = 0 | |
point-batch-size = 100 | |
write-batch-size = 5000000 | |
retention-sweep-period = "10m" | |
[storage.engines.leveldb] | |
max-open-files = 1000 | |
lru-cache-size = "200m" | |
[storage.engines.rocksdb] | |
max-open-files = 1000 | |
lru-cache-size = "200m" | |
[storage.engines.hyperleveldb] | |
max-open-files = 1000 | |
lru-cache-size = "200m" | |
[storage.engines.lmdb] | |
map-size = "100g" | |
[cluster] | |
#seed-servers = ["127.0.0.1:8099"] | |
protobuf_port = 8099 | |
protobuf_timeout = "2s" | |
protobuf_heartbeat = "200ms" | |
protobuf_min_backoff = "1s" | |
protobuf_max_backoff = "10s" | |
write-buffer-size = 10000 | |
max-response-buffer-size = 100 | |
concurrent-shard-query-limit = 10 | |
[wal] | |
dir = "/var/vcap/data/influxdb/wal" | |
flush-after = 1000 | |
bookmark-after = 1000 | |
index-after = 1000 | |
requests-per-logfile = 10000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment