]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/php/resources/fpm.rb
Enable some addition postgres collectors
[chef.git] / cookbooks / php / resources / fpm.rb
index 3ac51d0b7986b4aa2c7425219501b79cfdd0d48a..13c973580e6fa4ca5e618eeef838df65141c5f5c 100644 (file)
@@ -58,6 +58,7 @@ action :create do
       group "www-data"
       command "server"
       options "--phpfpm.scrape-uri=#{scrape_uri} --phpfpm.fix-process-count"
       group "www-data"
       command "server"
       options "--phpfpm.scrape-uri=#{scrape_uri} --phpfpm.fix-process-count"
+      labels "pool" => new_resource.pool
     end
   else
     prometheus_exporter "phpfpm" do
     end
   else
     prometheus_exporter "phpfpm" do