Update dependency muontrap to v2 - #157
Closed
renovate[bot] wants to merge 1 commit into
Closed
Conversation
Contributor
Author
|
Contributor
Author
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
~> 1.8→~> 2.0Release Notes
fhunleth/muontrap (muontrap)
v2.0.0Compare Source
This release adds support for cgroup v2. This replaces cgroup v1 support, which
lacks functionality and is becoming less widely supported. While Nerves is the
current development platform for cgroup support, using cgroups on desktop Linux
works but may not be ergonomic. PRs in this area are welcome.
If you don't use cgroups, this update is not breaking for you. Library authors
are encouraged to allow both MuonTrap v1 and v2 if your library falls into this
category.
Breaking changes
:cgroup_controllersand:cgroup_setsoptions replaced by a single:cgroupconfiguration mapMuonTrap.Daemon.cgget/cgsetAPI changed for v2. They've beende-emphasized for configuration due to their low-level nature
New features
:cgroupconfiguration option as a more Elixir-friendlyconfiguration method
MuonTrap.Daemon.cgroup_config/1returns the daemon's writable cgroupsettings as a map keyed by the same atoms accepted by the
:cgroupoption, suitable for round-tripping into another daemon.
MuonTrap.Daemon.statistics/1now also returns cgroup statistics as a mapunder the
:cgroupkey. Map keys are strings that match cgroup file namesexposed by the kernel (memory usage and peak, CPU and memory PSI,
OOM-kill counts,
pids.current, etc.).MuonTrap.Daemon.cgroup_path/1returns the daemon's cgroup path (ornilif the daemon isn't running under a cgroup).cgroup.kill(kernel 5.14+) for atomic cgroup teardownwhen available, falling back to per-pid SIGKILL on older kernels.
The new configuration gives a feel for how the API has changed to reduce
manual string-based interactions:
:epipefailures for commands that produce output. (Thanks @dcalvo!)releases and macOS versions. Previously CI only verified Alpine Linux.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.