From c2d8edc134aa7b4dc12324081d4c4d9da5765f44 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Thu, 11 May 2023 15:38:21 -0400 Subject: [PATCH] add monitor for qbit --- cluster/apps/download/qbittorrent/helm-release.yaml | 4 ++-- cluster/apps/download/qbittorrent/kustomization.yaml | 2 +- ...owlarr-exportarr-metrics.yaml => qbittorrent-metrics.yaml} | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) rename cluster/apps/download/qbittorrent/{prowlarr-exportarr-metrics.yaml => qbittorrent-metrics.yaml} (75%) diff --git a/cluster/apps/download/qbittorrent/helm-release.yaml b/cluster/apps/download/qbittorrent/helm-release.yaml index 62a3443..c091443 100644 --- a/cluster/apps/download/qbittorrent/helm-release.yaml +++ b/cluster/apps/download/qbittorrent/helm-release.yaml @@ -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: diff --git a/cluster/apps/download/qbittorrent/kustomization.yaml b/cluster/apps/download/qbittorrent/kustomization.yaml index 6bf3667..e3e9395 100644 --- a/cluster/apps/download/qbittorrent/kustomization.yaml +++ b/cluster/apps/download/qbittorrent/kustomization.yaml @@ -2,4 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - ./helm-release.yaml -- ./prowlarr-exportarr-metrics.yaml \ No newline at end of file +- ./qbittorrent-metrics.yaml \ No newline at end of file diff --git a/cluster/apps/download/qbittorrent/prowlarr-exportarr-metrics.yaml b/cluster/apps/download/qbittorrent/qbittorrent-metrics.yaml similarity index 75% rename from cluster/apps/download/qbittorrent/prowlarr-exportarr-metrics.yaml rename to cluster/apps/download/qbittorrent/qbittorrent-metrics.yaml index 689d5e9..b720891 100644 --- a/cluster/apps/download/qbittorrent/prowlarr-exportarr-metrics.yaml +++ b/cluster/apps/download/qbittorrent/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