export all torrent metrics
This commit is contained in:
parent
21ac10946a
commit
308db5fe6b
2 changed files with 2 additions and 1 deletions
|
@ -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 {
|
||||
|
|
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue