Skip to content

Upstream commit metrics scraping script and container definition #483

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 25, 2025

Conversation

jriv01
Copy link
Contributor

@jriv01 jriv01 commented Jun 24, 2025

This upstreams a script for daily scraping of llvm/llvm-project for new commits. The scraped commits are queried against GitHub Archive BigQuery to determine useful metrics such as how many commits are submitted with or without a pull request and how many of those pull requests are reviewed or approved.

This container will run in the cluster and will push information to a Grafana dashboard similar to https://llvm.grafana.net/public-dashboards/21c6e0a7cdd14651a90e118df46be4cc

@jriv01 jriv01 marked this pull request as ready for review June 24, 2025 20:33
@lnihlen lnihlen merged commit e6a5e3f into llvm:main Jun 25, 2025
2 checks passed
lnihlen pushed a commit that referenced this pull request Jun 26, 2025
Add a GItHub Action workflow that builds the operational metrics
container defined in `llvm-ops-metrics/ops-container` (#483) and pushes
it to the GitHub container registry.

This container scrapes
[llvm-project](https://github.com/llvm/llvm-project) for new commits &
their associated reviews at a daily cadence and exports that data to
Grafana for visualization.

This workflow definition closely follows the workflow for building the
[premerge metrics container in
llvm-project](https://github.com/llvm/llvm-project/blob/main/.github/workflows/build-metrics-container.yml)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants