]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/prometheus/recipes/smokeping.rb
prometheus: set GOMAXPROCS=1 per smokeping recommendation
[chef.git] / 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"