Add meminfo swap metrics.
The current metrics don't show how much swap we're using at a given
time. We only have indirect measures (page faults rate for instance).
We also need to add one type of histogram scale, since compressed swap
can exceed total RAM, and all current histograms are on a scale from
zero to total RAM.
TEST=stared at the code really hard and compiled it
Reviewed-by: Sonny Rao <email@example.com>
Commit-Queue: Luigi Semenzato <firstname.lastname@example.org>
Tested-by: Luigi Semenzato <email@example.com>
2 files changed