alloy: Add caddy metrics scraping

This commit is contained in:
SebastianStork 2025-09-22 00:28:47 +02:00
parent 926716e7e5
commit 1515ce28e4
4 changed files with 27 additions and 3 deletions

View file

@ -82,6 +82,7 @@
collect.metrics = {
system = true;
victorialogs = true;
caddy = true;
};
};

View file

@ -56,7 +56,10 @@
alloy = {
enable = true;
domain = "alloy-${config.networking.hostName}.${tailscaleDomain}";
collect.metrics.system = true;
collect.metrics = {
system = true;
caddy = true;
};
};
caddy.virtualHosts =

View file

@ -78,7 +78,10 @@
enable = true;
domain = "alloy-${config.networking.hostName}.${config.custom.services.tailscale.domain}";
collect = {
metrics.system = true;
metrics = {
system = true;
caddy = true;
};
logs.sshd = true;
};
};