mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Additional debug for RRD
This commit is contained in:
parent
94d72c2b98
commit
aa17725323
2 changed files with 5 additions and 1 deletions
|
|
@ -349,6 +349,10 @@ end
|
|||
local function update_rrd(schema, rrdfile, timestamp, data, dont_recover)
|
||||
local params = {tolongint(timestamp), }
|
||||
|
||||
if isDebugEnabled() then
|
||||
traceError(TRACE_NORMAL, TRACE_CONSOLE, string.format("Going to update %s [%s]", schema.name, rrdfile))
|
||||
end
|
||||
|
||||
for _, metric in ipairs(schema._metrics) do
|
||||
params[#params + 1] = tolongint(data[metric])
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue