Skip to content

Migrate analytics events to snowplow vol. 1

Michał Wielich requested to merge michold-migrate-analytics-events-v1 into master

What does this MR do and why?

Related to https://gitlab.com/gitlab-org/gitlab/-/issues/369846

Migrate some of the redis_hll_counters.analytics.analytics_total_unique_counts_monthly event's sub-events to Snowplow.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

  1. Enable snowplow micro
  2. Trigger any of the events migrated here:
  • Go to menu -> admin -> analytics -> DevOps Reports -> refresh the website
  • Go to menu -> admin -> analytics -> DevOps Reports -> DevOps Score -> refresh the website
  • Go to menu -> admin -> analytics -> Usage Trends
  • In a group, go to analytics -> DevOps adoption
  • In a group, go to analytics -> contribution
  • In a project, go to analytics -> merge requests
  1. Check if a new event with perform_analytics_usage_action action and se_property attribute describing the performed action has been registered at localhost:9090/micro/good

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Michał Wielich

Merge request reports