mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Fixes network charts
This commit is contained in:
parent
188f7e6186
commit
090f281437
1 changed files with 5 additions and 0 deletions
|
|
@ -861,6 +861,11 @@ function driver:timeseries_query(options)
|
|||
options.tags.host = nil
|
||||
end
|
||||
|
||||
-- It seems that host is added when asking for subnet
|
||||
if (starts(options.schema, "subnet")) then
|
||||
options.tags.host = nil
|
||||
end
|
||||
|
||||
local retention_policy = getSchemaRetentionPolicy(options.schema_info, options.epoch_begin, options.epoch_end,
|
||||
options)
|
||||
local query_schema, raw_step, data_type = retentionPolicyToSchema(options.schema_info, retention_policy, self.db)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue