trying to monitor syncthing

This commit is contained in:
2024-01-04 18:21:13 +01:00
parent 8c0abc16c4
commit d09a3509af
4 changed files with 38 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: syncthing-servicemonitor
labels:
app: syncthing
spec:
selector:
matchLabels:
app: syncthing
endpoints:
- port: web
path: /metrics
targetPort: syncthing-web
bearerTokenSecret:
name: syncthing-api
key: token