wordpress: enable metrics #203

Merged
kalipso merged 1 commits from wordpress_metrics into master 2026-10-21 17:32:44 +02:00
2 changed files with 13 additions and 0 deletions
+6
View File
@@ -264,6 +264,12 @@ in
targets = [ "${hosts.malobeo.hosts.albert.network.address}:9002" ];
}];
}
{
job_name = "wordpress";
static_configs = [{
targets = [ "${hosts.malobeo.hosts.wordpress.network.address}:9002" ];
}];
}
# add vpn - check how to reach it first. most probably 10.100.0.1
];
};
+7
View File
@@ -23,10 +23,17 @@ in {
};
imports = [
inputs.malobeo.nixosModules.malobeo.metrics
inputs.self.nixosModules.malobeo.users
../modules/sshd.nix
];
malobeo.metrics = {
enable = true;
enablePromtail = true;
logNginx = true;
};
malobeo.users = {
malobeo = false;
admin = true;