update some scraping config

This commit is contained in:
Remy Moll 2023-12-31 18:26:45 +01:00
parent d5aab95186
commit a437c4228e
4 changed files with 7 additions and 13 deletions

View File

@ -21,14 +21,5 @@ spec:
size: 1Gi
storageClass: nfs-client
---
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: postgres-exporter
spec:
selector:
matchLabels:
"cnpg.io/cluster": immich-postgres
podMetricsEndpoints:
- port: metrics
monitoring:
enablePodMonitor: true

View File

@ -7,10 +7,10 @@ metadata:
spec:
selector:
matchLabels:
app: jellyfin-server
app: jellyfin-server-service
endpoints:
- path: /metrics
targetPort: "8096"
targetPort: jellyfin
# this exposes metrics on port 8096 as enabled in the jellyfin config
# https://jellyfin.org/docs/general/networking/monitoring/

View File

@ -20,6 +20,7 @@ spec:
cpu: "2"
ports:
- containerPort: 8096
name: jellyfin
env:
- name: TZ
value: Europe/Berlin

View File

@ -3,6 +3,8 @@ apiVersion: v1
kind: Service
metadata:
name: jellyfin-server
labels:
app: jellyfin-server-service
spec:
selector:
app: jellyfin-server