diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/lua/clickhouse.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/lua/clickhouse.lua b/src/plugins/lua/clickhouse.lua index 32fe5c25e..c4e30f1db 100644 --- a/src/plugins/lua/clickhouse.lua +++ b/src/plugins/lua/clickhouse.lua @@ -945,8 +945,9 @@ local function clickhouse_maybe_send_data_periodic(cfg, ev_base, now) if last_collection > 0 and settings.limits.max_interval > 0 then if now - last_collection > settings.limits.max_interval then need_collect = true - reason = string.format('limit of time since last collection has been reached: %d seconds passed', - (now - last_collection) - settings.limits.max_interval) + reason = string.format('limit of time since last collection has been reached: %d seconds passed ' .. + '(%d seconds trigger)', + (now - last_collection), settings.limits.max_interval) end end |