]> source.dussan.org Git - rspamd.git/commitdiff
[Project] Add new flags to clickhouse, redis and elastic exporters
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 12 Feb 2019 15:05:14 +0000 (15:05 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 12 Feb 2019 15:05:14 +0000 (15:05 +0000)
src/plugins/lua/clickhouse.lua
src/plugins/lua/elastic.lua
src/plugins/lua/history_redis.lua

index 1a1b436a775645c47f844fff1def33fc1eb974da..ed4341181b7fedcc7d21b36844e4c47f9b112d1d 100644 (file)
@@ -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
index 9357684973db51afbdd69db7bcd56c6c677f86b8..b6da33bf89a55c9db10f74d4186bb93c4b9ddfb8 100644 (file)
@@ -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)
index b7345f04e563e4db4536165d80710efd832746cd..5b46d0ffe1cd3526fb3e1354b004d0f91651e8da 100644 (file)
@@ -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'] = {