From: Grant Slater Date: Wed, 29 Jan 2025 20:46:32 +0000 (+0000) Subject: prometheus: set GOMAXPROCS=1 per smokeping recommendation X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/d6d65b2e627e46df6bdaef4a6135e598c64038ae prometheus: set GOMAXPROCS=1 per smokeping recommendation --- 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"