mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Implement eBPF flows view and improve containers/pods pages
This commit is contained in:
parent
fdc7772519
commit
939ca8c166
20 changed files with 339 additions and 90 deletions
|
|
@ -1545,7 +1545,7 @@ function flowinfo2process(process, host_info_to_url)
|
|||
clean_name = t[#t]
|
||||
|
||||
-- proc_name = string.format("<i class='fa fa-terminal'></i> %s", clean_name)
|
||||
proc_name = string.format("<A HREF='%s/lua/process_details.lua?%s&pid_name=%s&pid=%u'><i class='fa fa-terminal'></i> %s</A>",
|
||||
proc_name = string.format("<A HREF='%s/lua/process_details.lua?%s&pid_name=%s&pid=%u'>%s</A>",
|
||||
ntop.getHttpPrefix(),
|
||||
host_info_to_url,
|
||||
full_clean_name,
|
||||
|
|
@ -1565,7 +1565,8 @@ function flowinfo2process(process, host_info_to_url)
|
|||
clean_user_name)
|
||||
end
|
||||
|
||||
fmt = string.format("[%s]", table.concat({proc_user_name, proc_name}, ' '))
|
||||
--fmt = table.concat({proc_user_name, proc_name}, ' ')
|
||||
fmt = proc_name
|
||||
end
|
||||
|
||||
return fmt
|
||||
|
|
@ -3627,12 +3628,6 @@ end
|
|||
|
||||
-- ###########################################
|
||||
|
||||
function shortenContainer(container)
|
||||
return container:sub(1, 12)
|
||||
end
|
||||
|
||||
-- ###########################################
|
||||
|
||||
--
|
||||
-- IMPORTANT
|
||||
-- Leave it at the end so it can use the functions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue