Merge pull request #328148 from NukaDuka/prometheus-pve-exporter

prometheus-pve-exporter: 3.2.4 -> 3.4.3
This commit is contained in:
2024-07-26 20:21:21 +02:00
committed by GitHub
2 changed files with 11 additions and 3 deletions
@@ -114,6 +114,13 @@ in
Collect PVE onboot status
'';
};
replication = mkOption {
type = types.bool;
default = true;
description = ''
Collect PVE replication info
'';
};
};
};
serviceOpts = {
@@ -128,6 +135,7 @@ in
--${optionalString (!cfg.collectors.cluster) "no-"}collector.cluster \
--${optionalString (!cfg.collectors.resources) "no-"}collector.resources \
--${optionalString (!cfg.collectors.config) "no-"}collector.config \
--${optionalString (!cfg.collectors.replication) "no-"}collector.replication \
${optionalString (cfg.server.keyFile != null) "--server.keyfile ${cfg.server.keyFile}"} \
${optionalString (cfg.server.certFile != null) "--server.certfile ${cfg.server.certFile}"} \
--config.file %d/configFile \
@@ -5,12 +5,12 @@
}:
python3.pkgs.buildPythonApplication rec {
pname = "prometheus-pve-exporter";
version = "3.2.4";
pname = "prometheus_pve_exporter";
version = "3.4.3";
src = fetchPypi {
inherit pname version;
hash = "sha256-C7agnOUdtd4YncAiaPQaZqBJ8DKZoM1Fa+dr1F4xYgI=";
hash = "sha256-5xvTUOwBj3N0hxLKfAlEq8y8snoDb92f7o7u7j0RdhY=";
};
propagatedBuildInputs = with python3.pkgs; [