add prometheus exporter for groupfolder metrics
This commit is contained in:
parent
60cdcab011
commit
edfa0b07ff
5 changed files with 104 additions and 0 deletions
18
files/nextcloud-prometheus-exporter.service
Normal file
18
files/nextcloud-prometheus-exporter.service
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
[Unit]
|
||||
Description=nextcloud prometheus exporter
|
||||
After=mariadb.service
|
||||
Requires=mariadb.service
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/python3 /usr/local/bin/nextcloud-prometheus-exporter.py
|
||||
Environment=PYTHONUNBUFFERED=1
|
||||
Restart=always
|
||||
|
||||
User=www-data
|
||||
Group=www-data
|
||||
|
||||
NoNewPrivileges=True
|
||||
#ProtectSystem=strict
|
||||
Loading…
Add table
Add a link
Reference in a new issue