add php exporter

This commit is contained in:
2021-10-08 10:23:56 +02:00
parent bca9798942
commit f02c1270fe
6 changed files with 97 additions and 22 deletions

View File

@ -0,0 +1,10 @@
[Unit]
Description=Prometheus Apache Exporter
After=network.target
[Service]
Type=simple
ExecStart=/usr/local/bin/prometheus-apache-exporter --scrape_uri="http://localhost:{{ prometheus_apache_port }}/server-status/?auto"
[Install]
WantedBy=multi-user.target