luci-app-statistics: add graphs for sqm-collect
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Wed, 15 Apr 2020 09:35:59 +0000 (10:35 +0100)
committerKevin Darbyshire-Bryant <6500011+ldir-EDB0@users.noreply.github.com>
Tue, 5 May 2020 11:02:01 +0000 (12:02 +0100)
commit9c4f3454d23dc8edd81d9ad7462a2e51d7ca3c3f
tree49e84724d43c2cfbc9ba91924ca9443e19ec9d04
parent4259b5ee1f324e47ac7b5699456aa99d73bd9965
luci-app-statistics: add graphs for sqm-collect

Add graphs for sqm data collected by 'sqm_collect.sh'

An overall sqm graph displays bandwidth (Kb/s), Backlog (Bytes) and
drops for each supported qdisc.

Sqm-cake supports cake's tin structure and displays many(!) graphs per
tin:

Bandwidth: Bandwidth (Kb/s), bandwidth threshold (Kb/s).
Latency: Target latency, Peak, Average, Sparse flow latency
Backlog v Drops: Backlog (Bytes), Drops, ECN marks, Ack-filter drops
Flow counts: Sparse flows, Bulk flows, Unresponsive flows

Fun for all the family :-)

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool/definitions/sqm.js [new file with mode: 0644]
applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool/definitions/sqmcake.js [new file with mode: 0644]
applications/luci-app-statistics/root/etc/config/luci_statistics