Commit Graph

622 Commits (8678620730b26dfa8a07bd0f01d9345d6b266ffd)

Author SHA1 Message Date
bergquist 21fff415ed removes unnessecary db request 6 years ago
bergquist 935da14f7d tab/spaces formatting 6 years ago
bergquist 364154d81f moves timeout tests to an integration test 6 years ago
sharkpc0813 35013a28cd add timeout test for alert handling. 6 years ago
Pavel Bakulev f461d52004 Converted notification id to uid via fmt for old alert notification settings 6 years ago
Pavel Bakulev 2de32756c2 Returned id for alert notifications which were created without uid 6 years ago
Pavel Bakulev f132e929ce Added uid for alert notifications 6 years ago
Pavel Bakulev 6e3e9a337d Added alert_notification configuration 6 years ago
bergquist 1b6203e430 removes error2 logger 6 years ago
sharkpc0813 e172bade40 fix that alert context and result handle context do not use the same derived context. 6 years ago
NighterMan ec0fe11939 pushover: add support for attaching images (closes #10780) 6 years ago
bergquist fbb3ad5fc4 make sure frequency cannot be zero 6 years ago
bergquist 69489993c3 export init notifier func 7 years ago
bergquist 9eea585773 removes unused code 7 years ago
bergquist a90bba859a fixes merge error 7 years ago
bergquist 862815d18d go meta lint errors 7 years ago
bergquist caec36e7ec alert rule have to be pending before alerting is for is specified 7 years ago
bergquist a70ea2101c alertmanager: adds tests for should notify 7 years ago
bergquist 28029ce4a7 alerting: support `for` on execution errors and notdata 7 years ago
bergquist 84eb3bd095 tests for supporting for with all alerting scenarios 7 years ago
bergquist 8fb997d935 should not notify when going from unknown to pending 7 years ago
bergquist 2fb78a50d6 minor fixes based on code review 7 years ago
Andrey Kaipov 63fdffe8c0 Fixes #13993 - adds more options for Slack notifications 7 years ago
Marcus Efraimsson 9e0da02b6a
refactor dashboard alert extractor 7 years ago
bergquist ae2d536740 adds tests for extracting for property 7 years ago
bergquist ccd89eee97 renames `debouceduration` to `for` 7 years ago
bergquist d25284a364 introduce state `unknown` for rules that have not been evaluated yet 7 years ago
bergquist 6f748d8a96 fixes go meta lint issue 7 years ago
bergquist 4526660cb2 wire up debounce setting in the ui 7 years ago
bergquist 2d3a575489 adds db migration for debounce_duration 7 years ago
bergquist ccfd9c89b2 introduces hard coded deboucing for alerting 7 years ago
bergquist 7c3dcb3702 alerting: adds tests for the median reducer 7 years ago
Sergio Conde Gomez 65a15b157f
Increase Telegram captions length limit. 7 years ago
Mario Trangoni 68507e8855 pkg/services/alerting/reader.go: Fix should use for range instead of for { select {} }. 7 years ago
Yuan Liu 68c460a957
fix cannot receive dingding alert bug 7 years ago
bergquist 70385119bc removes d in disableResolvedMessage 7 years ago
Dave Waters c4dcf5a4ee fix gofmt, add test, correct noted concerns with default value 7 years ago
Dave Waters 6376154b16 add channel option to disable the resolved alert (OK Message) that is sent when condition returns to normal. 7 years ago
Torkel Ödegaard ba67dc7689 changed to plain errors further down the alerting validation model so error did not get double wrapping in ValidationError 7 years ago
Torkel Ödegaard ec4698fb96 alerting: propagate alert validation issues to the user instead of just 'invalid alert data' message 7 years ago
Mario Trangoni 9c44c75936 pkg/services/alerting/notifiers/telegram.go: check error before close. 7 years ago
Mario Trangoni d1e1fb7e72 pkg/services/alerting/notifiers/telegram_test.go: pass context.Background() instead of nil 7 years ago
Marcus Efraimsson 0e0901874b
better comment about state changes 7 years ago
bergquist 7b781e4c3c use notification state id instead of notifier id 7 years ago
bergquist 9289cba625 merges defaultShouldNotify and ShouldNotify 7 years ago
bergquist 67e5f62514 move version conflict logging for mark as complete to sqlstore package 7 years ago
bergquist 9d3659d30d improve local variable name 7 years ago
bergquist b45a1bd45c avoid exporting notificationState and notificationStateSlice 7 years ago
bergquist 9022e871e3 avoid sending full notification state to pending/complete 7 years ago
bergquist 341d8af637 rename GetNotificationStateQuery to GetOrCreateNotificationStateQuery 7 years ago