diff --git a/.changesets/cgroups-v1-cpu-percentage-normalization.md b/.changesets/cgroups-v1-cpu-percentage-normalization.md new file mode 100644 index 00000000..7c98795c --- /dev/null +++ b/.changesets/cgroups-v1-cpu-percentage-normalization.md @@ -0,0 +1,6 @@ +--- +type: "change" +bump: "minor" +--- + +**Breaking change**: Normalize CPU metrics for cgroups v1 systems. When we can detect how many CPUs are configured in the container's limits, we will normalize the CPU percentages to a maximum of 100%. This is a breaking change. Triggers for CPU percentages that are configured for a CPU percentage higher than 100% will no longer trigger after this update. Please configure triggers to a percentage with a maximum of 100% CPU percentage. diff --git a/.changesets/cgroups-v2-fractional-cpu.md b/.changesets/cgroups-v2-fractional-cpu.md new file mode 100644 index 00000000..2da4357c --- /dev/null +++ b/.changesets/cgroups-v2-fractional-cpu.md @@ -0,0 +1,7 @@ +--- +type: "change" +bump: "patch" +--- + +Support fractional CPUs for cgroups v2 metrics. Previously a CPU count of 0.5 would be interpreted as 1 CPU. Now it will be correctly seen as half a CPU and calculate CPU percentages accordingly. + diff --git a/scripts/extension/support/constants.js b/scripts/extension/support/constants.js index 07fffbdd..059c8fe6 100644 --- a/scripts/extension/support/constants.js +++ b/scripts/extension/support/constants.js @@ -3,7 +3,7 @@ // appsignal-agent repository. // Modifications to this file will be overwritten with the next agent release. -const AGENT_VERSION = "0.31.2" +const AGENT_VERSION = "0.33.0" const MIRRORS = [ "https://appsignal-agent-releases.global.ssl.fastly.net", "https://d135dj0rjqvssy.cloudfront.net" @@ -12,67 +12,67 @@ const MIRRORS = [ const TRIPLES = { "x86_64-darwin": { checksum: - "42cdf814a89e5d6bd6e5cd9ba84103df82b43418012bb4f9251e98d0c3627759", + "aa026c58c6b13e09eaede5c362472e86f25c896ce9d33e6928a967372f0894be", filename: "appsignal-x86_64-darwin-all-static.tar.gz" }, "universal-darwin": { checksum: - "42cdf814a89e5d6bd6e5cd9ba84103df82b43418012bb4f9251e98d0c3627759", + "aa026c58c6b13e09eaede5c362472e86f25c896ce9d33e6928a967372f0894be", filename: "appsignal-x86_64-darwin-all-static.tar.gz" }, "aarch64-darwin": { checksum: - "8db9e31e090e767b1157d969521967f322be9dd73eb1b677b6192eb4c987af72", + "4318b13bba02f8a98226e9d747a42267f790932a0893b451567b7611fb09961b", filename: "appsignal-aarch64-darwin-all-static.tar.gz" }, "arm64-darwin": { checksum: - "8db9e31e090e767b1157d969521967f322be9dd73eb1b677b6192eb4c987af72", + "4318b13bba02f8a98226e9d747a42267f790932a0893b451567b7611fb09961b", filename: "appsignal-aarch64-darwin-all-static.tar.gz" }, "arm-darwin": { checksum: - "8db9e31e090e767b1157d969521967f322be9dd73eb1b677b6192eb4c987af72", + "4318b13bba02f8a98226e9d747a42267f790932a0893b451567b7611fb09961b", filename: "appsignal-aarch64-darwin-all-static.tar.gz" }, "aarch64-linux": { checksum: - "72873d1c7ad2d4d744fe3dd4370fb07b4c9d8a4f4d87febb8dbe08c532eebff8", + "0eecbb8469d87a632a70c3c551e07b3c77e084c41438c9c165f6a439fe9f2b4f", filename: "appsignal-aarch64-linux-all-static.tar.gz" }, "i686-linux": { checksum: - "8779fdd2f02b034463900456b5b65a92d3a9165b87ba896b01baded96729685a", + "75780f506b51be891e85e12e8d51023b82ec8300f8fc293396beeee41f0d357b", filename: "appsignal-i686-linux-all-static.tar.gz" }, "x86-linux": { checksum: - "8779fdd2f02b034463900456b5b65a92d3a9165b87ba896b01baded96729685a", + "75780f506b51be891e85e12e8d51023b82ec8300f8fc293396beeee41f0d357b", filename: "appsignal-i686-linux-all-static.tar.gz" }, "x86_64-linux": { checksum: - "36fc29655d13e4dfe7bcbe2c798bfc16d68194610ff354d43e977f3768f31458", + "6b15d0110ed9c13b6446bebdaa19e41810f0b2cb9da37b7c1a62a4876147de47", filename: "appsignal-x86_64-linux-all-static.tar.gz" }, "x86_64-linux-musl": { checksum: - "59b6cef9797746da9d6717effc0892a2f2219767734a0e76f8b3d1578dc0d9e0", + "d4805021560de3971622a95af0dfb06b3f1c69fab3f8ae1bf3c40f1204a076fb", filename: "appsignal-x86_64-linux-musl-all-static.tar.gz" }, "aarch64-linux-musl": { checksum: - "ec3ab8fcc20d1f31df6003e2ca3dcf257abfeddd1b7912fa6189f1f6905a89ab", + "28881989d5f3d3691f9dd96b04298aa6fcd34292a2d304b251617bfbd05b214e", filename: "appsignal-aarch64-linux-musl-all-static.tar.gz" }, "x86_64-freebsd": { checksum: - "bd654d5c555f6006e4145d76e27f02c5d22b285f411675a520455d6db6c8e165", + "490f61a8b36e31dc21fd9e96975b75428f7d83f0842bb29a02c36f9f3745b07e", filename: "appsignal-x86_64-freebsd-all-static.tar.gz" }, "amd64-freebsd": { checksum: - "bd654d5c555f6006e4145d76e27f02c5d22b285f411675a520455d6db6c8e165", + "490f61a8b36e31dc21fd9e96975b75428f7d83f0842bb29a02c36f9f3745b07e", filename: "appsignal-x86_64-freebsd-all-static.tar.gz" } }