GitHub Repo Traffic & Downloads

Adoption signals for GitHub repos tracked by github-actions-runner-exporter (ADOPTION_REPOS): release asset downloads, stars, forks, watchers, open issues and repo traffic (views, clones, referrers, popular paths). Traffic needs Administration (read) on the exporter token.

GitHub Repo Traffic & Downloads screenshot 1

Track how a GitHub project is picked up: release downloads, stars and repo traffic, with history. Built for github-actions-runner-exporter, a small open-source Go exporter (MIT). No telemetry is added to the tracked project; it only reads public GitHub data and your own repo traffic.

What it shows

  • Right now: stars, forks, watchers, open issues, all-time downloads, downloads in the selected range
  • Downloads: per day by asset, per release, and per asset (checksum files excluded from the totals)
  • Community: stars, forks and watchers over time, open issues and open PRs
  • Repo traffic: views and clones per day with unique visitors, top referrers, popular content

Setup

  1. Run github-actions-runner-exporter 1.5.0 or newer with ADOPTION_REPOS set to a comma-separated list of repo names in your org, for example ADOPTION_REPOS=myproject.
  2. Give the exporter's fine-grained token Administration: read on those repos. Without it everything works except the traffic panels, and the "Traffic API" tile reads "no access".
  3. Scrape the exporter with Prometheus, then import this dashboard and pick your Prometheus data source and repo.

Notes

  • GitHub keeps traffic for only 14 days. Prometheus keeps the history, so the charts only go back to when the exporter first ran.
  • Download counts include CI and mirror fetches, and a Windows .exe plus .zip counts twice for one person.
  • Container (ghcr.io) pull counts are not available from any GitHub API, so they aren't included.
  • Metrics and full docs: https://github.com/drumandbytes/github-actions-runner-exporter#adoption-stats
Revisions
RevisionDescriptionCreated
GitHub

GitHub

by Grafana Labs
Grafana Labs solution

Easily monitor GitHub, a service for software development and version control using Git, with Grafana Cloud's out-of-the-box monitoring solution.

Learn more

Get this dashboard

Import the dashboard template

or

Download JSON

Datasource
Dependencies