1
0
Fork 0

export all torrent metrics

This commit is contained in:
ibizaman 2024-06-10 22:08:31 -07:00 committed by Pierre Penninckx
parent 21ac10946a
commit 308db5fe6b
2 changed files with 2 additions and 1 deletions

View file

@ -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 {

View file

@ -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 = [