k3s-infra/apps/media/jellyfin.servicemonitor.yaml
2023-12-24 14:09:11 +01:00

16 lines
397 B
YAML

apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: jellyfin
spec:
selector:
matchLabels:
app: jellyfin-server
endpoints:
- path: /metrics
targetPort: 8096
# this exposes metrics on port 8096 as enabled in the jellyfin config
# https://jellyfin.org/docs/general/networking/monitoring/
# the metrics are available at /metrics but blocked by the ingress