trying to monitor syncthing
This commit is contained in:
17
apps/syncthing/servicemonitor.yaml
Normal file
17
apps/syncthing/servicemonitor.yaml
Normal 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
|
Reference in New Issue
Block a user