From 6a682165d6b3cb51e4c72e5576e985ce07f1ac36 Mon Sep 17 00:00:00 2001 From: Coutellier Antoine Date: Fri, 16 May 2025 11:31:22 +0200 Subject: [PATCH 1/2] feat: add new memory management env var for the agent --- .../docs/private-locations/checkly-agent-configuration.md | 1 + 1 file changed, 1 insertion(+) diff --git a/site/content/docs/private-locations/checkly-agent-configuration.md b/site/content/docs/private-locations/checkly-agent-configuration.md index 9f872df6f..fbfca07b2 100644 --- a/site/content/docs/private-locations/checkly-agent-configuration.md +++ b/site/content/docs/private-locations/checkly-agent-configuration.md @@ -23,6 +23,7 @@ Variable|Description `JOB_CONCURRENCY`|(Default: 1, max: 10) Number of concurrent checks that are run by the agent. `LOG_LEVEL`|(Default: `INFO`) Set the log level of the agent. Can be one of `DEBUG`, `LOG`, `INFO`, `WARN` or `ERROR`. `USE_OS_DNS_RESOLVER`|When set to true, TCP checks will resolve DNS using `getaddrinfo` C function, instead of using the network. This enables easier DNS resolution for internal services e.g. services running in the same Kubernetes cluster. +`DISABLE_MEMORY_MANAGEMENT`|When enabled (set to true), this option turns off Checkly's built-in memory monitoring that detects out-of-memory errors. As a result, check runs won't be canceled, and no memory-related check result will be generated. For example, you can add these variables to the standard docker run command like this: From d6da95f39daf8720ff192a231011d60b03078537 Mon Sep 17 00:00:00 2001 From: Coutellier Antoine Date: Thu, 22 May 2025 09:38:33 +0200 Subject: [PATCH 2/2] fix: env vars --- .../docs/private-locations/checkly-agent-configuration.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/site/content/docs/private-locations/checkly-agent-configuration.md b/site/content/docs/private-locations/checkly-agent-configuration.md index fbfca07b2..be6605f6e 100644 --- a/site/content/docs/private-locations/checkly-agent-configuration.md +++ b/site/content/docs/private-locations/checkly-agent-configuration.md @@ -23,7 +23,8 @@ Variable|Description `JOB_CONCURRENCY`|(Default: 1, max: 10) Number of concurrent checks that are run by the agent. `LOG_LEVEL`|(Default: `INFO`) Set the log level of the agent. Can be one of `DEBUG`, `LOG`, `INFO`, `WARN` or `ERROR`. `USE_OS_DNS_RESOLVER`|When set to true, TCP checks will resolve DNS using `getaddrinfo` C function, instead of using the network. This enables easier DNS resolution for internal services e.g. services running in the same Kubernetes cluster. -`DISABLE_MEMORY_MANAGEMENT`|When enabled (set to true), this option turns off Checkly's built-in memory monitoring that detects out-of-memory errors. As a result, check runs won't be canceled, and no memory-related check result will be generated. +`ENABLE_MEMORY_MANAGEMENT`|(Default: false) When enabled (set to true), this option turns on Checkly's built-in memory monitoring that detects out-of-memory errors. As a result, check runs will be canceled, and a memory-related check result will be generated. +`MEMORY_LIMIT_BYTES`|(Default: 95% ot total memory available) Sets the memory threshold in bytes for detecting out-of-memory condition. For example, you can add these variables to the standard docker run command like this: