Skip to content

Track a product usage event with the new standardized context within AI Gateway

Problem to solve

We want to track events regarding Duo Chat usage from within the Gateway. When gitlab-org/gitlab#461558 (closed) is delivered we should be able to send new events with this agreed upon context.

#491 (closed)

However, I want to zoom out a bit and make sure we are aligned on the end-goal behind this work. In the context of unit primitives, leadership is interested in these specific metrics:

  1. For a given customer, how many active users are using a combination of unit primitives?
  2. For a given customer, how many active users are using Duo across all features?
  3. For a given customer, how are they reporting on proof-of-value metrics for each unit primitive?
  4. For a given customer, how many active users are using a particular unit primitive?

Desired Outcome

All currently necessary events regarding Duo Chat usage that we want to track from the AI Gateway are tracked

Proposed Solution

Iteration proposal added here !1113 (comment 2007597606)

ETA Max 1-2 weeks ref

Links / references

Edited by Israel Weeks