From: Vsevolod Stakhov Date: Tue, 12 Feb 2019 15:05:14 +0000 (+0000) Subject: [Project] Add new flags to clickhouse, redis and elastic exporters X-Git-Tag: 1.9.0~168 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6aaac155fa5f8503d38616fff60320e411b971cc;p=rspamd.git [Project] Add new flags to clickhouse, redis and elastic exporters --- diff --git a/src/plugins/lua/clickhouse.lua b/src/plugins/lua/clickhouse.lua index 1a1b436a7..ed4341181 100644 --- a/src/plugins/lua/clickhouse.lua +++ b/src/plugins/lua/clickhouse.lua @@ -905,7 +905,7 @@ if opts then type = 'idempotent', callback = clickhouse_collect, priority = 10, - flags = 'empty', + flags = 'empty,explicit_disable,ignore_passthrough', }) rspamd_config:register_finish_script(function(task) if nrows > 0 then diff --git a/src/plugins/lua/elastic.lua b/src/plugins/lua/elastic.lua index 935768497..b6da33bf8 100644 --- a/src/plugins/lua/elastic.lua +++ b/src/plugins/lua/elastic.lua @@ -474,7 +474,7 @@ if redis_params and opts then type = 'idempotent', callback = elastic_collect, priority = 10, - flags = 'empty', + flags = 'empty,explicit_disable,ignore_passthrough', }) rspamd_config:add_on_load(function(cfg, ev_base,worker) diff --git a/src/plugins/lua/history_redis.lua b/src/plugins/lua/history_redis.lua index b7345f04e..5b46d0ffe 100644 --- a/src/plugins/lua/history_redis.lua +++ b/src/plugins/lua/history_redis.lua @@ -255,7 +255,7 @@ if opts then name = 'HISTORY_SAVE', type = 'idempotent', callback = history_save, - flags = 'empty', + flags = 'empty,explicit_disable,ignore_passthrough', priority = 150 }) rspamd_plugins['history'] = {