Mercurial > code > home > repos > victoriametrics
diff migration/tasks.py @ 68:c5e98d891638
remove 'next' prefix
author | drewp@bigasterisk.com |
---|---|
date | Fri, 03 May 2024 11:32:24 -0700 |
parents | 84a4c4cca4a5 |
children |
line wrap: on
line diff
--- a/migration/tasks.py Fri May 03 11:21:08 2024 -0700 +++ b/migration/tasks.py Fri May 03 11:32:24 2024 -0700 @@ -85,7 +85,7 @@ @task def ingestForeverMetrics(ctx): - svc = ctx.run('khost next-victoriametrics-forever-vminsert').stdout + svc = ctx.run('khost victoriametrics-forever-vminsert').stdout for p in Path('export').glob('*.native.gz'): print(f'importing {p}') - ctx.run(f'zcat {p} | curl -s http://{svc}/m/next/forever/vminsert/insert/0/prometheus/api/v1/import/native --data-binary @-') + ctx.run(f'zcat {p} | curl -s http://{svc}/m/forever/vminsert/insert/0/prometheus/api/v1/import/native --data-binary @-')