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.
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
- Run github-actions-runner-exporter 1.5.0 or newer with
ADOPTION_REPOSset to a comma-separated list of repo names in your org, for exampleADOPTION_REPOS=myproject. - 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".
- 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
.exeplus.zipcounts 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
Data source config
Collector config:
Upload an updated version of an exported dashboard.json file from Grafana
| Revision | Description | Created | |
|---|---|---|---|
| Download |
GitHub
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