Configuring GitHub Copliot
LinearB integrates with GitHub Copilot to track adoption, usage, and code acceptance across your teams. Admins can configure the integration in Settings using a personal access token, ensuring Copilot activity flows directly into AI Insights.
Updated
by Steven Silverstone
LinearB integrates with GitHub Copilot to track adoption, usage, and acceptance metrics across your engineering teams. This integration helps you understand how widely Copilot is being used, how often suggestions are accepted, and what impact Copilot has on your codebase.
Admins can configure Copilot in Settings > Company Settings > AI Tools > Copilot by providing a personal access token (PAT). Once connected, usage data appears in AI Insights.

Overview
GitHub Copilot metrics allow you to:
- Measure adoption rate across your organization.
- Track daily active and engaged users.
- Monitor how many suggestions Copilot provides versus how many are accepted.
- Evaluate the acceptance rate of Copilot-generated code.
This data feeds directly into the AI Tools Usage and AI Adoption widgets in AI Insights.

Setup Steps
- In the LinearB sidebar, go to Settings > Company Settings > AI Tools > GitHub Copilot.
- Generate a GitHub Personal Access Token (PAT) with the required scopes.
- Paste the token into the Token field.
- Choose which organizations to track:
- Include all organizations — Track usage across all GitHub organizations.
- Select organizations by regex — Use a regex expression to match orgs.
- Select organizations manually — Pick orgs from a list.
- Click Save.
- Verify the connection shows as Connected with the last updated date.

Metrics
Once connected, the following metrics are available in AI Insights:
- Adoption Rate — Percentage of developers using Copilot.
- Active Users — Average number of developers using Copilot per day.
- Engaged Users — Average number of developers who accept at least one Copilot suggestion per day.
- Code Suggestions — Average number of Copilot suggestions generated per day.
- Code Acceptance — Average number of Copilot suggestions accepted per day.
- Code Acceptance Rate — Percentage of Copilot suggestions accepted.
- Code Lines Suggestions — Average number of Copilot-suggested lines per day.
- Code Lines Accepted — Average number of Copilot-suggested lines accepted per day.
- Code Lines Acceptance Rate — Percentage of suggested lines accepted into the codebase.

Verify in AI Insights
Once enabled, Copilot activity appears in:
- AI Tools Usage — Adoption trends, active users, acceptance rates, and lines written.
- AI Adoption — Contributions from Copilot alongside other AI tools.

Troubleshooting
If Copilot data does not appear in AI Insights:
- Confirm the PAT is valid and has not expired.
- Verify that the correct organizations are included.
- Ensure Copilot activity has occurred recently in your repositories.
- Re-enter the token if the status changes to Disconnected.
Related Articles
How did we do?