grafana/pkg/services/alerting
Sofia Papagiannaki 8b77ee2734
SQLStore: Ensure that sessions are always closed (#55864)
* SQLStore: Ensure that sessions are always closed

Delete `NewSession()` in favour of `WithDbSession()`

* Add WithDbSessionForceNewSession to the interface

* Apply suggestions from code review
2022-09-29 15:55:47 +03:00
..
conditions Chore: Upgrade Go to 1.19.1 (#54902) 2022-09-12 12:03:49 +02:00
notifiers Chore: StoreSplit tag service (#55453) 2022-09-21 08:04:01 -04: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 Chore: SQL store split for annotations (#55089) 2022-09-19 10:54:37 +03:00
eval_context.go Chore: SQL store split for annotations (#55089) 2022-09-19 10:54:37 +03: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 Handle ioutil deprecations (#53526) 2022-08-10 15:37:51 +02: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: Sql store split for legacy alerting (#52901) 2022-08-03 11:17:26 -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: Sql store split for legacy alerting (#52901) 2022-08-03 11:17:26 -04:00
service.go Chore: Sql store split for legacy alerting (#52901) 2022-08-03 11:17:26 -04:00
store_notification_test.go Chore: Sql store split for legacy alerting (#52901) 2022-08-03 11:17:26 -04:00
store_notification.go SQLStore: Ensure that sessions are always closed (#55864) 2022-09-29 15:55:47 +03:00
store_test.go Chore: implement sqlx into tag service (#55908) 2022-09-28 08:23:40 -04:00
store.go Chore: StoreSplit tag service (#55453) 2022-09-21 08:04:01 -04:00
test_notification.go Chore: SQL store split for annotations (#55089) 2022-09-19 10:54:37 +03:00
test_rule.go Chore: SQL store split for annotations (#55089) 2022-09-19 10:54:37 +03:00