grafana/pkg/services/alerting
Kristin Laemmert cc007e9727
chore: sqlstore cleanup (#60415)
* chore: remove unused test helper from sqlstore

TimeNow() is no longer used in any tests in this package.

* chore: move sqlstore.SQLBuilder to the infra/db package

This required some minor refactoring; we need to be a little more explicit about passing around the dialect and engine. On the other hand, that's a few fewer uses of the `dialect` global constant!

* chore: move UserDeletions into the only package using it

* cleanup around moving sqlbuilder

* remove dialect and sqlog global vars

* rename userDeletions to serviceAccountDeletions
2022-12-16 11:09:06 -05:00
..
conditions Chore: Upgrade Go to 1.19.1 (#54902) 2022-09-12 12:03:49 +02:00
notifiers Admin: Fix broken links to image assets in email templates (#58729) 2022-11-16 14:17:39 +01:00
testdata Dashboard: Remove super old prop that has not been used in years (#50826) 2022-06-17 14:55:35 +02:00
alerting_usage_test.go Handle ioutil deprecations (#53526) 2022-08-10 15:37:51 +02:00
alerting_usage.go Chore: Sql store split for legacy alerting (#52901) 2022-08-03 11:17:26 -04:00
engine_integration_test.go Chore: SQL store split for annotations (#55089) 2022-09-19 10:54:37 +03:00
engine_test.go Chore: SQL store split for annotations (#55089) 2022-09-19 10:54:37 +03:00
engine.go Alerting: Extract ticker into shared package (#55703) 2022-09-26 12:35:33 -05:00
eval_context_test.go Alerting: Fix duration calculation when testing a rule (#56616) 2022-10-11 20:40:18 +08:00
eval_context.go Alerting: Fix duration calculation when testing a rule (#56616) 2022-10-11 20:40:18 +08:00
eval_handler_test.go Chore: SQL store split for annotations (#55089) 2022-09-19 10:54:37 +03:00
eval_handler.go Apply templating on alert notifications on OK state (#47355) 2022-04-13 17:04:10 -03:00
extractor_test.go chore: remove sqlstore & mockstore dependencies from (most) packages (#57087) 2022-10-19 09:02:15 -04:00
extractor.go Chore: Sql store split for legacy alerting (#52901) 2022-08-03 11:17:26 -04:00
interfaces.go Apply templating on alert notifications on OK state (#47355) 2022-04-13 17:04:10 -03:00
models.go Move SignedInUser to user service and RoleType and Roles to org (#53445) 2022-08-10 11:56:48 +02:00
notifier_test.go Chore: SQL store split for annotations (#55089) 2022-09-19 10:54:37 +03:00
notifier.go Chore: Upgrade Go to 1.19.1 (#54902) 2022-09-12 12:03:49 +02:00
reader.go Chore: Remove bus from alerting rule (#47508) 2022-04-08 14:30:25 +02:00
result_handler.go Chore: SQL store split for annotations (#55089) 2022-09-19 10:54:37 +03:00
rule_test.go chore: remove sqlstore & mockstore dependencies from (most) packages (#57087) 2022-10-19 09:02:15 -04:00
rule.go Chore: StoreSplit tag service (#55453) 2022-09-21 08:04:01 -04:00
scheduler.go Chore/fix lint issues (#27704) 2020-09-22 16:22:19 +02:00
service_test.go chore: remove sqlstore & mockstore dependencies from (most) packages (#57087) 2022-10-19 09:02:15 -04:00
service.go chore: remove sqlstore & mockstore dependencies from (most) packages (#57087) 2022-10-19 09:02:15 -04:00
store_notification_test.go Refactor time durations (#58484) 2022-11-22 15:09:15 +08:00
store_notification.go chore: remove sqlstore & mockstore dependencies from (most) packages (#57087) 2022-10-19 09:02:15 -04:00
store_test.go chore: remove sqlstore & mockstore dependencies from (most) packages (#57087) 2022-10-19 09:02:15 -04:00
store.go chore: sqlstore cleanup (#60415) 2022-12-16 11:09:06 -05:00
test_notification.go Admin: Fix broken links to image assets in email templates (#58729) 2022-11-16 14:17:39 +01:00
test_rule.go Chore: SQL store split for annotations (#55089) 2022-09-19 10:54:37 +03:00