From 54d072dcd08b591edf8f77d60806e488764288c1 Mon Sep 17 00:00:00 2001 From: ibizaman Date: Sun, 16 Jul 2023 23:36:54 -0700 Subject: [PATCH] add scraper for jellyfin --- modules/jellyfin.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/jellyfin.nix b/modules/jellyfin.nix index 0f5ad2b..6d60653 100644 --- a/modules/jellyfin.nix +++ b/modules/jellyfin.nix @@ -153,6 +153,15 @@ in ]; }; + services.prometheus.scrapeConfigs = [{ + job_name = "jellyfin"; + static_configs = [ + { + targets = ["127.0.0.1:8096"]; + } + ]; + }]; + systemd.services.jellyfin.serviceConfig = { # Setup permissions needed for backups, as the backup user is member of the jellyfin group. UMask = lib.mkForce "0027";