Closed florianl closed 6 months ago
sorry - but making linter happy seems to be impossible ...
@cmacknz should we just force merge this one?
If the linter is the only problem we can force merge this, at least for me the linter is not even a blocking step (the squash and merge button is available) so there is no force merge required.
What does this PR do?
Reintroduce the improvements from https://github.com/elastic/elastic-agent-system-metrics/pull/103. This PR got reverted with https://github.com/elastic/elastic-agent-system-metrics/pull/113 because of https://github.com/elastic/elastic-agent-system-metrics/issues/109. The issue, that got reported in https://github.com/elastic/elastic-agent-system-metrics/issues/109, was fixed with https://github.com/elastic/elastic-agent-system-metrics/pull/116.
So its time to bring back the performance improvements by reintroducing the cache for cgroup v2.
Why is it important?
Checklist
I have added tests that prove my fix is effective or that my feature worksI have added an entry inCHANGELOG.md