add phpfpm exporter

This commit is contained in:
camille committed 2021-10-05 16:52:47 +02:00
1 parent 7677eb47b7
commit bca9798942
8 files changed
+100 -23

No files matched your search

@@ -0,0 +1,2 @@
#!/bin/bash
/usr/local/bin/prometheus-phpfpm-exporter $(ls -1 {{ prometheus_phpfpm_sockets_directory }} | awk '{print "--phpfpm.socket-paths {{ prometheus_phpfpm_sockets_directory }}" $1}' |head -c -1)