Skip to content

Add Code navigation admin analytics

Created by: macraig

High-level goal

Giving admins a better workflow and dashboards to help them get precise code graph data for all repositories (whether they do it themselves or encourage others in their organization to do it) and understand where there are gaps. Answer questions like: What % of navigation events are precise? How can I make that number higher?

Metrics we can surface

  • the number of code nav actions (defs, refs, hovers), if available
  • the ratio of precise/search-based actions
  • the number of repos with and without precise navigation

Current looker dashboard for reference

(Updated after consulting with @efritz )

What we can get:

  • Total number of repositories
  • Total number of repositories without precise code intel (global)
  • Total number of repositories with precise code intel (global)
  • Total number of repositories with precise code intel for language X

What we can’t get:

  • Total number of repositories for language X
  • Total number of repositories without precise intel for language X
  • % of precise per repo

Ideas

  • Find the repo that has more usage and a high ratio of search-based/precise, or no precise. Prompt for admin: "If you enable indexing for this repo, you can expect X more precise events which translate to Y dev time saved"
  • For languages we support: "If you set up Ruby you would get X more precise events which translate to Y dev time saved"

Tracker