fleet/.github
Victor Lyuboslavsky 0d095b3778
Add workflows to collect engineering metrics. (#30540)
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 -->
2025-07-03 16:59:25 -05:00
..
actions Add workflows to collect engineering metrics. (#30540) 2025-07-03 16:59:25 -05:00
ISSUE_TEMPLATE Clarify GitOps changes checkboxes in story template (#30411) 2025-06-30 11:17:36 -05:00
scripts Updated reviewers list (#28703) 2025-04-30 14:24:57 -05:00
workflows Add workflows to collect engineering metrics. (#30540) 2025-07-03 16:59:25 -05:00
dependabot.yml Remove daily schedule so it only gets triggered by security alerts (#14871) 2023-11-02 09:53:40 -05:00
pull_request_template.md Add GitOps section to PR template (#29368) 2025-05-22 12:07:38 -05:00