rico0: add systemd-exporter metrics

This commit is contained in:
Adithya 2024-07-18 23:06:15 +05:30
parent 780bc8ba52
commit 6295f18f7c
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C

View file

@ -12,6 +12,18 @@ _: {
enable = true;
listenAddress = "127.0.0.1";
scrapeConfigs = [
{
job_name = "systemd";
scheme = "https";
metrics_path = "/systemd-metrics";
static_configs = [
{ targets = [ "rico0.labs.adtya.xyz" ]; }
{ targets = [ "rico1.labs.adtya.xyz" ]; }
{ targets = [ "rico2.labs.adtya.xyz" ]; }
{ targets = [ "wynne.labs.adtya.xyz" ]; }
{ targets = [ "layne.labs.adtya.xyz" ]; }
];
}
{
job_name = "node";
scheme = "https";