mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-08 14:40:19 +02:00
added prometheus
This commit is contained in:
parent
99d55efb8c
commit
6f612ef521
2 changed files with 16 additions and 6 deletions
|
@ -15,9 +15,13 @@
|
|||
job_name = "synapse";
|
||||
scrape_interval = "15s";
|
||||
metrics_path = "/_synapse/metrics";
|
||||
static_configs = {
|
||||
targets = [ "localhost:8008" ];
|
||||
};
|
||||
static_configs = [ { targets = [ "localhost:8008" ]; } ];
|
||||
}
|
||||
{
|
||||
job_name = "homelab-stats";
|
||||
static_configs = [
|
||||
{ targets = [ "localhost:${builtins.toString config.services.prometheus.exporters.node.port}" ]; }
|
||||
];
|
||||
}
|
||||
];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue