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 <firstname.lastname@example.org>
Commit-Queue: Luigi Semenzato <email@example.com>
Tested-by: Luigi Semenzato <firstname.lastname@example.org>
2 files changed