TwiN
15a4133502
fix(alerting): Limit minimum-reminder-interval to >5m ( #1290 )
2025-09-25 16:24:15 -04:00
Viktor Ziegler
c374649019
feat(alerting): Implement alert reminders ( #1138 )
...
* feat(alerting): add reminder-interval feature which allows setting an interval to run alert consecutively
* feat(test): add tests for reminder-interval feature
* feat(docs): modify documentation for reminder-interval feature
* chore: change "due" to "TRIGGERED" for easier log look through
* chore: update "reminder-interval" to "repeat-interval"
* chore: update reminder-interval to repeat-interval
* chore: adapt repeat interval feature after merge
* chore: adapt repeat interval feature after merge
* RepeatInterval => MinimumRepeatInterval
* fix merge issues
(cherry picked from commit 9b2161556bddf01d385f97dafac2515857190ae5)
* rename and move MiniumRepeatInterval
* move MiniumRepeatInterval (again)
---------
Co-authored-by: Bugra Kocabay <kocabay.bugra@gmail.com >
Co-authored-by: Bugra Kocabay <kocabaybugra@gmail.com >
Co-authored-by: Konstantin Nosov <nosovk@gmail.com >
Co-authored-by: Viktor Ziegler <Viktor.Ziegler@ti8m.ch >
Co-authored-by: TwiN <twin@linux.com >
2025-08-07 21:35:44 -04:00
TwiN
79c9f24c15
feat(alerting): Implement alert-level provider overrides ( #929 )
...
* feat(alerting): Implement alert-level provider overrides
Fixes #96
* Fix tests
* Add missing test cases for alerting providers
* feat(alerting): Implement alert-level overrides on all providers
* chore: Add config.yaml to .gitignore
* fix typo in discord provider
* test: Start fixing tests for alerting providers
* test: Fix GitLab tests
* Fix all tests
* test: Improve coverage
* test: Improve coverage
* Rename override to provider-override
* docs: Mention new provider-override config
* test: Improve coverage
* test: Improve coverage
* chore: Rename Alert.OverrideAsBytes to Alert.ProviderOverrideAsBytes
2024-12-16 20:32:13 -05:00
TwiN
cdac5790cb
docs: Fix typo in comment
2024-12-06 21:34:13 -05:00
TwiN
f2c5f5911c
feat(alerting): Persist triggered alerts across application restart ( #764 )
...
* feat(alerting): Persist triggered alerts across application restart
Fixes #679
* test(alerting): Add numerous tests related to alerts
2024-05-15 21:29:45 -04:00
TwiN
9d151fcdb4
refactor: Break core package into multiple packages under config/endpoint ( #759 )
...
* refactor: Partially break core package into dns, result and ssh packages
* refactor: Move core package to config/endpoint
* refactor: Fix warning about overlapping imported package name with endpoint variable
* refactor: Rename EndpointStatus to Status
* refactor: Merge result pkg back into endpoint pkg, because it makes more sense
* refactor: Rename parameter r to result in Condition.evaluate
* refactor: Rename parameter r to result
* refactor: Revert accidental change to endpoint.TypeDNS
* refactor: Rename parameter r to result
* refactor: Merge util package into endpoint package
* refactor: Rename parameter r to result
2024-05-09 22:56:16 -04:00
TwiN
f54c45e20e
feat: Implement push-based external endpoints ( #724 )
...
* refactor: Move SSH outside of endpoint.go
* refactor: Use pointers for Alert receivers
* feat: Implement push-based external endpoints
* Fix failing tests
* Validate external endpoints on start
* Add tests for external endpoints
* refactor some error equality checks
* Improve docs and refactor some code
* Fix UI-related issues with external endpoints
2024-04-08 21:00:40 -04:00
TwiN
d058d7a54b
fix!: Default Alert.Enabled to true ( #380 )
...
BREAKING CHANGE: It used to default to false, which meant that users had to explicitly set endpoints[].alerts[].enabled to true
2022-12-05 23:15:19 -05:00
TwiN
f8140e0d96
fix(alerting): Resolve issue with blank GoogleChat messages ( #364 )
...
* debug: Print GoogleChat request body
* chore: Update TwiN/whois to v1.1.0
* fix: Add missing client changes
* test: Improve DNS tests
* chore: Remove accidental change
* docs: Add note for future change to default behavior
* fix(alerting): Don't include URL in Google Chat alert if endpoint type isn't HTTP
Fixes #362
2022-11-22 20:12:26 -05:00
TwiN
6da281bf4e
Disallow certain characters in endpoint name, group and alert description
2021-12-12 17:03:11 -05:00
TwiN
c6d0809ecc
Hide Alert.ResolveKey and Alert.Triggered
2021-11-18 00:11:32 -05:00
TwiN
6ed93d4b82
Rename Service to Endpoint ( #192 )
...
* Add clarifications in comments
* #191 : Rename Service to Endpoint
2021-10-23 16:47:12 -04:00
TwinProduction
db23bd9073
#29 : Automatically reload on configuration file update
2021-05-18 22:29:15 -04:00