Fixed init with metrics on

This commit is contained in:
Merlin Jehli committed 2025-04-28 00:08:38 +02:00 Unverified
1 parent 0fcf1d2206
commit 54ccfcb5b3
3 files changed
+47 -14

No files matched your search

+1 -7
View File
@@ -195,14 +195,8 @@ persistence:
# -- Configuration for metrics collection and monitoring
metrics:
# -- Enable or disable metrics collection - Ensure you have started and configured your Jellyfin instance first as this will fail if system.xml does not exist yet.
# -- Enable or disable metrics collection
enabled: false
command:
- bash
- '-c'
- >-
sed 's,<EnableMetrics>false</EnableMetrics>,<EnableMetrics>true</EnableMetrics>,' -i /config/config/system.xml &&
/jellyfin/jellyfin
# -- Configuration for the Prometheus ServiceMonitor
serviceMonitor:
# -- Enable or disable the creation of a ServiceMonitor resource