diff next/tasks.py @ 64:def1aa2bfa3f

more targets polish. reorg code into next/
author drewp@bigasterisk.com
date Thu, 02 May 2024 23:06:31 -0700
parents 8134cd480817
children 429bfd62e6ba
line wrap: on
line diff
--- a/next/tasks.py	Thu May 02 23:05:14 2024 -0700
+++ b/next/tasks.py	Thu May 02 23:06:31 2024 -0700
@@ -26,7 +26,7 @@
         'rules': alert_rules.allRules(ctx),
     }
     top = Path('build/scrape_config')
-    for p in top.glob('**/*.yaml'):
+    for p in top.glob('*.yaml'):
         map[str(p.relative_to(top))] = scrapeConfig(p)
     replaceCmap("next-victoriametrics-config", map)
     refreshPodCmaps(firstPodName("app=next-victoriametrics-forever-vmagent"))