Implements per-AS nw latency stats rrds

This commit is contained in:
Simone Mainardi 2018-02-05 18:32:13 +01:00
parent f37b071d72
commit 3ef543fecd
12 changed files with 63 additions and 22 deletions

View file

@ -122,6 +122,9 @@ function rrd_dump.asn_update_rrds(when, ifstats, verbose)
tolongint(proto_stats["bytes.sent"]), tolongint(proto_stats["bytes.rcvd"]))
end
end
-- Save ASN latency stats
rrd_utils.makeRRD(asnpath, when, ifstats.id, "asn:"..asn, "num_ms_srv_nw_ltn", 300, asn_stats["server_network_latency"])
end
end