Update from grafana notifiers to alerts
This commit is contained in:
		
					parent
					
						
							
								df64ae554e
							
						
					
				
			
			
				commit
				
					
						ea576cda8d
					
				
			
		
					 1 changed files with 6 additions and 9 deletions
				
			
		|  | @ -33,17 +33,14 @@ in | ||||||
|     # {{{ Provisoning |     # {{{ Provisoning | ||||||
|     provision = { |     provision = { | ||||||
|       enable = true; |       enable = true; | ||||||
|       notifiers = [ |       alerting.contactPoints.settings.contactPoints = [ | ||||||
|  |         { name = "email"; } | ||||||
|         { |         { | ||||||
|           uid = "email"; |  | ||||||
|           name = "email"; |  | ||||||
|           type = "email"; |  | ||||||
|         } |  | ||||||
|         { |  | ||||||
|           uid = "discord"; |  | ||||||
|           name = "discord"; |           name = "discord"; | ||||||
|           type = "discord"; |           webhook_configs = [{ | ||||||
|           settings.webhook_url = secret "grafana_discord_webhook"; |             send_resolved = true; | ||||||
|  |             url = secret "grafana_discord_webhook"; | ||||||
|  |           }]; | ||||||
|         } |         } | ||||||
|       ]; |       ]; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue