Mercurial > code > home > repos > victoriametrics
comparison next/tasks.py @ 66:429bfd62e6ba
clean out old config; move remaining bits into next/
author | drewp@bigasterisk.com |
---|---|
date | Fri, 03 May 2024 11:19:50 -0700 |
parents | def1aa2bfa3f |
children |
comparison
equal
deleted
inserted
replaced
65:fada8d64c4d3 | 66:429bfd62e6ba |
---|---|
13 def scrapeConfig(fn): | 13 def scrapeConfig(fn): |
14 return yaml.load(open(fn), yaml.FullLoader) | 14 return yaml.load(open(fn), yaml.FullLoader) |
15 | 15 |
16 | 16 |
17 @task | 17 @task |
18 def push_config_2024(ctx): | 18 def push_config(ctx): |
19 # plan: | 19 # plan: |
20 # every discovered service may: | 20 # every discovered service may: |
21 # - be described here as a forever retention - ignore the discovery | 21 # - be described here as a forever retention - ignore the discovery |
22 # - be blocked here as a no-metrics service - ignore the discovery | 22 # - be blocked here as a no-metrics service - ignore the discovery |
23 # - be scraped as 'recent', with possible overrides of port/path | 23 # - be scraped as 'recent', with possible overrides of port/path |