mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Added top applications timeseries to dashboard
This commit is contained in:
parent
fa6620b8a6
commit
e9d4bbc43f
5 changed files with 258 additions and 224 deletions
|
|
@ -77,6 +77,13 @@ function ts_data.get_timeseries(http_context)
|
|||
local extended_times = http_context.extended
|
||||
local ts_aggregation = http_context.ts_aggregation
|
||||
|
||||
-- Resolve the iface:ndpi to the correct one, there are 2:
|
||||
-- - iface:ndpi, with bytes
|
||||
-- - iface:ndpi_full, with bytes sent and bytes rcvd
|
||||
if ts_schema == "top:iface:ndpi" then
|
||||
ts_schema = "top:" .. getIfacenDPITsName()
|
||||
end
|
||||
|
||||
local options = {
|
||||
min_num_points = 2,
|
||||
max_num_points = tonumber(http_context.limit) or 60,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue