[overwatch] enable and scrape metrics from hydra
This commit is contained in:
@@ -35,9 +35,17 @@
|
||||
Include ${config.sops.secrets.gitea_token.path}
|
||||
using_frontend_proxy 1
|
||||
base_uri hydra.malobeo.org
|
||||
<hydra_notify>
|
||||
<prometheus>
|
||||
listen_address = 0.0.0.0
|
||||
port = 9199
|
||||
</prometheus>
|
||||
</hydra_notify>
|
||||
queue_runner_metrics_address = 0.0.0.0:9198
|
||||
'';
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 9199 9198 ];
|
||||
|
||||
systemd.services.hydra-manual-setup = {
|
||||
description = "Create Admin User for Hydra";
|
||||
serviceConfig.Type = "oneshot";
|
||||
|
||||
@@ -141,6 +141,18 @@ in
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
job_name = "hydra";
|
||||
static_configs = [{
|
||||
targets = [ "${hosts.malobeo.hosts.albert.network.address}:9199" ];
|
||||
}];
|
||||
}
|
||||
{
|
||||
job_name = "hydra-queue-runner";
|
||||
static_configs = [{
|
||||
targets = [ "${hosts.malobeo.hosts.albert.network.address}:9198" ];
|
||||
}];
|
||||
}
|
||||
{
|
||||
job_name = "overwatch";
|
||||
static_configs = [{
|
||||
|
||||
Reference in New Issue
Block a user