feat: add metrics and dashboards
All checks were successful
lint-test-helm / lint-helm (pull_request) Successful in 52s
lint-test-helm / validate-kubeconform (pull_request) Successful in 59s
render-manifests / render-manifests (pull_request) Successful in 1m24s

This commit is contained in:
2026-04-09 19:17:41 -05:00
parent f0e744c0d6
commit 4f135db382
9 changed files with 236 additions and 0 deletions

View File

@@ -28,6 +28,25 @@ bazarr:
requests:
cpu: 1m
memory: 250Mi
metrics:
image:
repository: ghcr.io/onedr0p/exportarr
tag: v2.3.0@sha256:af535d94061cf97a52e1661945ffba78c03f9443eae7c0da1a80a5a4be56b520
args: ["bazarr"]
env:
- name: URL
value: http://localhost
- name: PORT
value: 9792
- name: APIKEY
valueFrom:
secretKeyRef:
name: bazarr-key-secret
key: key
- name: ENABLE_ADDITIONAL_METRICS
value: false
- name: ENABLE_UNKNOWN_QUEUE_ITEMS
value: false
service:
main:
controller: main
@@ -35,6 +54,21 @@ bazarr:
http:
port: 80
targetPort: 6767
metrics:
port: 9792
targetPort: 9792
serviceMonitor:
main:
selector:
matchLabels:
app.kubernetes.io/name: bazarr
app.kubernetes.io/instance: bazarr
serviceName: '{{ include "bjw-s.common.lib.chart.names.fullname" $ }}'
endpoints:
- port: metrics
interval: 3m
scrapeTimeout: 1m
path: /metrics
route:
main:
kind: HTTPRoute