Skip to content

This repo contains various github copilot "stuff" pulled from different sources, with my tweaks.

License

Notifications You must be signed in to change notification settings

raffertyuy/github-copilot-metrics

Repository files navigation

This repo is a mashup of things relating to GitHub Copilot Usage Metrics.

As this repo copies from the various sources, the code may not be updated to the latest version. Please see the following references for the latest code from the original sources. It currently contains:

  1. GitHub's Copilot Metrics Viewer
  • Live metrics as returned by the GitHub Copilot Usage Metrics API, which only contains the last 28 days of data.
  • The dashboard can only show the metrics for a single enterprise, organization or team.
  • Multi-org/team metrics export is not supported yet.
  1. A GitHub Action to deploy the viewer to Azure Static Web Apps
  • Uses actions variables and secrets to set the SWA environment settings.
  • Uses actions secrets to set the Entra ID authentication settings.
  1. A GitHub Action to export the usage metrics to CSV
  • Exports for a single enterprise, single org and single team.
  • Multi-org/team metrics export is not supported yet.
  1. A GitHub Action to export the usage metrics in the GitHub Actions summary to CSV/JSON/XML
  • Exports for a single enterprise, single org and single team.
  • Ability to export for specific days (instead of always the last 28 days).

GitHub Copilot Usage Metrics Viewer

To run locally

  1. Create a .env file according to .env.example
  2. Install dependencies with npm install
  3. Run with npm run serve
  • alternatively, you may run using Static Web Apps CLI with swa build and swa start

About

This repo contains various github copilot "stuff" pulled from different sources, with my tweaks.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published