fe4d9821f3 
					 
					
						
						
							
							fix(alerting): Fix Discord alert payload missing required field  
						
						
						
						
					 
					
						2022-10-20 20:23:10 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d01a5d418b 
					 
					
						
						
							
							test: Improve error readability  
						
						
						
						
					 
					
						2022-10-20 20:23:10 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d101c17136 
					 
					
						
						
							
							fix(alerting): Resolve Mattermost issue with bad payload when condition has " in it  
						
						
						
						
					 
					
						2022-10-20 20:23:10 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ade3d05983 
					 
					
						
						
							
							fix(alerting): Use required Field.Title in Slack provider even if it's not enforced  
						
						... 
						
						
						
						Just to prevent future issues 
						
						
					 
					
						2022-10-20 20:23:10 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fbab0ef7ca 
					 
					
						
						
							
							fix(alerting): Resolve Discord issue with bad payload when condition has " in it  
						
						
						
						
					 
					
						2022-10-20 20:23:10 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9121ec1cc8 
					 
					
						
						
							
							fix(alerting): Resolve Matrix issue with bad payload when condition has " in it  
						
						
						
						
					 
					
						2022-10-20 20:23:10 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6ddf1258e5 
					 
					
						
						
							
							fix(alerting): Resolve PagerDuty issue with bad payload when alert description has " in it  
						
						
						
						
					 
					
						2022-10-20 20:23:10 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						490610ccfd 
					 
					
						
						
							
							fix(alerting): Resolve Teams issue with bad payload when condition has " in it  
						
						
						
						
					 
					
						2022-10-20 20:23:10 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0eb6958085 
					 
					
						
						
							
							fix(alerting): Resolve Telegram issue with bad payload when condition has " in it  
						
						
						
						
					 
					
						2022-10-20 20:23:10 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d20a41c7a7 
					 
					
						
						
							
							fix(alerting): Make sure to close response body  
						
						
						
						
					 
					
						2022-10-20 20:23:10 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4c18e0d602 
					 
					
						
						
							
							chore(alerting): Remove unnecessary cast  
						
						
						
						
					 
					
						2022-10-20 20:23:10 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						da24b7e8ac 
					 
					
						
						
							
							fix(alerting): Resolve Slack issue with bad payload when condition has " in it  
						
						
						
						
					 
					
						2022-10-20 20:23:10 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						557f696f88 
					 
					
						
						
							
							fix(alerting): Encode messagebird request body using json.Marshal  
						
						
						
						
					 
					
						2022-10-09 22:59:18 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c86492dbfd 
					 
					
						
						
							
							fix(alerting): Encode ntfy request body using json.Marshal  
						
						... 
						
						
						
						Relevant: #336  
						
						
					 
					
						2022-10-09 22:58:18 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						47dd18a0b5 
					 
					
						
						
							
							test(alerting): Add coverage for ntfy's request body  
						
						
						
						
					 
					
						2022-10-09 16:45:01 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1a708ebca2 
					 
					
						
						
							
							test(alerting): Fix tests following change to defaults  
						
						
						
						
					 
					
						2022-10-09 16:45:01 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5f8e62dad0 
					 
					
						
						
							
							fix(alerting): Make priority and url optional for ntfy  
						
						
						
						
					 
					
						2022-10-09 16:45:01 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						899c19b2d7 
					 
					
						
						
							
							fix: Swap tag for resolved and triggered  
						
						
						
						
					 
					
						2022-10-09 16:45:01 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						35038a63c4 
					 
					
						
						
							
							feat(alerting): Implement ntfy provider  
						
						... 
						
						
						
						Closes  #308 
Work remaining:
- Add the documentation on the README.md
- Test it with an actual Ntfy instance (I've only used https://ntfy.sh/docs/examples/#gatus  as a reference; I haven't actually tested it yet) 
					
						2022-10-09 16:45:01 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7b2af3c514 
					 
					
						
						
							
							chore: Fix alerting provider order  
						
						
						
						
					 
					
						2022-10-09 16:45:01 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4ab7428599 
					 
					
						
						
							
							chore: Format code  
						
						
						
						
					 
					
						2022-10-09 16:45:01 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f44d4055e6 
					 
					
						
						
							
							refactor(alerting): Clean up Matrix code  
						
						
						
						
					 
					
						2022-09-19 22:08:18 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e434178a5c 
					 
					
						
						
							
							test(alerting): Make sure ClientConfig is set after IsValid() call in Telegram provider  
						
						
						
						
					 
					
						2022-09-07 19:02:30 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7a3ee1b557 
					 
					
						
						
							
							feat(alerting): add client config for telegram ( #324 )  
						
						
						
						
					 
					
						2022-09-07 18:50:59 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						46d6d6c733 
					 
					
						
						
							
							test(alerting): Improve coverage for custom alerting provider  
						
						
						
						
					 
					
						2022-09-07 18:19:20 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						04a682eddc 
					 
					
						
						
							
							style(alerting): Alphabetically sort Matrix provider  
						
						
						
						
					 
					
						2022-07-20 19:00:12 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2fb807632c 
					 
					
						
						
							
							style(alerting): Add comments and rename character bytes constant  
						
						
						
						
					 
					
						2022-07-20 19:00:12 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4b339bca37 
					 
					
						
						
							
							fix(alerting): Update Matrix send endpoint to v3  
						
						
						
						
					 
					
						2022-07-20 19:00:12 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						09c3a6c72b 
					 
					
						
						
							
							fix(alerting): Reuse MatrixProviderConfig struct  
						
						
						
						
					 
					
						2022-07-20 19:00:12 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						755c8bb43a 
					 
					
						
						
							
							fix(alerting): Alphabetically sort Matrix provider  
						
						
						
						
					 
					
						2022-07-20 19:00:12 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9d4a639f31 
					 
					
						
						
							
							test(alerting): Add Matrix tests  
						
						
						
						
					 
					
						2022-07-20 19:00:12 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						37f3f964ea 
					 
					
						
						
							
							feat(alerts): Add Matrix alert provider  
						
						
						
						
					 
					
						2022-07-20 19:00:12 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ab2bee9c4b 
					 
					
						
						
							
							chore!: Update module from v3 to v4  
						
						
						
						
					 
					
						2022-06-20 21:25:14 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						017847240d 
					 
					
						
						
							
							feat(alerting): Add overrides for Mattermost ( #292 )  
						
						... 
						
						
						
						* add override support for mattermost
* add documentation for override Mattermost webhooks
* Apply suggestions from code review
Co-authored-by: TwiN <twin@linux.com >
* fix formatting
Co-authored-by: Michael Engelhardt <me@mindcrime.dev >
Co-authored-by: TwiN <twin@linux.com > 
						
						
					 
					
						2022-06-15 23:25:37 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1c03524ca8 
					 
					
						
						
							
							chore(alerting): Order types alphabetically  
						
						
						
						
					 
					
						2022-06-12 14:18:18 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						93b5a867bb 
					 
					
						
						
							
							chore(alerting): Add missing opsgenie compile-time interface validation  
						
						
						
						
					 
					
						2022-06-07 19:43:23 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f899f41d16 
					 
					
						
						
							
							feat(alerting): Add ENDPOINT_GROUP and ENDPOINT_URL placeholders for custom provider  
						
						... 
						
						
						
						related: #282 
note: this also phases out the deprecated [SERVICE_NAME] placeholder 
						
						
					 
					
						2022-06-07 19:37:42 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						27fc784411 
					 
					
						
						
							
							feat(alerting): Add group-specific WebHook URL for Slack ( #279 )  
						
						
						
						
					 
					
						2022-05-30 22:03:09 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						dde930bed7 
					 
					
						
						
							
							feat(alerting): Add group-specific WebHook URL for Google Chat ( #272 )  
						
						
						
						
					 
					
						2022-05-07 14:34:21 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e307d1ab35 
					 
					
						
						
							
							feat(alerting): Add group-specific WebHook URL for Discord ( #271 )  
						
						... 
						
						
						
						* feat(alerting): Add group-specific webhook URL for discord
Add group-specific webhook URL for discord alert
Provides support for paging multiple Discords based on the group selector while keeping backward compatibility to the old Discords configuration manifest
integration per team can be specified in the overrides sections in an array form.
ref: #96 
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com >
* docs: update
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com >
* Update README.md
* Update README.md
* Update alerting/provider/discord/discord.go
Co-authored-by: TwiN <twin@linux.com >
* Update README.md
Co-authored-by: TwiN <twin@linux.com >
* test: revert testing name
* Update alerting/provider/discord/discord_test.go
Co-authored-by: TwiN <twin@linux.com >
Co-authored-by: TwiN <twin@linux.com > 
						
						
					 
					
						2022-04-11 20:30:21 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5281f8068d 
					 
					
						
						
							
							feat(alerting): Add group-specific webhook URL for teams ( #266 )  
						
						... 
						
						
						
						* feat(alert): Add group-specific webhook URL for teams
Add group-specific webhook URL for teams alert
ref: https://github.com/TwiN/gatus/issues/96 
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com >
* Update README.md
* Update README.md 
						
						
					 
					
						2022-03-23 20:31:10 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a81c81e42c 
					 
					
						
						
							
							feat(alert): Add group-specific to email list ( #264 )  
						
						... 
						
						
						
						* feat(alert): Add group-specific to email list
Add group-specific to list for email alert
https://github.com/TwiN/gatus/issues/96 
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com >
* docs: update
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com >
* Update README.md
* Update README.md
* Update README.md
* chore: update
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com >
* Update README.md 
						
						
					 
					
						2022-03-20 21:54:20 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fcf046cbe8 
					 
					
						
						
							
							feat(alerting): Add support for custom Telegram API URL ( #257 )  
						
						
						
						
					 
					
						2022-03-05 15:44:11 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a848776a34 
					 
					
						
						
							
							refactor(alerting): Sort alert types alphabetically  
						
						
						
						
					 
					
						2022-01-16 00:07:19 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						51a4b63fb5 
					 
					
						
						
							
							feat(alerting): Add Google Chat alerting provider ( #234 )  
						
						
						
						
					 
					
						2022-01-14 21:00:00 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						89e6e4abd8 
					 
					
						
						
							
							fix(alerting): Omit nil structs within alerting provider struct  
						
						
						
						
					 
					
						2022-01-11 20:13:37 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ce6f58f403 
					 
					
						
						
							
							feat(alerting): Allow specifying a different username for email provider ( #231 )  
						
						... 
						
						
						
						* Update email alerting provider to supply a username, maintaining backwards compatibility with from
* Update README.md
Co-authored-by: Tom Moitié <tomm@gendius.co.uk >
Co-authored-by: TwiN <twin@twinnation.org > 
						
						
					 
					
						2022-01-11 20:07:25 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						18d28fc362 
					 
					
						
						
							
							Add tests for validation of description  
						
						
						
						
					 
					
						2021-12-12 17:03:11 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						eb3545e994 
					 
					
						
						
							
							Add tests for Slack alert body with endpoint that has a group  
						
						
						
						
					 
					
						2021-12-12 17:03:11 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ad71c8db34 
					 
					
						
						
							
							Support displaying group name when applicable for every alert provider  
						
						
						
						
					 
					
						2021-12-12 17:03:11 -05:00