Cleanup instrumentation key on update
requested to merge 421609-projects-cannot-re-setup-product-analytics-at-the-project-level-if-they-ve-already-onboarded into master
What does this MR do and why?
When updating product analytics settings, we keep product_analytics_instrumentation_key
. This causes problems because the app_id in the db would belong to previous analytics stack.
With this change we clear the product_analytics_instrumentation_key
so that initialize product analytics worker can set the correct key.
Screenshots or screen recordings
Before | After |
---|---|
![]() |
![]() |
How to set up and validate locally
- Set up instance level product analytics following the docs.
- In the same project, visit Settings -> Analyze and set up a different analytics stack
- Go to Analyze -> Dashboards and click Setup
- Send some events. You should see the events in the dashboard.
MR acceptance checklist
-
I have evaluated the MR acceptance checklist for this MR.
Related to #421609 (closed)
Edited by Halil Coban