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: capabilities:
add: add:
- NET_ADMIN - NET_ADMIN
metrics: metrics:
image: caseyscarborough/qbittorrent-exporter:latest image: caseyscarborough/qbittorrent-exporter:latest
ports: ports:
@ -51,7 +51,7 @@ spec:
service: service:
main: main:
labels: labels:
app: prowlarr-service app: qbittorrent-service
ports: ports:
http: http:

View File

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

View File

@ -1,14 +1,14 @@
apiVersion: monitoring.coreos.com/v1 apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor kind: ServiceMonitor
metadata: metadata:
name: prowlarr-exportarr name: qbittorrent-monitor
namespace: download namespace: download
labels: labels:
release: kube-prometheus-stack release: kube-prometheus-stack
spec: spec:
selector: selector:
matchLabels: matchLabels:
app: prowlarr-service app: qbittorrent-service
endpoints: endpoints:
- port: metrics - port: metrics
interval: 3m interval: 3m