Add Promehteus Exporter
This commit is contained in:
parent
146716ad9c
commit
872179cbcd
6 changed files with 53 additions and 9 deletions
13
templates/systemd/phpfpm_exporter.service.j2
Normal file
13
templates/systemd/phpfpm_exporter.service.j2
Normal file
|
@ -0,0 +1,13 @@
|
|||
# Ansible managed
|
||||
|
||||
[Unit]
|
||||
Description = PHP-FPM Prometheus Exporter
|
||||
|
||||
[Service]
|
||||
SyslogIdentifier = phpfpm_exporter
|
||||
|
||||
ExecStart =/usr/local/bin/phpfpm_exporter --phpfpm.socket-directories={{ phpfpm_exporter_socket_directories }} --web.listen-address="{{ phpfpm_exporter_listen_address }}"
|
||||
|
||||
|
||||
[Install]
|
||||
WantedBy = multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue