Mercurial > code > home > repos > victoriametrics
diff tasks.py @ 34:3b91d52b007d
rules tuning
author | drewp@bigasterisk.com |
---|---|
date | Mon, 09 Oct 2023 18:50:36 -0700 |
parents | eb1de82c93aa |
children | 21185db8a52e |
line wrap: on
line diff
--- a/tasks.py Fri Sep 01 23:19:56 2023 -0700 +++ b/tasks.py Mon Oct 09 18:50:36 2023 -0700 @@ -15,6 +15,13 @@ replaceCmap("victoriametrics-config", {"scrape_main": configObj, "rules": rulesObj}) + # these don't give errors on rules format! they just quietly keep the old + # rules! use `skaffold run` to get errs. + # + # or run + # validateTemplates = flag.Bool("rule.validateTemplates", true, "Whether to validate annotation and label templates") + # validateExpressions = flag.Bool("rule.validateExpressions", true, "Whether to validate rules expressions via MetricsQL engine") + refreshPodCmaps(firstPodName("app=victoriametrics")) refreshPodCmaps(firstPodName("app=vmalert"))