Provide per user usage ping metrics for Global Search

Right now we have some general usage data on Global Search coming back from this usage ping: gitlab-foss#63887 (closed). It doesn't directly meet our needs for SMAU, though.

We need to update it for the following:

  • This does not incorporate API usage
  • We are capturing raw usage, rather than # of users using it (we have unique activity via snowplow, but that is .com only)

Proposal

We need to make the following change:

  • Capture number of unique users per month who perform a global search
    • Navbar?
    • from /search?
    • aggregated between the two pages?

The following new additions:

  • Add tracking of global searches done via the API endpoint
    • Aggregated
    • per user

It's probably also relevant to continue to have aggregated metrics and per user metrics so that we're able to evaluate unique uses against the total number of uses.

Related Links

Edited by Kai Armstrong