From 89db29fe35731d4b014f8efbf4a8151530132853 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luismi=20Ram=C3=ADrez?= Date: Tue, 21 Nov 2023 13:06:26 +0100 Subject: [PATCH] Bump agent to eec7f7b (#962) Normalize cgroups v2 CPU stats. --- .changesets/bump-agent-to-eec7f7b.md | 10 +++++++++ scripts/extension/support/constants.js | 28 +++++++++++++------------- 2 files changed, 24 insertions(+), 14 deletions(-) create mode 100644 .changesets/bump-agent-to-eec7f7b.md diff --git a/.changesets/bump-agent-to-eec7f7b.md b/.changesets/bump-agent-to-eec7f7b.md new file mode 100644 index 00000000..9eda5734 --- /dev/null +++ b/.changesets/bump-agent-to-eec7f7b.md @@ -0,0 +1,10 @@ +--- +bump: "patch" +type: "change" +--- + +Bump agent to eec7f7b + +Updated the probes dependency to 0.5.2. CPU usage is now normalized to the number of CPUs available to the container. This means that a container with 2 CPUs will have its CPU usage reported as 50% when using 1 CPU instead of 100%. This is a breaking change for anyone using the cpu probe. + +If you have CPU triggers set up based on the old behaviour, you might need to update those to these new normalized values to get the same behaviour. Note that this is needed only if the AppSignal integration package you're using includes this change. diff --git a/scripts/extension/support/constants.js b/scripts/extension/support/constants.js index 0deddb02..06851c64 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 = "1dd2a18" +const AGENT_VERSION = "eec7f7b" 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: - "86b4362f8d9a671c91cd8b2996aa61e9b9b0938010594039084efbead7b1adc4", + "69da25f14fbfddffb83214355cda86955024f9f59ef6ac06faf223a475bdbbf7", filename: "appsignal-x86_64-darwin-all-static.tar.gz" }, "universal-darwin": { checksum: - "86b4362f8d9a671c91cd8b2996aa61e9b9b0938010594039084efbead7b1adc4", + "69da25f14fbfddffb83214355cda86955024f9f59ef6ac06faf223a475bdbbf7", filename: "appsignal-x86_64-darwin-all-static.tar.gz" }, "aarch64-darwin": { checksum: - "b3543d971d1a8958635dbc188cbdc26d3cb2bcf5aace9eccca539ea3396084c0", + "281e2daefeb513ea3c8af7cc58397753559606643ad2091bd5c5ba6b9a2a1aca", filename: "appsignal-aarch64-darwin-all-static.tar.gz" }, "arm64-darwin": { checksum: - "b3543d971d1a8958635dbc188cbdc26d3cb2bcf5aace9eccca539ea3396084c0", + "281e2daefeb513ea3c8af7cc58397753559606643ad2091bd5c5ba6b9a2a1aca", filename: "appsignal-aarch64-darwin-all-static.tar.gz" }, "arm-darwin": { checksum: - "b3543d971d1a8958635dbc188cbdc26d3cb2bcf5aace9eccca539ea3396084c0", + "281e2daefeb513ea3c8af7cc58397753559606643ad2091bd5c5ba6b9a2a1aca", filename: "appsignal-aarch64-darwin-all-static.tar.gz" }, "aarch64-linux": { checksum: - "095d8158d821952b323d6c4daf90dde0d26a1282fb2fd5f9f258bc6cba7b0f68", + "985ef69698d9cf44c4965f971043be9f65fa4ac825f30e7feca8a9fff210d65a", filename: "appsignal-aarch64-linux-all-static.tar.gz" }, "i686-linux": { checksum: - "429587080a69e5db4b01dd666113c280d70bd7bd66bd63c5b93deda497b7bd0e", + "4d5c3b4cdbcdd11cf78a3c62a57fef05ad1c62dd136289afcd184897af3ab1c5", filename: "appsignal-i686-linux-all-static.tar.gz" }, "x86-linux": { checksum: - "429587080a69e5db4b01dd666113c280d70bd7bd66bd63c5b93deda497b7bd0e", + "4d5c3b4cdbcdd11cf78a3c62a57fef05ad1c62dd136289afcd184897af3ab1c5", filename: "appsignal-i686-linux-all-static.tar.gz" }, "x86_64-linux": { checksum: - "484b7d9e10798700e63ffa9b96fd43f8f244b1da18f32eb0d0fd9999a8e37351", + "5db0bb195c4c5ff72352094d038ebfc75e0153b6fa54f285f6b0908bad20fea0", filename: "appsignal-x86_64-linux-all-static.tar.gz" }, "x86_64-linux-musl": { checksum: - "9e64cdf5d43e6ddeee70d82c60418e02a42c01b2b0a6abc64efe19f40fa4b7e7", + "625fa055ae4944a4afe648a7a2e71e87a82384e96f93e56254b455b2ab049612", filename: "appsignal-x86_64-linux-musl-all-static.tar.gz" }, "aarch64-linux-musl": { checksum: - "1f915b9b40421e0fa5cc7773f0970345b2afa807d578a5dc3f0167340c3ac30f", + "82ef1d0a98f6dfa81568dff539eb932973af5baaa6c737c4017faebf1aedf45e", filename: "appsignal-aarch64-linux-musl-all-static.tar.gz" }, "x86_64-freebsd": { checksum: - "39fd2d83a2ec1a16e6e441cb4a846bd82b7087be707c9ca86570499e77e09179", + "8fc180e5b3f77df90e4d1498d729e1fa2e8fa713689e92173d98ab69f4332557", filename: "appsignal-x86_64-freebsd-all-static.tar.gz" }, "amd64-freebsd": { checksum: - "39fd2d83a2ec1a16e6e441cb4a846bd82b7087be707c9ca86570499e77e09179", + "8fc180e5b3f77df90e4d1498d729e1fa2e8fa713689e92173d98ab69f4332557", filename: "appsignal-x86_64-freebsd-all-static.tar.gz" } }