|
| 1 | +reporting-disabled = {{ default false .REPORTING_DISABLED }} |
| 2 | +dir = {{ default "" .DIR | quote }} |
| 3 | +bind-address = {{ default ":8088" .BIND_ADDRESS | quote }} |
| 4 | + |
| 5 | +[meta] |
| 6 | + enabled = {{ default true .META_ENABLED }} |
| 7 | + dir = {{ default "/data/meta" .META_DIR | quote }} |
| 8 | + bind-address = {{ default ":8088" .META_BIND_ADDRESS | quote }} |
| 9 | + http-bind-address = {{ default ":8091" .META_HTTP_BIND_ADDRESS | quote }} |
| 10 | + https-enabled = {{ default false .META_HTTPS_ENABLED }} |
| 11 | + https-certificate = {{ default "" .META_HTTPS_CERTIFICATE | quote }} |
| 12 | + retention-autocreate = {{ default true .META_RETENTION_AUTOCREATE }} |
| 13 | + election-timeout = {{ default "1s" .META_ELECTION_TIMEOUT | quote }} |
| 14 | + heartbeat-timeout = {{ default "1s" .META_HEARTBEAT_TIMEOUT | quote }} |
| 15 | + leader-lease-timeout = {{ default "500ms" .META_LEADER_LEASE_TIMEOUT | quote }} |
| 16 | + commit-timeout = {{ default "50ms" .META_COMMIT_TIMEOUT | quote }} |
| 17 | + cluster-tracing = {{ default false .META_CLUSTER_TRACING }} |
| 18 | + raft-promotion-enabled = {{ default true .META_RAFT_PROMOTION_ENABLED }} |
| 19 | + logging-enabled = {{ default false .META_LOGGING.ENABLED }} |
| 20 | + pprof-enabled = {{ default false .META_PPROF_ENABLED }} |
| 21 | + lease-duration = {{ default "1m0s" .META_LEASE_DURATION | quote }} |
| 22 | + |
| 23 | +[data] |
| 24 | + enabled = {{ default true .DATA_ENABLED }} |
| 25 | + dir = {{ default "/data/db" .DATA_DIR | quote }} |
| 26 | + engine = {{ default "tsm1" .DATA_ENGINE | quote }} |
| 27 | + max-wal-size = {{ default 104857600 .DATA_MAX_WAL_SIZE }} |
| 28 | + wal-flush-interval = {{ default "10m0s" .DATA_WAL_FLUSH_INTERVAL | quote }} |
| 29 | + wal-partition-flush-delay = {{ default "2s" .DATA_WAL_PARTITION_FLUSH_DELAY | quote }} |
| 30 | + wal-dir = {{ default "/data/db/wal" .DATA_WAL_DIR | quote }} |
| 31 | + wal-logging-enabled = {{ default true .DATA_WAL_LOGGING_ENABLED }} |
| 32 | + wal-ready-series-size = {{ default 30720 .DATA_WAL_READY_SERIES_SIZE }} |
| 33 | + wal-compaction-threshold = {{ default 0.5 .DATA_WAL_COMPACTION_THRESHOLD }} |
| 34 | + wal-max-series-size = {{ default 1048576 .DATA_WAL_MAX_SERIES_SIZE }} |
| 35 | + wal-flush-cold-interval = {{ default "5s" .DATA_WAL_FLUSH_COLD_INTERVAL | quote }} |
| 36 | + wal-partition-size-threshold = {{ default 52428800 .DATA_WAL_PARTITION_SIZE_THRESHOLD }} |
| 37 | + query-log-enabled = {{ default true .DATA_QUERY_LOG_ENABLED }} |
| 38 | + cache-max-memory-size = {{ default 524288000 .DATA_CACHE_MAX_MEMORY_SIZE }} |
| 39 | + cache-snapshot-memory-size = {{ default 26214400 .DATA_CACHE_SNAPSHOT_MEMORY_SIZE }} |
| 40 | + cache-snapshot-write-cold-duration = {{ default "1h0m0s" .DATA_CACHE_SNAPSHOT_WRITE_COLD_DURATION | quote }} |
| 41 | + compact-full-write-cold-duration = {{ default "24h0m0s" .DATA_COMPACT_FULL_WRITE_COLD_DURATION | quote }} |
| 42 | + max-points-per-block = {{ default 0 .DATA_MAX_POINTS_PER_BLOCK }} |
| 43 | + data-logging-enabled = {{ default true .DATA_LOGGING_ENABLED }} |
| 44 | + |
| 45 | +[cluster] |
| 46 | + force-remote-mapping = {{ default false .CLUSTER_FORCE_REMOTE_MAPPING }} |
| 47 | + write-timeout = {{ default "5s" .CLUSTER_WRITE_TIMEOUT | quote }} |
| 48 | + shard-writer-timeout = {{ default "5s" .CLUSTER_SHARD_WRITER_TIMEOUT | quote }} |
| 49 | + shard-mapper-timeout = {{ default "5s" .CLUSTER_SHARD_MAPPER_TIMEOUT | quote }} |
| 50 | + |
| 51 | +[retention] |
| 52 | + enabled = {{ default true .RETENTION_ENABLED }} |
| 53 | + check-interval = {{ default "30m0s" .CHECK_INTERVAL | quote }} |
| 54 | + |
| 55 | +[shard-precreation] |
| 56 | + enabled = {{ default true .SHARD_PRECREATION_ENABLED }} |
| 57 | + check-interval = {{ default "10m0s" .SHARD_PRECREATION_CHECK_INTERVAL | quote }} |
| 58 | + advance-period = {{ default "30m0s" .SHARD_PRECREATION_ADVANCE_PERIOD | quote }} |
| 59 | + |
| 60 | +[admin] |
| 61 | + enabled = {{ default true .ADMIN_ENABLED }} |
| 62 | + bind-address = {{ default ":8083" .ADMIN_BIND_ADDRESS | quote }} |
| 63 | + https-enabled = {{ default false .ADMIN_HTTPS_ENABLED }} |
| 64 | + https-certificate = {{ default "/etc/ssl/influxdb.pem" .ADMIN_HTTPS_CERTIFICATE | quote }} |
| 65 | + |
| 66 | +[monitor] |
| 67 | + store-enabled = {{ default true .MONITOR_STORE_ENABLED }} |
| 68 | + store-database = {{ default "_internal" .MONITOR_STORE_DATABASE | quote }} |
| 69 | + store-interval = {{ default "10s" .MONITOR_STORE_INTERVAL | quote }} |
| 70 | + |
| 71 | +[subscriber] |
| 72 | + enabled = {{ default true .SUBSCRIBER_ENABLED }} |
| 73 | + |
| 74 | +[http] |
| 75 | + enabled = {{ default true .HTTP_ENABLED }} |
| 76 | + bind-address = {{ default ":8086" .HTTP_BIND_ADDRESS | quote }} |
| 77 | + auth-enabled = {{ default false .HTTP_AUTH_ENABLED }} |
| 78 | + log-enabled = {{ default true .HTTP_LOG_ENABLED }} |
| 79 | + write-tracing = {{ default false .HTTP_WRITE_TRACING }} |
| 80 | + pprof-enabled = {{ default false .HTTP_PPROF_ENABLED }} |
| 81 | + https-enabled = {{ default false .HTTP_HTTPS_ENABLED }} |
| 82 | + https-certificate = {{ default "/etc/ssl/influxdb.pem" .HTTP_HTTPS_CERTIFICATE | quote }} |
| 83 | + |
| 84 | + |
| 85 | +[continuous_queries] |
| 86 | + log-enabled = {{ default true .CONTINUOUS_QUERIES_LOG_ENABLED }} |
| 87 | + enabled = {{ default true .CONTINUOUS_QUERIES_ENABLED }} |
| 88 | + run-interval = {{ default "1s" .CONTINUOUS_QUERIES_RUN_INTERVAL | quote }} |
| 89 | + |
| 90 | +[hinted-handoff] |
| 91 | + enabled = {{ default true .HINTED_HANDOFF_ENABLED}} |
| 92 | + dir = {{ default "/home/influxdb/.influxdb/hh" .HINTED_HANDOFF_DIR | quote }} |
| 93 | + max-size = {{ default 1073741824 .HINTED_HANDOFF_MAX_SIZE }} |
| 94 | + max-age = {{ default "168h0m0s" .HINTED_HANDOFF_MAX_AGE | quote }} |
| 95 | + retry-rate-limit = {{ default 0 .HINTED_HANDOFF_RETRY_RATE_LIMIT }} |
| 96 | + retry-interval = {{ default "1s" .HINTED_HANDOFF_RETRY_INTERVAL | quote }} |
| 97 | + retry-max-interval = {{ default "1m0s" .HINTED_HANDOFF_RETRY_MAX_INTERVAL | quote }} |
| 98 | + purge-interval = {{ default "1h0m0s" .HINTED_HANDOFF_PURGE_INTERVAL | quote }} |
0 commit comments