Update json schema version for StandardContext
What does this MR do and why?
This MR updates schema version to v 1.0.7 which includes user_id
field from !71353 (merged)
Related to #338150 (closed)
How to set up and validate locally
- Enable user tracking
Feature.enable(:add_actor_based_user_to_snowplow_tracking, User.first)
- Emit an event
Gitlab::Tracking.event('abc', 'def', user: User.first)
- Visit Snowplow Micro (
/all/good/
) - New event will be present as
"contexts": {
"schema": "iglu:com.snowplowanalytics.snowplow/contexts/jsonschema/1-0-0",
"data": [
{
"schema": "iglu:com.gitlab/gitlab_standard/jsonschema/1-0-7",
"data": {
"environment": "development",
"source": "gitlab-rails",
"plan": null,
"extra": {},
"user_id": 1
}
}
]
},
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.
Edited by Niko Belokolodov