add monitor for qbit
This commit is contained in:
parent
d10288e8b9
commit
c2d8edc134
|
@ -35,7 +35,7 @@ spec:
|
|||
capabilities:
|
||||
add:
|
||||
- NET_ADMIN
|
||||
|
||||
|
||||
metrics:
|
||||
image: caseyscarborough/qbittorrent-exporter:latest
|
||||
ports:
|
||||
|
@ -51,7 +51,7 @@ spec:
|
|||
service:
|
||||
main:
|
||||
labels:
|
||||
app: prowlarr-service
|
||||
app: qbittorrent-service
|
||||
|
||||
ports:
|
||||
http:
|
||||
|
|
|
@ -2,4 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||
kind: Kustomization
|
||||
resources:
|
||||
- ./helm-release.yaml
|
||||
- ./prowlarr-exportarr-metrics.yaml
|
||||
- ./qbittorrent-metrics.yaml
|
|
@ -1,14 +1,14 @@
|
|||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: ServiceMonitor
|
||||
metadata:
|
||||
name: prowlarr-exportarr
|
||||
name: qbittorrent-monitor
|
||||
namespace: download
|
||||
labels:
|
||||
release: kube-prometheus-stack
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: prowlarr-service
|
||||
app: qbittorrent-service
|
||||
endpoints:
|
||||
- port: metrics
|
||||
interval: 3m
|
Loading…
Reference in New Issue