v1.2.0: Query cgroup memory data and fuse with /proc data for more reliable information
Summary
This release augments the existing memory reporting functionality to detect when confined in a memory
cgroup
and report the cgroup
limits, rather than the whole-system limits; if the cgroup
limits are smaller than the whole-system limits.
For more information, check out PR #50.
Acknowledgements
@mudler for the initial debugging work that lead to identifying this deficiency as the root cause of log-cache failures in containerized environments: #48
@andreas-kupries for writing the implementation and tests
@jandubois for ensuring that this PR didn't get lost in the shuffle
@klakin-pivotal for PR review