Skip to content

Admin Usage Analytics (Dev time saved) MVP

Created by: thenamankumar

Designs: https://www.figma.com/file/mmWwgzzqTmpLsxwmiiZwfE/Admin-stats?node-id=13%3A89 Doc: https://docs.google.com/document/d/1TlHOjbtFICWiOqQsrHjhZrOBc04Y2kdQaNOFJCj9f_8/edit

This issue tracks the Admin Analytics MVP project, planned to be rolled out under the feature flag with the July 2022 release.

The scope of the MVP is as follows:

  • Utilize event-logs table to build analytics charts showing only the last 3 months of data.
  • No architectural changes around data storage to support full 1-year analytics yet.
  • Feature flag the new analytics.
  • Show charts for:
    • Code Search
    • Code Intel
    • Code Insights
    • Extensions
    • Notebooks
    • Batch Changes
    • Users
  • Add a link to the analytics page in either the user dropdown menu or top navbar.
  • Success metrics tracking for the usage of admin analytics. Metrics TBD: @ryphil
  • Build an aggregated charts data caching layer in Redis for fast page loads.
  • Write a cron job to update the Redis cache with fresh aggregated data for the charts.