Closes #292 AI Alliance Metrics Collection #688
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
β¨ Feature / Enhancement PR
π Epic / Issue
Closes #292
π Summary (1-2 sentences)
Adds a Github Action to collect repository metrics and submit them as a parquet file to the AI Alliance analytics data lake.
π§ͺ Checks
make lint
not executed. Also,make lint <yaml file name>
is failing due to a bug inmake lint
make lint
passesmake test
passesπ Notes (optional)
Job is intended to run once a day, per the cron in the .yaml file.
There are also FIVE environment variables that need to be set for the project in order to get the metrics into the AI Alliance data lake:
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
AWS_REGION
AWS_S3_BUCKET
SPECIAL_GH_TOKEN
If these are not set prior to the PR being merged and the first run of the job, the job will fail. See @jolson-ibm for the values.
Once the job is up and running, metrics can be viewed on the AI Alliance Grafana dashboard, and compared to other AI Alliance projects.