grafana/pkg/services/sqlstore
Kyle Brandt dc3e17ba5b
Alerting: Change rule migration to be based on feature flag (#33792)
makes it so the feature flag can be turned on off, and the migration will be cleared and rerun. All existing NG alert rules, configuration settings, etc are removed when disabling the feature flag.
for https://github.com/grafana/alerting-squad/issues/142

Co-authored-by: Sofia Papagiannaki <sofia@grafana.com>
2021-05-11 08:08:39 -04:00
..
migrations Alerting: Change rule migration to be based on feature flag (#33792) 2021-05-11 08:08:39 -04:00
migrator Alerting: Change rule migration to be based on feature flag (#33792) 2021-05-11 08:08:39 -04:00
permissions Chore: Start harmonizing linting with plugin SDK (#25854) 2020-06-29 14:08:32 +02:00
searchstore use dynamic ID in test assertion for search (#33320) 2021-05-06 10:48:33 +02:00
sqlutil Chore: Add CloudWatch HTTP API tests (#29691) 2021-01-07 11:36:13 +01:00
alert_notification_test.go Alerting: Log alert warnings for obsolete notifiers when extracting alerts and remove spammy error (#28162) 2020-10-22 14:43:12 +03:00
alert_notification.go SQLStore: Close session in withDbSession (#31775) 2021-03-18 14:27:59 +01:00
alert_test.go Chore: avoid hard-coding IDs in integration tests (#33152) 2021-04-21 11:22:46 +03:00
alert.go PluginManager: Make Plugins, Renderer and DataSources non-global (#31866) 2021-03-17 16:06:10 +01:00
annotation_cleanup_test.go Bugfix 29848: Remove annotation_tag entries as part of annotations cleanup (#29534) 2020-12-08 19:41:35 +01:00
annotation_cleanup.go SQLStore: Close session in withDbSession (#31775) 2021-03-18 14:27:59 +01:00
annotation_test.go Chore: Fix SQL related Go variable naming (#28887) 2020-11-11 06:21:08 +01:00
annotation.go API: Return 400 on invalid Annotation requests (#32429) 2021-03-29 15:47:16 +02:00
apikey_test.go Return 404 when deleting non-existing API key (#33346) 2021-04-28 13:30:09 +02:00
apikey.go Return 404 when deleting non-existing API key (#33346) 2021-04-28 13:30:09 +02:00
dashboard_acl_test.go PluginManager: Make Plugins, Renderer and DataSources non-global (#31866) 2021-03-17 16:06:10 +01:00
dashboard_acl.go PluginManager: Make Plugins, Renderer and DataSources non-global (#31866) 2021-03-17 16:06:10 +01:00
dashboard_folder_test.go PluginManager: Make Plugins, Renderer and DataSources non-global (#31866) 2021-03-17 16:06:10 +01:00
dashboard_provisioning_test.go PluginManager: Make Plugins, Renderer and DataSources non-global (#31866) 2021-03-17 16:06:10 +01:00
dashboard_provisioning.go PluginManager: Make Plugins, Renderer and DataSources non-global (#31866) 2021-03-17 16:06:10 +01:00
dashboard_snapshot_test.go Chore: Fix SQL related Go variable naming (#28887) 2020-11-11 06:21:08 +01:00
dashboard_snapshot.go Chore(deps): Bump xorm.io/xorm from 0.8.1 to 0.8.2 (#30773) 2021-02-15 09:59:39 +01:00
dashboard_test.go Chore: avoid hard-coding IDs in integration tests (#33152) 2021-04-21 11:22:46 +03:00
dashboard_version_test.go PluginManager: Make Plugins, Renderer and DataSources non-global (#31866) 2021-03-17 16:06:10 +01:00
dashboard_version.go Chore: Fix SQL related Go variable naming (#28887) 2020-11-11 06:21:08 +01:00
dashboard.go [Alerting]: Use title instead of slug for retrieving the namespace (#32957) 2021-04-14 12:02:50 +03:00
database_wrapper.go instrumentation: make the first database histogram bucket smaller (#30995) 2021-02-08 19:51:48 +01:00
datasource_test.go Chore: Collect elasticsearch version usage stats (#31787) 2021-03-17 09:14:53 +00:00
datasource.go Chore: Collect elasticsearch version usage stats (#31787) 2021-03-17 09:14:53 +00:00
health_test.go API: Query database from /api/health endpoint (#28349) 2020-10-21 11:06:19 +02:00
health.go API: Query database from /api/health endpoint (#28349) 2020-10-21 11:06:19 +02:00
logger.go Chore: Update the xorm dependency (#22376) 2020-04-01 15:57:21 +02:00
login_attempt_test.go SQLStore: Run tests as integration tests (#28265) 2020-10-16 10:46:14 +03:00
login_attempt.go Chore: Fix staticcheck issues (#28854) 2020-11-05 11:57:20 +01:00
org_test.go Chore: avoid hard-coding IDs in integration tests (#33152) 2021-04-21 11:22:46 +03:00
org_users.go chore: avoid aliasing imports in services (#22499) 2020-02-29 13:35:15 +01:00
org.go Chore(deps): Bump xorm.io/xorm from 0.8.1 to 0.8.2 (#30773) 2021-02-15 09:59:39 +01:00
playlist_test.go playlist: Improve test (#29120) 2020-11-18 09:16:49 +01:00
playlist.go Chore: Require OrgId to be specified in delete playlist command (#29117) 2020-11-14 09:49:07 +01:00
plugin_setting.go PluginManager: Make Plugins, Renderer and DataSources non-global (#31866) 2021-03-17 16:06:10 +01:00
preferences_test.go Move middleware context handler logic to service (#29605) 2020-12-11 11:44:44 +01:00
preferences.go Move middleware context handler logic to service (#29605) 2020-12-11 11:44:44 +01:00
quota_test.go [Alerting]: Extend quota service to optionally set limits on alerts (#33283) 2021-05-04 19:16:28 +03:00
quota.go [Alerting]: Extend quota service to optionally set limits on alerts (#33283) 2021-05-04 19:16:28 +03:00
session.go SQLStore: Close session in withDbSession (#31775) 2021-03-18 14:27:59 +01:00
sql_test_data.go Chore: Fix SQL related Go variable naming (#28887) 2020-11-11 06:21:08 +01:00
sqlbuilder_test.go PluginManager: Make Plugins, Renderer and DataSources non-global (#31866) 2021-03-17 16:06:10 +01:00
sqlbuilder.go LibraryPanels: Adds permissions to getAllHandler (#31416) 2021-02-24 14:06:22 +01:00
sqlstore_test.go Redact sensitive values before logging them (#33829) 2021-05-10 17:03:10 +02:00
sqlstore.go Alerting: Change rule migration to be based on feature flag (#33792) 2021-05-11 08:08:39 -04:00
sqlstore.goconvey feat(invite): small progress 2015-07-17 14:42:49 +02:00
star.go Chore: Fix SQL related Go variable naming (#28887) 2020-11-11 06:21:08 +01:00
stars_test.go SQLStore: Run tests as integration tests (#28265) 2020-10-16 10:46:14 +03:00
stats_integration_test.go Usage Stats: Remove unused method for getting user stats (#30074) 2021-01-26 14:13:25 +01:00
stats_test.go PluginManager: Make Plugins, Renderer and DataSources non-global (#31866) 2021-03-17 16:06:10 +01:00
stats.go SQLStore: Close session in withDbSession (#31775) 2021-03-18 14:27:59 +01:00
tables.go Began work on real sql schema definitions, and migration engine 2015-01-17 21:40:22 +01:00
tags_test.go SQLStore: Run tests as integration tests (#28265) 2020-10-16 10:46:14 +03:00
tags.go Chore: Enable Go linter gocritic (#26224) 2020-07-16 14:39:01 +02:00
team_test.go PluginManager: Make Plugins, Renderer and DataSources non-global (#31866) 2021-03-17 16:06:10 +01:00
team.go PluginManager: Make Plugins, Renderer and DataSources non-global (#31866) 2021-03-17 16:06:10 +01:00
temp_user_test.go Short URL: Cleanup unvisited/stale short URLs (#28867) 2020-11-09 18:08:16 +01:00
temp_user.go Chore: Fix SQL related Go variable naming (#28887) 2020-11-11 06:21:08 +01:00
tls_mysql.go Chore: Fix staticcheck issues (#28854) 2020-11-05 11:57:20 +01:00
transactions_test.go SQLStore: Close session in withDbSession (#31775) 2021-03-18 14:27:59 +01:00
transactions.go fix sqlite3 tx retry condition operator precedence (#32897) 2021-04-13 18:26:54 +03:00
user_auth_test.go Generic OAuth: Prevent adding duplicated users (#32286) 2021-04-09 13:28:35 +02:00
user_auth.go Generic OAuth: Prevent adding duplicated users (#32286) 2021-04-09 13:28:35 +02:00
user_test.go Chore: avoid hard-coding IDs in integration tests (#33152) 2021-04-21 11:22:46 +03:00
user.go SQLStore: Close session in withDbSession (#31775) 2021-03-18 14:27:59 +01:00