]> git.openstreetmap.org Git - chef.git/commitdiff
prometheus: set GOMAXPROCS=1 per smokeping recommendation
authorGrant Slater <github@firefishy.com>
Wed, 29 Jan 2025 20:46:32 +0000 (20:46 +0000)
committerGrant Slater <github@firefishy.com>
Wed, 29 Jan 2025 20:46:32 +0000 (20:46 +0000)
cookbooks/prometheus/recipes/smokeping.rb

index 27b0c6dd66f5b1cc191af7ad4996926ff47d1bc1..c626eb37cf91e04cf4b6061181d2c101c7ca7097 100644 (file)
@@ -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"