add monitor for qbit

This commit is contained in:
SeanOMik 2023-05-11 15:38:21 -04:00
parent d10288e8b9
commit c2d8edc134
3 changed files with 5 additions and 5 deletions

View File

@ -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:

View File

@ -2,4 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./helm-release.yaml
- ./prowlarr-exportarr-metrics.yaml
- ./qbittorrent-metrics.yaml

View File

@ -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