jupiter: add VictoriaMetrics monitoring #1

Merged
darman merged 8 commits from feat/mars-victoriametrics into master 2026-08-24 04:48:46 +02:00
Showing only changes of commit eec17b77df - Show all commits
+21 -4
View File
3
@@ -32,16 +32,23 @@
targets = [ "neptun.orbit.sol:9100" ];
labels.host = "neptun";
}
{
targets = [ "mercury.orbit.sol:9100" ];
labels.host = "mercury";
}
{
targets = [ "terra.orbit.sol:9100" ];
labels.host = "terra";
}
];
}
{
job_name = "node-exporter-mercury";
scrape_interval = "15s";
scrape_timeout = "10s";
static_configs = [
{
targets = [ "mercury.orbit.sol:9100" ];
labels.host = "mercury";
}
];
}
{
job_name = "victoriametrics";
static_configs = [
@@ -59,4 +66,14 @@
# ordering, not a hard dependency: VictoriaMetrics still starts locally if
# another host or the tailnet is temporarily unavailable.
systemd.services.victoriametrics.after = [ "tailscaled-autoconnect.service" ];
fileSystems."/var/lib/private/victoriametrics" = {
device = "/mnt/data/AppData/victoriametrics";
fsType = "none";
options = [ "bind" "nofail" ];
};
# The service path is under /var/lib/private, so systemd would otherwise
# derive its mount dependency from the eMMC-backed path alone.
systemd.services.victoriametrics.unitConfig.RequiresMountsFor = [ "/mnt/data" ];
}