添加接⼝ “/prometheus/add” 通过接⼝传参数,添加yaml⽂件中的ip地址⾏ 在后台⽣成配置⽂件 路径:“当前⽬录” 注意:每个配置⽂件的端⼝ip端⼝不⼀样 ⽣成⽂件 gpu.yml ⽣成⽂件 node.yml ⽣成⽂件 container.yml 删除接⼝ “/prometheus/del” 通过接⼝传参数,删除yaml⽂件中的ip地址⾏ 在后台⽣成配置⽂件 路径:“当前⽬录” 注意:每个配置⽂件的端⼝ip端⼝不⼀样 { "ip": "192.168.1.1" }

- targets:
- 192.168.1.1:9400
- 192.168.1.1:9400
- targets:
- 192.168.1.1:9100
- 192.168.1.1:9100
- targets:
- 192.168.1.1:9300
- 192.168.1.1:9300 { "ip": "192.168.1.1" } ⽣成⽂件 gpu.yml
- targets:
- 192.168.1.1:9400
- 192.168.1.1:9400 ⽣成⽂件 node.yml
- targets:
- 192.168.1.1:9100
- 192.168.1.1:9100 ⽣成⽂件 container.yml
- targets:
- 192.168.1.1:9300
- 192.168.1.1:9300

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容,请联系我们,一经查实,本站将立刻删除。
如需转载请保留出处:https://51itzy.com/kjqy/163190.html