任务和实例
scrape_configs:
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9090']
- job_name: 'node'
static_configs:
- targets: ['localhost:9100']* job: node
* instance 2: 1.2.3.4:9100
* instance 4: 5.6.7.8:9100

最后更新于