Commit Graph

3 Commits

Author SHA1 Message Date
James E. Blair 922a6b53ed Make executor sensors slightly more efficient
Rather than checking all of the sensors to see if they are okay,
then collecting all the data again for stats purposes, do both
at the same time.

Change-Id: Ia974a7d013057880171fd1695a1d17169d093410
2024-02-19 09:04:41 -08:00
Tobias Henkel 145e62b568
Add cgroup support to ram sensor
When running within k8s the system memory statistics are useless as
soon there are configured limits (which is strongly advised). In this
case we additionally need to check the cgroups.

Change-Id: Idebe5d7e60dc862e89d012594ab362a19f18708d
2018-12-18 22:25:27 +01:00
Tobias Henkel 3a1e0e6195
Refactor load sensors into drivers
The executor governor can be made much simpler and generic when
abstracting the actual data gathering into sensors.

Change-Id: Ieb41eef1991c04c58bfb41c39ea0d1010ef3e330
2018-06-08 07:32:51 +02:00