Skip to content

Latest commit

 

History

History
executable file
·
18 lines (12 loc) · 690 Bytes

readme.md

File metadata and controls

executable file
·
18 lines (12 loc) · 690 Bytes

newrelic-monthlymetrics

Script to gather metrics about how the teams are functioning and how the community is contributing.

  1. set your GitHub API token as an environment variable

export GITHUB_TOKEN='your_token'

  1. Configure your teams in the teams.json file
  2. run the script using python3 metrics.py

This script makes the following assumptions

  1. You're using GitHub teams to indicate who is a team member and who is an external contributor.
  2. New bugs get the label needs-triaged to indicate the bug has not yet been reviewed by the team. Once the review has occurred, the label should be removed.

Requirements

  • pip3 install python-dateutil
  • pip3 install PyGithub