]> git.openstreetmap.org Git - chef.git/commitdiff
Add --phpfpm.fix-process-count to phpfpm exporter
authorTom Hughes <tom@compton.nu>
Thu, 8 Dec 2022 10:25:53 +0000 (10:25 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 8 Dec 2022 10:25:53 +0000 (10:25 +0000)
cookbooks/php/resources/fpm.rb

index b63a0c814a2de01e85891fb33bd1019d6670d7a9..3ac51d0b7986b4aa2c7425219501b79cfdd0d48a 100644 (file)
@@ -57,7 +57,7 @@ action :create do
       service service_name
       group "www-data"
       command "server"
-      options "--phpfpm.scrape-uri=#{scrape_uri}"
+      options "--phpfpm.scrape-uri=#{scrape_uri} --phpfpm.fix-process-count"
     end
   else
     prometheus_exporter "phpfpm" do