65 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			65 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
apiVersion: monitoring.coreos.com/v1
 | 
						|
kind: ServiceMonitor
 | 
						|
metadata:
 | 
						|
  name: qbittorrent
 | 
						|
  namespace: {{ .Release.Namespace }}
 | 
						|
  labels:
 | 
						|
    app.kubernetes.io/name: qbittorrent
 | 
						|
    app.kubernetes.io/instance: {{ .Release.Name }}
 | 
						|
    app.kubernetes.io/part-of: {{ .Release.Name }}
 | 
						|
spec:
 | 
						|
  endpoints:
 | 
						|
    - port: metrics
 | 
						|
      interval: 30s
 | 
						|
      scrapeTimeout: 15s
 | 
						|
      path: /metrics
 | 
						|
  selector:
 | 
						|
    matchLabels:
 | 
						|
      app.kubernetes.io/service: qbittorrent
 | 
						|
      app.kubernetes.io/name: {{ .Release.Name }}
 | 
						|
      app.kubernetes.io/instance: {{ .Release.Name }}
 | 
						|
 | 
						|
---
 | 
						|
apiVersion: monitoring.coreos.com/v1
 | 
						|
kind: ServiceMonitor
 | 
						|
metadata:
 | 
						|
  name: qbittorrent-apprise
 | 
						|
  namespace: {{ .Release.Namespace }}
 | 
						|
  labels:
 | 
						|
    app.kubernetes.io/name: qbittorrent-apprise
 | 
						|
    app.kubernetes.io/instance: {{ .Release.Name }}
 | 
						|
    app.kubernetes.io/part-of: {{ .Release.Name }}
 | 
						|
spec:
 | 
						|
  endpoints:
 | 
						|
    - port: apprise
 | 
						|
      interval: 30s
 | 
						|
      scrapeTimeout: 15s
 | 
						|
      path: /metrics
 | 
						|
  selector:
 | 
						|
    matchLabels:
 | 
						|
      app.kubernetes.io/service: qbittorrent-qbit-manage
 | 
						|
      app.kubernetes.io/name: {{ .Release.Name }}
 | 
						|
      app.kubernetes.io/instance: {{ .Release.Name }}
 | 
						|
 | 
						|
---
 | 
						|
apiVersion: monitoring.coreos.com/v1
 | 
						|
kind: ServiceMonitor
 | 
						|
metadata:
 | 
						|
  name: qbittorrent-qui
 | 
						|
  namespace: {{ .Release.Namespace }}
 | 
						|
  labels:
 | 
						|
    app.kubernetes.io/name: qbittorrent-qui
 | 
						|
    app.kubernetes.io/instance: {{ .Release.Name }}
 | 
						|
    app.kubernetes.io/part-of: {{ .Release.Name }}
 | 
						|
spec:
 | 
						|
  endpoints:
 | 
						|
    - port: metrics
 | 
						|
      interval: 30s
 | 
						|
      scrapeTimeout: 15s
 | 
						|
      path: /metrics
 | 
						|
  selector:
 | 
						|
    matchLabels:
 | 
						|
      app.kubernetes.io/service: qbittorrent-qui
 | 
						|
      app.kubernetes.io/name: {{ .Release.Name }}
 | 
						|
      app.kubernetes.io/instance: {{ .Release.Name }}
 |