Allow re-onboarding after BYOC
requested to merge 448675-remove-instrumentation-key-when-clearing-project-configurator-connection-string-to-allow-re into master
What does this MR do and why?
Cleans up instrumentation key when clearing project configurator connection string to allow re-onboarding.
This MR fixes a bug when
- a BYOC is onboarded
- user removes the BYOB product analytics settings
because instrumentation key from BYOC is not cleaned up causing the user to cannot onboard to GitLab managed instance.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
How to set up and validate locally
- Onboard a BYOC product analytics
- Visit project settings -> analytics
- Remove all the values under Data Sources
- Go to analytics dashboards: http://gdk.test:3000/namespace/project/-/analytics/dashboards
- Onboard to GitLab managed instance
- You should be able to successfully onboard
Related to #448675 (closed)
Edited by Halil Coban