Pārlūkot izejas kodu

[Project] Add new flags to clickhouse, redis and elastic exporters

tags/1.9.0
Vsevolod Stakhov pirms 5 gadiem
vecāks
revīzija
6aaac155fa

+ 1
- 1
src/plugins/lua/clickhouse.lua Parādīt failu

@@ -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

+ 1
- 1
src/plugins/lua/elastic.lua Parādīt failu

@@ -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)

+ 1
- 1
src/plugins/lua/history_redis.lua Parādīt failu

@@ -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'] = {

Notiek ielāde…
Atcelt
Saglabāt