Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(perf-detector-threshold-configuration) Added datamigration for c… (
#53109) For issue: #51315 Steps outlined: [here](https://www.notion.so/sentry/Removing-World-Map-display-from-Discover-and-Dashboards-e49eb198fe294ad0a1b4c47b9c3619c0?pvs=4#43e2c318d1eb4f93987718b82307f56f). - The option to add widgets with world map visualization has been removed from the frontend: [PR](#53072) - Won't be merging this PR until the changes above are merged. - Now we are left with existing World map widgets. <img width="451" alt="Screenshot 2023-07-19 at 10 54 55 AM" src="https://github.com/getsentry/sentry/assets/60121741/ab1b3bbf-8319-43db-84fd-de8a48b6d1c2"> - This data migration intends to convert the worldmap widgets to table widgets with the following changes: - - Display type of Widget is changed from 5 (world map) to 4 (table). - - `'has:geo_country_code'` condition is addded to each Widget Query. - - Added `'geo.country_code' `and `'geo.region' `columns to each Widget Query. - - Added `'geo.country_code'` and `'geo.region'` fields to each Widget Query. - - Aggregates and order columns remain unchanged. --------- Co-authored-by: Abdullah Khan <abdullahkhan@PG9Y57YDXQ.local>
- Loading branch information