Skip to main content

Introduction

TLDR

Ever wanted to track your GitHub clones, stars stats over time for as long as you want? Well, now you can!

To track your GitHub stats, you need:

  1. Access to a deployed GitHub metrics tracker, or deploy your own.
  2. To set up a GitHub action to post metrics to the tracker.

Here's a high level overview of the solution architecture:

The image shows the solution architecture

Reporting with Power BI

The GitHub repo metrics data is stored in an Azure SQL database. Numerous reporting tools can visualize data from Azure SQL. This solution uses Power BI to visualize the data. Azure SQL is used with Power BI as it supports Power BI Direct Query, a more efficient way to connect to data sources.

The image shows reporting with Power BI

Contributing

This GitHub Metrics project is open source and welcomes contributions. Please raise an issue or submit a pull request.