Add the is_critical_ts flag to force timeseries write

This commit is contained in:
emanuele-f 2020-02-19 15:31:05 +01:00
parent 8402e0cf6a
commit 7c534a557c
6 changed files with 13 additions and 9 deletions

View file

@ -62,6 +62,7 @@ ts_schema.supported_steps = {
function ts_schema:new(name, options)
options = options or {}
options.metrics_type = options.metrics_type or ts_common.metrics.counter
--options.is_critical_ts : if true, this timeseries should be written even if ntop.isDeadlineApproaching()
-- required options
if not options.step then