From d6d65b2e627e46df6bdaef4a6135e598c64038ae Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Wed, 29 Jan 2025 20:46:32 +0000 Subject: [PATCH 1/1] prometheus: set GOMAXPROCS=1 per smokeping recommendation --- cookbooks/prometheus/recipes/smokeping.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/cookbooks/prometheus/recipes/smokeping.rb b/cookbooks/prometheus/recipes/smokeping.rb index 27b0c6dd6..c626eb37c 100644 --- a/cookbooks/prometheus/recipes/smokeping.rb +++ b/cookbooks/prometheus/recipes/smokeping.rb @@ -39,6 +39,7 @@ end prometheus_exporter "smokeping" do port 9374 + environment "GOMAXPROCS" => "1" options "--config.file=/etc/prometheus/exporters/smokeping.yml" capability_bounding_set "CAP_NET_RAW" ambient_capabilities "CAP_NET_RAW" -- 2.39.5