feat(swapusage): add swapusage beacon (complements memusage beacon) - #59460
Conversation
862a4b8 to
ad364e2
Compare
There was a problem hiding this comment.
We did discuss this in the open hour, but there is not a SEP currently to actually change this. I'll bring it up again to see which release we want to start implementing this and when we can get a SEP prepped. For now you can keep it at 3003 and we can change later if needed.
3e73c49 to
6f4e290
Compare
There was a problem hiding this comment.
Since this is a new test module would you mind migrating it to pytest? tests/pytests/unit/beacons
There was a problem hiding this comment.
@Ch3LL Done. Since this was based on memusage, I've migrated that to pytest as well. If there are any changes that need to be made, I'll apply them to both test files.
9199d05 to
e1852f3
Compare
|
Actually, won't If so, https://docs.saltproject.io/en/master/topics/releases/version_numbers.html should also be updated for |
There was a problem hiding this comment.
We did discuss this in the open hour, but there is not a SEP currently to actually change this. I'll bring it up again to see which release we want to start implementing this and when we can get a SEP prepped. For now you can keep it at 3003 and we can change later if needed.
There was a problem hiding this comment.
We try to avoid module level variables in tests now since this has caused hard to find issues in the test suite if they clash with other testing modules.
There was a problem hiding this comment.
There was a problem hiding this comment.
e1852f3 to
6f695b6
Compare
What does this PR do?
Adds a
swapusagebeacon to use alongside the existingmemusagebeacon.What issues does this PR fix or reference?
N/A.
Merge requirements satisfied?
Implementation, docs and tests based on the
memusagebeacon (with obvious changes made).Commits signed with GPG?
Yes