Prometheus: scrape interval 1m -> 20s

This commit is contained in:
minish 2024-12-15 19:28:15 -05:00
parent 778a3244fc
commit 6170779bf5
Signed by: min
SSH Key Fingerprint: SHA256:NFjjdbkd6u7aoMlcrDCVvz6o2UBtlAuPm8IQ2vhZ3Fg
1 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,10 @@ in {
services.prometheus = { services.prometheus = {
enable = true; enable = true;
globalConfig = {
scrape_interval = "20s";
};
scrapeConfigs = [ scrapeConfigs = [
{ {
job_name = "silver"; job_name = "silver";