prometheus-添加被监控配置文件详解
1. prometheus-添加被监控配置文件详解
- 
目标(targets):被监控端
 - 
实例(Instances):每个被监控端称为实例
 - 
作业(Job):具有相同目标的实例集合称为作业
 - 
添加配置文件示例
scrape_configs: - job_name: 'prometheus' static_configs: - targets: ['localhost:9090'] - job_name: 'node' static_configs: - targets: ['192.168.1.10:9090'] 
                    
                
                
            
        
浙公网安备 33010602011771号