mirror of
				https://github.com/prometheus/node_exporter.git
				synced 2025-08-20 18:33:52 -07:00 
			
		
		
		
	Update collector.go
Signed-off-by: Mitanshu Mittal <mitanshu.sheo@gmail.com>
This commit is contained in:
		
							parent
							
								
									c2bb15b146
								
							
						
					
					
						commit
						c6235cb6fb
					
				| 
						 | 
				
			
			@ -228,7 +228,7 @@ func sendMetricSafely(ch chan<- prometheus.Metric, metric prometheus.Metric, log
 | 
			
		|||
	select {
 | 
			
		||||
	case ch <- metric:
 | 
			
		||||
	default:
 | 
			
		||||
		logger.Warn("msg", "failed to send metric", "name", name)
 | 
			
		||||
		logger.Info("msg", "failed to send metric", "name", name)
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue