From 308db5fe6b14171cc158911ede7f1466e53005ea Mon Sep 17 00:00:00 2001 From: ibizaman Date: Mon, 10 Jun 2024 22:08:31 -0700 Subject: [PATCH] export all torrent metrics --- flake.nix | 2 +- modules/services/deluge.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index c8dd403..a1e6d9e 100644 --- a/flake.nix +++ b/flake.nix @@ -22,7 +22,7 @@ }) (originPkgs.fetchpatch { url = "https://github.com/NixOS/nixpkgs/pull/317107.patch"; - hash = "sha256-6SfqnPLPxJHckXNU03HA0X03u9Ynn3baQ2HHMq5FkIc="; + hash = "sha256-hoLrqV7XtR1hP/m0rV9hjYUBtrSjay0qcPUYlKKuVWk="; }) ]; patchedNixpkgs = originPkgs.applyPatches { diff --git a/modules/services/deluge.nix b/modules/services/deluge.nix index 817bac4..e0d3832 100644 --- a/modules/services/deluge.nix +++ b/modules/services/deluge.nix @@ -336,6 +336,7 @@ in delugePort = config.services.deluge.config.daemon_port; delugeUser = "prometheus_scraper"; delugePasswordFile = config.shb.deluge.prometheusScraperPasswordFile; + exportPerTorrentMetrics = true; }; services.prometheus.scrapeConfigs = [