Skip to content

Product Analytics: instrument `Event.create` commit hook

Marshall Cottrell requested to merge marshall_activity-events-to-pa-backend into master

What does this MR do and why?

Related to gitlab-org/incubation-engineering/ai-assist&3 and #414987 (closed).

We would like to be able to correlate AI feature usage analytics with other metrics already available in VSA dashboards. This is not possible to do right now because Code Suggestion telemetry event data is not stored in the application.

We have a PoC for shipping CS event data to Product Analytics. You can see the dashboard here: https://gitlab.com/gitlab-org/gitlab/-/analytics/dashboards/ai_usage

The goal of this MR is to begin sending data from the events table in PG to the Product Analytics backend. This will allow us to begin surfacing and correlating much of the data that is currently in VSA dashboards.

This is only intended as a PoC, but may lay groundwork necessary for broader consolidation of VSA <-> PA. See Value Streams Dashboard - extend to "Product An... (&8925)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Merge request reports