commit 6aaac15: [Project] Add new flags to clickhouse, redis and elastic exporters
Vsevolod Stakhov
vsevolod at highsecure.ru
Tue Feb 12 15:07:05 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-02-12 15:05:14 +0000
URL: https://github.com/rspamd/rspamd/commit/6aaac155fa5f8503d38616fff60320e411b971cc (HEAD -> master)
[Project] Add new flags to clickhouse, redis and elastic exporters
---
src/plugins/lua/clickhouse.lua | 2 +-
src/plugins/lua/elastic.lua | 2 +-
src/plugins/lua/history_redis.lua | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
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'] = {
More information about the Commits
mailing list