# HG changeset patch # User drewp@bigasterisk.com # Date 1723068641 25200 # Node ID e80f46b2cabcbba16c5c4227f7072120aaaed043 # Parent 5a526531305fc8219fb34081d6ded827aae69953 add pipe:telegraf diff -r 5a526531305f -r e80f46b2cabc create_scrape_configs.py --- 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),