Skip to content

Create Product Analytics tracking destination [RUN AS-IF-FOSS]

What does this MR do?

Building on !45918 (merged), this MR creates a ProductAnalytics tracking destination, and plugs it into Gitlab::Tracking. The previous ProductAnalytics tracking implementation (!39270 (merged)) is removed.

This functionality is behind a new feature flag, product_analytics_tracking (#285519 (closed)).

Notes:

  • The Usage Ping setting must be enabled to send events
  • The events will be associated to the self monitoring project
  • The product_analytics feature flag must be enabled (for the self-monitoring project) in order for events to be received by the collector
  • Due to scalability concerns, we are only allowing one event to be collected through the ProductAnalytics tracker - category: epics, action: promote (called here)

Related to #254832 (closed)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team
Edited by Alishan Ladhani

Merge request reports