monitoring: reduce metrics scraping interval from 1m to 15s
This commit is contained in:
parent
f0124a4615
commit
ea6d219c23
1 changed files with 3 additions and 0 deletions
|
|
@ -463,6 +463,9 @@ in
|
||||||
services.prometheus = {
|
services.prometheus = {
|
||||||
enable = true;
|
enable = true;
|
||||||
port = cfg.prometheusPort;
|
port = cfg.prometheusPort;
|
||||||
|
globalConfig = {
|
||||||
|
scrape_interval = "15s";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.loki = {
|
services.loki = {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue