lib/stats: add history graphs for counters in debug browser.
- Use counters to record all sys stats.
- Show history graphs in counter's stat page.
+ Collect data from counter's three time series (1m, 10m, 1h).
- Minor improvements/fix:
+ Show stat name in all stat pages.
+ Add pretty print for TimeSeries data type.
+ Use the tail time (instead of the head time) for the start time of a time series.
It looks like this:
8 files changed