Enable proxy for Grafana too
The alerts need to contact the slack endpoint, so we add the proxy environment variables to the grafana systemd service. Reviewed-By: Aleix Roca Nonell <aleix.rocanonell@bsc.es>
This commit is contained in:
		
							parent
							
								
									bf8f0ac583
								
							
						
					
					
						commit
						f2d26fd2e2
					
				| @ -18,6 +18,9 @@ | |||||||
|     }; |     }; | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|  |   # Make grafana alerts also use the proxy | ||||||
|  |   systemd.services.grafana.environment = config.networking.proxy.envVars; | ||||||
|  | 
 | ||||||
|   services.prometheus = { |   services.prometheus = { | ||||||
|     enable = true; |     enable = true; | ||||||
|     port = 9001; |     port = 9001; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user