Mercurial > code > home > repos > victoriametrics
changeset 83:e80f46b2cabc
add pipe:telegraf
author | drewp@bigasterisk.com |
---|---|
date | Wed, 07 Aug 2024 15:10:41 -0700 |
parents | 5a526531305f |
children | 4809a249d43f |
files | create_scrape_configs.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/create_scrape_configs.py Wed Aug 07 15:10:28 2024 -0700 +++ b/create_scrape_configs.py Wed Aug 07 15:10:41 2024 -0700 @@ -10,6 +10,7 @@ # 'ws-printer', #todo: ] +telegraf_hosts = all_hosts + ['pipe'] smartctl_hosts = [ # ideally, all nodes with disks, but many turn off and on @@ -52,7 +53,7 @@ jobConfig(name="net-routes", targets=['pipe:9999']), jobConfig(name="net-traffic", targets=['pipe:8080']), jobConfig(name="pomerium", targets=['pomerium-metrics.pomerium:9090']), - jobConfig(name="telegraf", targets=[f'{h}:9273' for h in all_hosts]), + jobConfig(name="telegraf", targets=[f'{h}:9273' for h in telegraf_hosts]), jobConfig(name="victorialogs", targets=['victorialogs'], metrics_path='/logs/metrics'), jobConfig(name="victoriametrics-forever-vmagent", metrics_path='/m/forever/vmagent/metrics', targets=FromName),