mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2024-11-23 12:01:27 +00:00
feat: systemd exporter
This commit is contained in:
parent
6a4e683ab8
commit
6362ff1e35
|
@ -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" ];
|
||||
}];
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue