Skip to content

Copy unique_active_users_monthly to Snowplow

What does this MR do and why?

Related to #382877 (closed)

Replicate unique_active_user RedisHLL event logic in 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. Choose a user that you can log in to GitLab with and set their last_activity_on attribute to a date before today's date, for example:
u = User.find_by(username: 'root')
u.update!(last_activity_on: Date.yesterday)
  1. Log in to GitLab using that user
  2. Check if a new event with unique_active_user event value 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