20 lines
379 B
Nix
20 lines
379 B
Nix
_: {
|
|
services.prometheus = {
|
|
enable = true;
|
|
listenAddress = "10.10.10.10";
|
|
scrapeConfigs = [
|
|
{
|
|
job_name = "frp";
|
|
static_configs = [
|
|
{ targets = [ "10.10.10.1:7500" ]; }
|
|
];
|
|
}
|
|
{
|
|
job_name = "blocky";
|
|
static_configs = [
|
|
{ targets = [ "10.10.10.10:8080" ]; }
|
|
];
|
|
}
|
|
];
|
|
};
|
|
}
|