feat: introduce ofborg stats
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
parent
47b713ca58
commit
8fa0e5abe3
|
@ -40,6 +40,7 @@
|
|||
ofborg = {
|
||||
rabbitmq.enable = true;
|
||||
builder.enable = true;
|
||||
stats.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@ in {
|
|||
options.bagel.services.ofborg = with lib; {
|
||||
rabbitmq.enable = mkEnableOption "ofborg AMQP queue";
|
||||
builder.enable = mkEnableOption "ofborg builder worker";
|
||||
stats.enable = mkEnableOption "ofborg prometheus worker";
|
||||
|
||||
package = mkPackageOption pkgs "ofborg" { };
|
||||
|
||||
|
@ -91,8 +92,10 @@ in {
|
|||
(mkIf cfg.builder.enable {
|
||||
systemd.services.ofborg-builder = mkOfborgWorker "builder" { };
|
||||
})
|
||||
(mkIf cfg.stats.enable {
|
||||
systemd.services.ofborg-stats = mkOfborgWorker "stats" { };
|
||||
})
|
||||
];
|
||||
# systemd.services.ofborg-stats = {};
|
||||
# systemd.services.ofborg-log-message-collector = {};
|
||||
# systemd.services.ofborg-evaluation-filter = {};
|
||||
# systemd.services.ofborg-vcs-comment-filter = {};
|
||||
|
|
Loading…
Reference in a new issue