bergquist
|
70385119bc
removes d in disableResolvedMessage
|
7 سال پیش |
Dave Waters
|
c4dcf5a4ee
fix gofmt, add test, correct noted concerns with default value
|
7 سال پیش |
Dave Waters
|
6376154b16
add channel option to disable the resolved alert (OK Message) that is sent when condition returns to normal.
|
7 سال پیش |
Marcus Efraimsson
|
418f77e70e
get or create alert notification should use transaction
|
7 سال پیش |
bergquist
|
7b781e4c3c
use notification state id instead of notifier id
|
7 سال پیش |
bergquist
|
67e5f62514
move version conflict logging for mark as complete to sqlstore package
|
7 سال پیش |
bergquist
|
9022e871e3
avoid sending full notification state to pending/complete
|
7 سال پیش |
bergquist
|
341d8af637
rename GetNotificationStateQuery to GetOrCreateNotificationStateQuery
|
7 سال پیش |
bergquist
|
7f1d7cefc0
reminder: uses UpdatedAt to track state changes.
|
7 سال پیش |
bergquist
|
75f832cda8
use alert state changes counter as secondary version
|
7 سال پیش |
Marcus Efraimsson
|
1be8fb76b8
cleanup alert_notification_state when deleting alert rules and channels
|
7 سال پیش |
Marcus Efraimsson
|
5ec086dc56
don't notify if notification state pending
|
7 سال پیش |
Marcus Efraimsson
|
d412aafb7e
remove unused code
|
7 سال پیش |
Marcus Efraimsson
|
67c58fa5e4
fix set sent_at on complete
|
7 سال پیش |
Marcus Efraimsson
|
c1763508e0
handle pending and completed state for alert notifications
|
7 سال پیش |
Marcus Efraimsson
|
69cc24ea3f
wip: test get alert notification state
|
7 سال پیش |
Leonard Gram
|
1a75aa54de
wip: impl so that get alertstate also creates it if it does not exist
|
7 سال پیش |
bergquist
|
15ce474639
wip
|
7 سال پیش |
Marcus Efraimsson
|
d093244282
sqlstore: add support for checking if error is constraint validation error
|
7 سال پیش |
bergquist
|
c5278af6c4
add support for mysql and postgres unique index error codes
|
7 سال پیش |
bergquist
|
3fab616239
implement sql queries for transactional alert reminders
|
7 سال پیش |
bergquist
|
ff79f80685
initial rename refactoring
|
7 سال پیش |
bergquist
|
b04052f515
alerting: move all notification conditions to defaultShouldNotify
|
7 سال پیش |
Mario Trangoni
|
bb5aaa2dce
pkg/services/sqlstore/alert_notification.go: Simplify err check
|
7 سال پیش |
Mario Trangoni
|
f73236f8f4
pkg/services/sqlstore: Fix x.Sql is deprecated: use SQL instead. (megacheck)
|
7 سال پیش |
bergquist
|
396f8e6464
notifications: read without tran, write with tran
|
7 سال پیش |
bergquist
|
83a12afc07
adds tests for journaling sql operations
|
7 سال پیش |
bergquist
|
12bf5c225a
tests for defaultShouldNotify
|
7 سال پیش |
bergquist
|
f4b089d551
notifications: make journaling ctx aware
|
7 سال پیش |
bergquist
|
4a8e9cf93f
removes more unused code
|
7 سال پیش |