4 Commits

Author SHA1 Message Date
60cfdfda82 [overwatch] scrape fanny
All checks were successful
Check flake syntax / flake-check (push) Successful in 4m45s
2025-01-22 01:35:33 +01:00
e8b9879659 [fanny] enable metrics 2025-01-22 01:35:26 +01:00
7f354fdaea [overwatch] scrape durruti 2025-01-22 01:33:13 +01:00
a7a11e4474 [durruti] enable metrics 2025-01-22 01:33:06 +01:00
4 changed files with 29 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
{ config, lib, pkgs, inputs, ... }:
{ config, self, lib, pkgs, inputs, ... }:
with lib;
@@ -17,6 +17,7 @@ with lib;
];
imports = [
self.nixosModules.malobeo.metrics
inputs.tasklist.nixosModules.malobeo-tasklist
../modules/malobeo_user.nix
@@ -24,6 +25,13 @@ with lib;
../modules/minimal_tools.nix
];
malobeo.metrics = {
enable = true;
enablePromtail = true;
logNginx = true;
lokiHost = "10.0.0.14";
};
services.malobeo-tasklist.enable = true;
system.stateVersion = "22.11"; # Did you read the comment?

View File

@@ -63,7 +63,6 @@ in
};
};
services.nginx.virtualHosts."tasklist.malobeo.org" = {
forceSSL = true;
enableACME= true;

View File

@@ -16,8 +16,16 @@ in
inputs.self.nixosModules.malobeo.initssh
inputs.self.nixosModules.malobeo.disko
inputs.self.nixosModules.malobeo.microvm
inputs.self.nixosModules.malobeo.metrics
];
malobeo.metrics = {
enable = true;
enablePromtail = true;
logNginx = true;
lokiHost = "10.0.0.14";
};
malobeo.autoUpdate = {
enable = true;
url = "https://hydra.dynamicdiscord.de";

View File

@@ -87,12 +87,12 @@ with lib;
targets = [ "127.0.0.1:9002" ];
}];
}
#{
# job_name = "durruti";
# static_configs = [{
# targets = [ "10.0.0.5:9002" ];
# }];
#}
{
job_name = "durruti";
static_configs = [{
targets = [ "10.0.0.5:9002" ];
}];
}
{
job_name = "infradocs";
static_configs = [{
@@ -105,6 +105,12 @@ with lib;
targets = [ "10.0.0.13:9002" ];
}];
}
{
job_name = "fanny";
static_configs = [{
targets = [ "10.0.0.1:9002" ];
}];
}
# add vpn - check how to reach it first. most probably 10.100.0.1
];
};