prometheus metrics for garage

This commit is contained in:
xunuwu 2025-08-08 23:18:21 +02:00
parent b50da9d1d0
commit feb035f3b4
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
2 changed files with 9 additions and 0 deletions

View file

@ -23,6 +23,8 @@
bind_addr = "/run/garage/web.sock";
root_domain = ".s3-web.hopper.priv.${vars.domain}";
};
admin.api_bind_addr = "127.0.0.1:3903";
};
};

View file

@ -112,6 +112,13 @@
targets = ["rackserv:9615"];
};
}
{
job_name = "garage";
static_configs = lib.singleton {
targets = ["localhost:3903"];
};
}
];
exporters = {
node = {