Add exported/dropped flows/sec timeseries

Implements #2300
This commit is contained in:
emanuele-f 2019-01-09 16:14:28 +01:00
parent 1222c9a056
commit e3952dbb48
6 changed files with 30 additions and 9 deletions

View file

@ -25,6 +25,18 @@ schema:addMetric("num_flows")
-- ##############################################
schema = ts_utils.newSchema("iface:exported_flows", {step=1, rrd_fname="exported_flows"})
schema:addTag("ifid")
schema:addMetric("num_flows")
-- ##############################################
schema = ts_utils.newSchema("iface:dropped_flows", {step=1, rrd_fname="dropped_flows"})
schema:addTag("ifid")
schema:addMetric("num_flows")
-- ##############################################
schema = ts_utils.newSchema("iface:drops", {step=1, rrd_fname="drops"})
schema:addTag("ifid")
schema:addMetric("packets")