Commit 15ed33dd authored by nardusg's avatar nardusg Committed by Ross McDonald
Browse files

Add query-log-enabled variable, this is to prevent queries to be logged (#20)

parent e0658e56
...@@ -47,6 +47,7 @@ influxdb_meta_cluster_tracing: "false" ...@@ -47,6 +47,7 @@ influxdb_meta_cluster_tracing: "false"
influxdb_data_enabled: "true" influxdb_data_enabled: "true"
influxdb_data_dir: /var/lib/influxdb/data influxdb_data_dir: /var/lib/influxdb/data
influxdb_data_engine: "tsm1" influxdb_data_engine: "tsm1"
influxdb_data_query_log_enabled: "true"
influxdb_data_max_wal_size: 104857600 influxdb_data_max_wal_size: 104857600
influxdb_data_wal_flush_interval: 10m0s influxdb_data_wal_flush_interval: 10m0s
influxdb_data_wal_partition_flush_delay: 2s influxdb_data_wal_partition_flush_delay: 2s
......
...@@ -75,7 +75,7 @@ reporting-disabled = {{ influxdb_disable_reporting }} ...@@ -75,7 +75,7 @@ reporting-disabled = {{ influxdb_disable_reporting }}
# The more memory you have, the bigger this can be. # The more memory you have, the bigger this can be.
# wal-partition-size-threshold = {{ influxdb_data_wal_partition_size_threshold }} # wal-partition-size-threshold = {{ influxdb_data_wal_partition_size_threshold }}
query-log-enabled = true query-log-enabled = {{ influxdb_data_query_log_enabled }}
cache-max-memory-size = 524288000 cache-max-memory-size = 524288000
cache-snapshot-memory-size = 26214400 cache-snapshot-memory-size = 26214400
cache-snapshot-write-cold-duration = "1h0m0s" cache-snapshot-write-cold-duration = "1h0m0s"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment