Add service ping context for usage_activity_by_stage_monthly metrics
Problem
The snowplow events:
-
usage_activity_by_stage_monthly.create.action_monthly_active_users_ide_edit (RedisHLL) -
usage_activity_by_stage_monthly.create.merge_requests_users (RedisHLL) -
usage_activity_by_stage_monthly.create.action_monthly_active_users_design_management (RedisHLL)
do not pass the required context yet to be usable for the data team.
Desired Outcome
Context as described here is passed to the event.
Hints
- For
usage_activity_by_stage_monthly.create.action_monthly_active_users_ide_edit
add context at https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/usage_data_counters/editor_unique_counter.rb#L51 - For
usage_activity_by_stage_monthly.create.action_monthly_active_users_design_management
add context at https://gitlab.com/gitlab-org/gitlab/-/blob/master/app/services/event_create_service.rb#L264
Edited by Niko Belokolodov