mirror of
				https://github.com/prometheus/node_exporter.git
				synced 2025-08-20 18:33:52 -07:00 
			
		
		
		
	feat: Added an ability to pass collector.supervisord.url via SUPERVISORD_URL environment variable
Signed-off-by: Proskurin Kirill <kirill.proskurin@behavox.com>
This commit is contained in:
		
							parent
							
								
									88ee42742e
								
							
						
					
					
						commit
						8d147327a6
					
				|  | @ -6,6 +6,7 @@ | ||||||
| * [ENHANCEMENT] Include TCP OutRsts in netstat metrics | * [ENHANCEMENT] Include TCP OutRsts in netstat metrics | ||||||
| * [ENHANCEMENT] Added XFS inode operations to XFS metrics | * [ENHANCEMENT] Added XFS inode operations to XFS metrics | ||||||
| * [ENHANCEMENT] Remove CGO dependencies for OpenBSD amd64 | * [ENHANCEMENT] Remove CGO dependencies for OpenBSD amd64 | ||||||
|  | * [ENHANCEMENT] Added an ability to pass collector.supervisord.url via SUPERVISORD_URL environment variable | ||||||
| * [BUGFIX] Handle EPERM for syscall in timex collector | * [BUGFIX] Handle EPERM for syscall in timex collector | ||||||
| * [BUGFIX] | * [BUGFIX] | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -31,7 +31,7 @@ import ( | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
| var ( | var ( | ||||||
| 	supervisordURL = kingpin.Flag("collector.supervisord.url", "XML RPC endpoint.").Default("http://localhost:9001/RPC2").String() | 	supervisordURL = kingpin.Flag("collector.supervisord.url", "XML RPC endpoint.").Default("http://localhost:9001/RPC2").Envar("SUPERVISORD_URL").String() | ||||||
| 	xrpc           *xmlrpc.Client | 	xrpc           *xmlrpc.Client | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue