Prometheus: lower scraping frequency
This commit is contained in:
parent
b4b3ef3a98
commit
3094b2eb12
1 changed files with 1 additions and 1 deletions
|
|
@ -348,7 +348,7 @@ in
|
|||
};
|
||||
systemd.enable = true;
|
||||
};
|
||||
globalConfig = { scrape_interval = "5s"; };
|
||||
globalConfig = { scrape_interval = "10s"; };
|
||||
scrapeConfigs = [
|
||||
{ job_name = "node"; static_configs = [{ targets = [ "localhost:${toString config.services.prometheus.exporters.node.port}" ]; }]; }
|
||||
{ job_name = "process"; static_configs = [{ targets = [ "localhost:${toString config.services.prometheus.exporters.process.port}" ]; }]; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue