aboutsummaryrefslogtreecommitdiffstats
path: root/conf/modules.d/clickhouse.conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf/modules.d/clickhouse.conf')
-rw-r--r--conf/modules.d/clickhouse.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/conf/modules.d/clickhouse.conf b/conf/modules.d/clickhouse.conf
index 3dbc3b60c..c35352a03 100644
--- a/conf/modules.d/clickhouse.conf
+++ b/conf/modules.d/clickhouse.conf
@@ -51,6 +51,18 @@ clickhouse {
#dmarc_allow_symbols = ["DMARC_POLICY_ALLOW"];
#dmarc_reject_symbols = ["DMARC_POLICY_REJECT", "DMARC_POLICY_QUARANTINE"];
+ #retention {
+ # # disabled by default
+ # enable = true;
+ # # drop | detach, please refer to ClickHouse docs for details
+ # # http://clickhouse-docs.readthedocs.io/en/latest/query_language/queries.html#manipulations-with-partitions-and-parts
+ # method = "drop";
+ # # how many month the data should be kept in ClickHouse
+ # period_months = 3;
+ # # how often run the cleanup process
+ # run_every = "7d";
+ #}
+
.include(try=true,priority=5) "${DBDIR}/dynamic/clickhouse.conf"
.include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/clickhouse.conf"
.include(try=true,priority=10) "$LOCAL_CONFDIR/override.d/clickhouse.conf"