github-copilot-resources/copilot-metrics-viewer

Tool to visualize the Copilot metrics provided via the Copilot Business Metrics API

What it solves

GitHub Copilot Metrics Viewer is a dashboard application that helps GitHub Organization and Enterprise administrators analyze the adoption, impact, and cost of GitHub Copilot. It solves the problem of visualizing complex usage data from GitHub's APIs, providing clear charts and reports on how Copilot is being used across teams and individuals.

How it works

The application connects to the GitHub Copilot Usage Metrics API to fetch data. It operates in two modes:

  • Direct API Mode: Fetches the latest 28-day rolling window of data directly from GitHub on each page load.
  • Historical Mode: Uses a PostgreSQL database and a sync service to collect and store metrics daily, enabling unlimited data retention and long-term trend analysis.

It also integrates with the GitHub Billing API to provide cost analysis and supports importing GitHub enterprise billing CSV exports for long-term historical billing data.

Who it’s for

GitHub Organization and Enterprise administrators who need to monitor Copilot seat utilization, track adoption rates, and manage AI credit spend across their developer teams.

Highlights

  • Comprehensive Analytics: Visualizes active users, feature usage (IDE chat, agent mode, CLI), and code acceptance rates.
  • Team-Based Insights: Derives team-level metrics by aggregating per-user data, allowing for side-by-side team comparisons.
  • Billing & Cost Tracking: Tracks AI credit spend per model, SKU, and user, with admin drill-downs into individual user insights.
  • Personalized Dashboards: A "My Usage" tab allows individual developers to see their own activity and AI credit spend.
  • Flexible Reporting: Supports date range filtering (up to 100 days) and exports data to CSV for further analysis.

Related

  • Project
  • Dispatch
  • Project
  • Project
  • Project