grafana/pkg/setting
Matthew Jacobson 5a80962de9
Alerting: Add clean_upgrade config and deprecate force_migration (#78324)
* Alerting: Add clean_upgrade config and deprecate force_migration

Upgrading to UA and rolling back will no longer delete any data by default. 
Instead, each set of tables will remain unchanged when switching between 
legacy and UA. As such, the force_migration config has been deprecated 
and no extra configuration is required to roll back to legacy anymore.

If clean_upgrade is set to true when upgrading from legacy alerting to Unified
Alerting, grafana will first delete all existing Unified Alerting resources,
thus re-upgrading all organizations from scratch. If false or unset,
organizations that have previously upgraded will not lose their existing Unified
 Alerting data when switching between legacy and Unified Alerting.

 Similar to force_migration, it should be kept false when not needed as it may
 cause unintended data-loss if left enabled.

---------

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2023-11-30 11:01:11 -05:00
..
testdata Config: Show user-friendly error message instead of stack trace (#16564) 2019-04-25 08:29:07 +02:00
date_formats_test.go Chore: Fix goimports grouping in other backend platform packages (#62422) 2023-01-30 08:26:42 +00:00
date_formats.go Prometheus: Support 1ms resolution intervals (#44707) 2022-06-29 07:39:50 +02:00
dynamic_settings_test.go Tests: use t.Setenv to set env vars (#69516) 2023-06-05 11:31:03 +02:00
expanders_test.go Tests: use t.Setenv to set env vars (#69516) 2023-06-05 11:31:03 +02:00
expanders.go imagestorage: fix templating of public_url option for webdav (#74885) 2023-09-28 00:35:10 +03:00
provider.go Settings: Actually deprecate access to feature flags (#78073) 2023-11-13 11:39:01 -08:00
setting_azure_test.go Azure: Configuration for user identity authentication in datasources (Experimental) (#50277) 2023-05-15 18:00:54 +01:00
setting_azure.go Azure: Settings for Azure AD Workload Identity (#75283) 2023-09-28 12:05:16 +01:00
setting_data_proxy.go Datasources: Add user_agent header customization for outgoing HTTP requests (#63769) 2023-02-28 14:10:05 +01:00
setting_feature_toggles_test.go FeatureFlags: define features outside settings.Cfg (take 3) (#44443) 2022-01-26 09:44:20 -08:00
setting_feature_toggles.go Settings: Actually deprecate access to feature flags (#78073) 2023-11-13 11:39:01 -08:00
setting_featuremgmt.go Feature Toggles API: Trigger webhook call when updating (#75254) 2023-09-25 19:11:24 +01:00
setting_grafana_javascript_agent.go Frontend logging: Remove Sentry javascript agent support (#67493) 2023-05-02 12:10:56 +03:00
setting_plugins_test.go Feature: Allow to skip plugin loading (#74840) 2023-09-14 12:58:12 +02:00
setting_plugins.go Plugins: Add managed instance installation resources (#76767) 2023-10-24 16:21:37 +02:00
setting_quota.go Add quota setting for correlations (#65076) 2023-03-21 15:27:25 -05:00
setting_search.go Search: Add search index configuration options (#55525) 2022-09-20 19:09:55 -04:00
setting_secure_socks_proxy.go Plugins: Update PDC pattern from latest plugin SDK changes (#76576) 2023-10-16 16:40:04 +02:00
setting_session_test.go Chore: Fix goimports grouping in other backend platform packages (#62422) 2023-01-30 08:26:42 +00:00
setting_smtp.go Email: Allow configuration of content types for email notifications (#34530) 2021-07-19 13:31:51 +03:00
setting_storage.go Storage: externalize allow_unsanitized_svg_upload (#52703) 2022-07-25 21:11:17 +04:00
setting_test.go Settings: Add tests for handleAWSConfig (#71486) 2023-07-14 13:04:12 +02:00
setting_unified_alerting_test.go Alerting: Add ability to control scheduler tick interval via config (#71980) 2023-07-26 12:44:12 -04:00
setting_unified_alerting.go Alerting: Add clean_upgrade config and deprecate force_migration (#78324) 2023-11-30 11:01:11 -05:00
setting.go Alerting: Add clean_upgrade config and deprecate force_migration (#78324) 2023-11-30 11:01:11 -05:00