modules/nixos/buildbot: remove metrics

This commit is contained in:
zowoq 2024-08-29 10:37:01 +10:00
parent db3e6fc921
commit 84fbbd7254

View file

@ -1,7 +1,6 @@
{
config,
inputs,
pkgs,
...
}:
{
@ -15,8 +14,6 @@
forceSSL = true;
};
services.telegraf.extraConfig.inputs.prometheus.urls = [ "http://localhost:8011/metrics" ];
sops.secrets.buildbot-github-oauth-secret = { };
sops.secrets.buildbot-github-app-secret-key = { };
sops.secrets.buildbot-github-webhook-secret = { };
@ -60,26 +57,6 @@
};
};
services.buildbot-master = {
extraConfig = ''
c['services'].append(reporters.Prometheus(port=8011))
'';
pythonPackages = ps: [
(ps.buildPythonPackage rec {
pname = "buildbot-prometheus";
version = "0c81a89bbe34628362652fbea416610e215b5d1e";
src = pkgs.fetchFromGitHub {
owner = "claws";
repo = "buildbot-prometheus";
rev = version;
hash = "sha256-bz2Nv2RZ44i1VoPvQ/XjGMfTT6TmW6jhEVwItPk23SM=";
};
propagatedBuildInputs = [ ps.prometheus-client ];
doCheck = false;
})
];
};
sops.secrets.buildbot-nix-worker-password = { };
services.buildbot-nix.worker = {