GitHub Integration

What it does

  • Add optional engineering metrics to your cockpit, such as test coverage and code review indicators.

Connect GitHub

  1. Go to Integrations → GitHub → Connect.
  2. Paste your Personal Access Token (PAT).
  3. Choose a repository to enable metrics.

Use on the Cockpit

  • See test coverage, quality trend, and code review stats for the selected repository.
  • Switch repositories anytime from the integration modal.

Tips

  • Start with the repo most representative of your team’s work for meaningful metrics.

Examples and use cases

  • Repository health at a glance:
    • "Summarize our repository health for a non‑technical stakeholder."
  • Test coverage focus:
    • "What’s our test coverage right now and is it trending up or down?"
  • Code review practices:
    • "Are our code reviews timely? Suggest 3 improvements to speed them up."
  • Planning input:
    • "Based on the code quality metrics, suggest 2 engineering initiatives for next quarter."

Metrics table

Card Metric Why it matters
Quality Daily/Weekly/Monthly Trend over time
Coverage Percentage Confidence in tests
Reviews Comments, merge ratio, time Collaboration effectiveness
flowchart LR
  GH[GitHub] --> M[Metrics Collector]
  M --> D[Cockpit Cards]