mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 10:41:34 +00:00
Refactors graph_utils and nv_graph_utils
Addresses #3720 Refactor: create module graph_utils Refactor: get_timeseries_layout Refactor: get_default_timeseries Refactor: getDeviceCommonTimeseries Refactor: printCategoryDropdownButton Refactor: printPoolChangeDropdown Refactor: poolDropdown Refactor: printProtocolQuota Refactor: printGraphTopFlows Refactor: drawGraphs Refactor: printNotes Refactor: getMinZoomResolution Refactor: printSeries Refactor: zoom_vals Refactor: getZoomDuration Refactor: getZoomAtPos Refactor: stackedProgressBars Refactor: percentageBar Refactor: breakdownBar Refactor: getProtoVolume Refactor: normalizeSeriesPoints Refactor: nv_graph_utils Refactor: extendLabels Refactor: getAlertGraphLink Refactor: performCustomQuery Refactor: drawProGraph Refactor: unifies nv_graph_utils and graph_utils
This commit is contained in:
parent
21a7080dfe
commit
3744ace4f8
49 changed files with 808 additions and 648 deletions
|
|
@ -12,7 +12,7 @@ local ts_utils = require("ts_utils")
|
|||
local alert_consts = require("alert_consts")
|
||||
local user_scripts = require("user_scripts")
|
||||
local plugins_utils = require("plugins_utils")
|
||||
require("graph_utils")
|
||||
local graph_utils = require("graph_utils")
|
||||
require("alert_utils")
|
||||
|
||||
local probe = user_scripts.loadModule(getSystemInterfaceId(), user_scripts.script_types.system, "system", "influxdb_monitor")
|
||||
|
|
@ -177,7 +177,7 @@ elseif(page == "historical" and charts_available) then
|
|||
local tags = {ifid = getSystemInterfaceId()}
|
||||
url = url.."&page=historical"
|
||||
|
||||
drawGraphs(getSystemInterfaceId(), schema, tags, _GET["zoom"], url, selected_epoch, {
|
||||
graph_utils.drawGraphs(getSystemInterfaceId(), schema, tags, _GET["zoom"], url, selected_epoch, {
|
||||
timeseries = {
|
||||
{schema="influxdb:storage_size", label=i18n("traffic_recording.storage_utilization")},
|
||||
{schema="influxdb:memory_size", label=i18n("about.ram_memory")},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue