Skip to content

Add timestamp to GitLab Standard Context

What does this MR do and why?

It adds context_generated_at field into GitLab standard context. That filed was added in order to help diagnose cases where Snowplow events are send along with stale context due to cached layout. https://gitlab.com/gitlab-org/gitlab/-/issues/345036#note_742348507

Iglu MR https://gitlab.com/gitlab-org/iglu/-/merge_requests/72/

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

  1. Follow https://docs.gitlab.com/ee/development/snowplow/implementation.html#snowplow-micro to set up Snowplow micro collector for local environment
  2. Trigger any Snowplow event for example visit http://gdk.test:3000/explore
  3. Check micro collector good events /micro/good within context field locate gitlab standard context and context_generated_at field

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 Piotr Skorupa

Merge request reports