feat: systemd exporter

This commit is contained in:
Inex Code 2024-07-26 19:31:03 +03:00
parent 6a4e683ab8
commit 6362ff1e35

View file

@ -32,6 +32,11 @@ in {
port = 9002;
listenAddress = "127.0.0.1";
};
systemd = {
enable = true;
port = 9003;
listenAddress = "127.0.0.1";
};
};
scrapeConfigs = [
{
@ -40,6 +45,12 @@ in {
targets = [ "127.0.0.1:9002" ];
}];
}
{
job_name = "systemd-exporter";
static_configs = [{
targets = [ "127.0.0.1:9003" ];
}];
}
];
};
};