mirror of
https://github.com/fleetdm/fleet
synced 2026-05-17 14:08:25 +00:00
Fixes #29140 This is an engineering initiated story that does not impact product. This code has been running and manually tested in my own repo: https://github.com/getvictor/eng-metrics See [README.md](https://github.com/fleetdm/fleet/blob/victor/29140-eng-metrics/.github/actions/eng-metrics/README.md) in this branch for details. The metrics can be viewed on https://fleeteng.grafana.net/d/b97a629f-3626-4a28-9781-0fa3c8427897/engineering-metrics (credentials in 1Password) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Introduced an engineering metrics collection tool that gathers GitHub metrics (e.g., Time to First Review, Time to Merge) and uploads them to BigQuery. * Added support for user group management and product group mapping via markdown parsing. * Enabled print-only mode for testing metrics output without uploading to BigQuery. * Added automatic handling of bot filtering, weekend-aware time calculations, and differential syncing of user groups. * Implemented robust GitHub username validation and retry logic for API rate limits. * **Documentation** * Added comprehensive usage and configuration documentation for the engineering metrics tool. * **Chores** * Added configuration, environment example, and workflow files for automated metrics collection and testing. * Specified Node.js version and set up project dependencies and scripts. * **Tests** * Added extensive unit and end-to-end test suites to ensure reliability of metrics collection, configuration, and integrations. <!-- end of auto-generated comment: release notes by coderabbit.ai --> |
||
|---|---|---|
| .. | ||
| actions | ||
| ISSUE_TEMPLATE | ||
| scripts | ||
| workflows | ||
| dependabot.yml | ||
| pull_request_template.md | ||