Add service ping context to _code_pushes and code_review_user events
requested to merge 382419-add-service-ping-context-to-rcounts-source_code_pushes-and-code_review into master
What does this MR do and why?
Add custom context to Snowplow event according to the new schema
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
pry(main)> Feature.enable(:route_hll_to_snowplow_phase2)
pry(main)> Gitlab::UsageDataCounters::MergeRequestActivityUniqueCounter.track_approve_mr_action(user: User.first, merge_request: MergeRequest.first)
pry(main)> PostReceive.new.send :emit_snowplow_event, Project.first, User.first
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #382419 (closed)
Edited by Niko Belokolodov