add prometheus monitoring

This commit is contained in:
2023-12-24 13:44:22 +01:00
parent 1cd4df8b8f
commit 4cf26679c6
5 changed files with 20 additions and 5 deletions

View File

@@ -0,0 +1,14 @@
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: jellyfin
spec:
selector:
matchLabels:
app: jellyfin-server
endpoints:
- port: 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