Monitoring Stack: add prometheus nextcloud exporter
This commit is contained in:
parent
451d99fb29
commit
11d4b89a9b
1 changed files with 19 additions and 0 deletions
|
@ -83,3 +83,22 @@ services:
|
||||||
options:
|
options:
|
||||||
loki-url: "http://localhost:3100/loki/api/v1/push"
|
loki-url: "http://localhost:3100/loki/api/v1/push"
|
||||||
max-size: "200m"
|
max-size: "200m"
|
||||||
|
|
||||||
|
|
||||||
|
##############################################
|
||||||
|
# Prometheus exporter for Nextcloud servers.
|
||||||
|
# GitHub: https://github.com/xperimental/nextcloud-exporter
|
||||||
|
##############################################
|
||||||
|
nextcloud-exporter:
|
||||||
|
image: ghcr.io/xperimental/nextcloud-exporter
|
||||||
|
links:
|
||||||
|
- prometheus
|
||||||
|
environment:
|
||||||
|
NEXTCLOUD_SERVER: ${NEXTCLOUD_SERVER}
|
||||||
|
NEXTCLOUD_AUTH_TOKEN: ${NEXTCLOUD_AUTH_TOKEN}
|
||||||
|
restart: unless-stopped
|
||||||
|
logging:
|
||||||
|
driver: loki
|
||||||
|
options:
|
||||||
|
loki-url: "http://localhost:3100/loki/api/v1/push"
|
||||||
|
max-size: "200m"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue