Skip to content

Bumps analytics manager version

Surabhi Suman requested to merge ss/upgrade-analytics-manager into main

What does this MR do and why?

This updates analytics manager version to 1.2.0 which adds a sessions_partition table when onboarding new projects as well as projects already onboarded to PA. This also creates a new mv which will copy any new write to sessions_partition along with sessions table.

MR acceptance checklist

  • The correct type labels have been applied to this MR.
  • This MR has been made as small as possible, to improve review efficiency and code quality.
  • This MR has been self-reviewed per the code review guidelines.
  • The changes have undergone manual testing and are functioning as intended.
  • This MR has updated the Chart.yaml version number following SemVer versioning practices.
  • This MR documents any breaking changes in the MR description, and the upgrade path has been documented in the first commit as well as in MR description.

How to set up and validate

  1. Upgrade the release with helm upgrade -f custom.values.yaml [RELEASE_NAME]
  2. Check clickhouse database tables for existing projects. It should have a new table sessions_partition , a new MV sessions_partition_mv . Try generating a new event using SDK or manually enter rows into snowplow_events. Be sure to check that user_id_type is in ('cookie', 'identify') for the newly entered data. Only those rows are check into sessions_mv and sessions_partition_mv . Here's the MR for analytics-manager.
  3. Try same with newly onboarded project to PA.

How to deploy upon merging

Numbered steps to explain how this change needs to be deployed. For instance, if there are any changes that should be made outside of the code changes themselves.

Merge request reports