Mercurial > code > home > repos > victoriametrics
comparison tasks.py @ 58:0064c490c33d
some tiny scrape configs for testing multi-node vmstorage/vmselect
author | drewp@bigasterisk.com |
---|---|
date | Fri, 26 Apr 2024 15:48:22 -0700 |
parents | 21185db8a52e |
children | 6a357b483c04 |
comparison
equal
deleted
inserted
replaced
57:b3addcd4486c | 58:0064c490c33d |
---|---|
12 def push_config(ctx): | 12 def push_config(ctx): |
13 rulesObj = alert_rules.allRules(ctx) | 13 rulesObj = alert_rules.allRules(ctx) |
14 | 14 |
15 replaceCmap("victoriametrics-config", { | 15 replaceCmap("victoriametrics-config", { |
16 "scrape_main": scrapeConfig("config/scrape_main.yaml"), | 16 "scrape_main": scrapeConfig("config/scrape_main.yaml"), |
17 "scrape_recent": scrapeConfig("config/scrape_recent.yaml"), | |
18 "scrape_forever": scrapeConfig("config/scrape_forever.yaml"), | |
17 "rules": rulesObj, | 19 "rules": rulesObj, |
18 }) | 20 }) |
19 | 21 |
20 # these don't give errors on rules format! they just quietly keep the old | 22 # these don't give errors on rules format! they just quietly keep the old |
21 # rules! use `skaffold run` to get errs. | 23 # rules! use `skaffold run` to get errs. |