Skip to content

Resolve "Update Product Analytics backend for Snowplow compatibility"

What does this MR do and why?

Add snowplow support to the productAnalyticsState field

How to set up and validate locally

  1. Setup product analytics devkit and enable standard feature flags but do not set Jitsu Key on a project
  2. Set the product_analytics_instrumentation_key on the project settings (through rails console project.project_setting.update!(product_analytics_instrumentation_key: 'some key')
  3. Query productAnalyticsState (i.e. query { project(fullPath:"flightjs/Flight") { productAnalyticsState } }
  4. Note how it correctly queries the state of the snowplow stack by returning LOADING_INSTANCE or WAITING_FOR_EVENTS

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #404800 (closed)

Edited by Allen Cook

Merge request reports