Copy as Markdown[Open in ChatGPT](https://chatgpt.com/?q=Read%20https%3A%2F%2Fcoralogix.com%2Fdocs%2Fuser-guides%2Fai%2Fcode-agents%2Fcopilot.md%20and%20help%20me%20with%20my%20question%20about%20this%20Coralogix%20documentation%20page.)[Open in Claude](https://claude.ai/new?q=Read%20https%3A%2F%2Fcoralogix.com%2Fdocs%2Fuser-guides%2Fai%2Fcode-agents%2Fcopilot.md%20and%20help%20me%20with%20my%20question%20about%20this%20Coralogix%20documentation%20page.)

# Copilot

The Copilot dashboard has five tabs: **Overview**, **Cost**, **Usage**, **GitHub Repos**, and **Users**. Every figure is derived from Copilot's own usage data over the time range and filters you've set.

Before the dashboard shows data, set up the integration — see [Set up GitHub Copilot](https://coralogix.com/docs/docs/integrations/ai-observability/github-copilot-usage/.md).

## Overview[​](#overview "Direct link to Overview")

[![Copilot Overview tab with Key Insights showing models used, active users, interactions, total cost, total tokens, top feature, power user, top IDE, and top language](/docs/assets/images/overview-787fe62d785ca8f686061628df5d7179.webp)](https://coralogix.com/docs/docs/assets/images/overview-787fe62d785ca8f686061628df5d7179.webp)

A snapshot of Copilot activity across your org — models in use, active users, interactions, total cost, total tokens, the most-used feature, your power user, the top IDE, and the top programming language.

## Cost[​](#cost "Direct link to Cost")

Built to answer one question: where is your Copilot spend going, and what's it buying you?

[![Copilot Cost tab top: Net Cost, Net Cost Over Time, CLI Tokens, and CLI Tokens Over Time](/docs/assets/images/cost-top-9eceae47258648bf31c583ca34ae665d.webp)](https://coralogix.com/docs/docs/assets/images/cost-top-9eceae47258648bf31c583ca34ae665d.webp)

* **Net cost** and **Net cost over time** — spend for the period and how it trended day by day.
* **CLI tokens** and **CLI tokens over time** — token volume attributed to Copilot CLI usage.

[![Copilot Cost tab bottom: Cost by SKU pie chart, Input Tokens, and Output Tokens](/docs/assets/images/cost-bottom-ace3210e71e38fcf952f68ae331f2f0c.webp)](https://coralogix.com/docs/docs/assets/images/cost-bottom-ace3210e71e38fcf952f68ae331f2f0c.webp)

* **Cost by SKU** — split of spend across Copilot products (agent, premium request, chat).

* **Input tokens** and **Output tokens** — totals for the period.

* **Optimization insights** — ranked, metric-based suggestions for cutting Copilot spend, scanned from your usage data over the selected time range. Each card links to the widget it relates to. For example:

  <!-- -->

  * The most expensive models account for most of your spend.
  * A few users account for most of the budget.
  * Licensed seats are going unused.

## Usage[​](#usage "Direct link to Usage")

[![Copilot Usage tab top: Active Users, CLI Sessions, CLI Active Users, Cloud Agent Users, Feature Usage, Model Distribution, and IDE Usage](/docs/assets/images/usage-activity-c932846352c158224dbd1e0d8f9464e1.webp)](https://coralogix.com/docs/docs/assets/images/usage-activity-c932846352c158224dbd1e0d8f9464e1.webp)

* **Activity** — active users, CLI sessions, CLI active users, and cloud agent users.
* **Feature usage** — which Copilot features are driving usage (code completion, agent, chat panel modes).
* **Model distribution** — which models Copilot is routing to.
* **IDE usage** — where developers are running Copilot.

[![Copilot Usage tab bottom: Code Impact with PRs Created, PRs Merged, Suggestion Apply Rate, and Coding Language breakdown](/docs/assets/images/usage-code-impact-0cc0c02dda16bd0b186e4c4500dfe4f9.webp)](https://coralogix.com/docs/docs/assets/images/usage-code-impact-0cc0c02dda16bd0b186e4c4500dfe4f9.webp)

* **Code impact** — PRs created and merged, the share of Copilot suggestions developers applied, and the languages they applied them in.

## GitHub Repos[​](#github-repos "Direct link to GitHub Repos")

The **GitHub Repos** tab attributes each Copilot CLI session's token usage to the repository it touched, then splits that activity between **Managed** repositories — those owned by an Organization you configure in **Settings → AI Center → Code agent** — and **Unmanaged** ones: personal projects, external clones, or private work running on the company's Copilot license.

The built-in OpenTelemetry in Copilot CLI reports the repository per session on the `github.copilot.git.repository` attribute. For how that attribute is read and classified, see [Repository breakdown](https://coralogix.com/docs/docs/integrations/ai-observability/github-copilot-usage/.md#repository-breakdown).

[![Copilot GitHub Repos tab: Repository Token Distribution bar chart, a Managed vs Unmanaged pie, and a Top Users on Unmanaged Repositories table](/docs/assets/images/github-repos-0e1311b3b7db0a7d77d4286ae963a6cf.webp)](https://coralogix.com/docs/docs/assets/images/github-repos-0e1311b3b7db0a7d77d4286ae963a6cf.webp)

### Widgets[​](#widgets "Direct link to Widgets")

#### Repository token distribution[​](#repository-token-distribution "Direct link to Repository token distribution")

A ranked bar chart of token share by repository, each bar colored **Managed** (green) or **Unmanaged** (red).

#### Managed vs unmanaged[​](#managed-vs-unmanaged "Direct link to Managed vs unmanaged")

A pie that splits total tokens between **Managed** repositories (owned by an Organization you configure in **Settings → AI Center → Code agent**) and **Unmanaged** ones (owned by no configured Organization). Until you configure an Organization, every repository appears as Unmanaged.

#### Top users on unmanaged repositories[​](#top-users-on-unmanaged-repositories "Direct link to Top users on unmanaged repositories")

A ranked table of the users with the most activity on Unmanaged repos. Columns: **User ID**, **Premium Requests**, **Sessions**, **Tokens**, **Repos**, **Models**, and **% of the user's total**. Export the table to CSV from the top-right.

### What you need[​](#what-you-need "Direct link to What you need")

* **[CLI session telemetry (Copilot CLI)](https://coralogix.com/docs/docs/integrations/ai-observability/github-copilot-usage/.md#cli-session-telemetry-copilot-cli)** — feeds per-session tokens, premium requests, and the `github.copilot.git.repository` attribute that ties activity to a repository.
* **[Repository Organizations](https://coralogix.com/docs/docs/user-guides/ai/code-agents/repository-breakdown/.md#classify-repositories)** — split attributed activity into Managed and Unmanaged buckets based on the Organizations you configure in **Settings → AI Center → Code agent**. Until you configure an Organization, every repository appears as Unmanaged.

## Users[​](#users "Direct link to Users")

[![Copilot Users tab: ranked table of active users by interactions, with tokens, CLI sessions, interactions, lines of code, and models](/docs/assets/images/users-831d51098cd7175d730c4b4ed9920bb1.webp)](https://coralogix.com/docs/docs/assets/images/users-831d51098cd7175d730c4b4ed9920bb1.webp)

Active users ranked by interactions, with tokens, CLI sessions, lines of code, and models per user. Select any row to drill into that user's session activity and code impact.

## Alert examples[​](#alert-examples "Direct link to Alert examples")

Example alerts you can build on Copilot's metrics to catch cost, adoption, and governance issues early. Each one expands to show what it detects and the query to use.

Single user CLI token concentration

Alerts when one user accounts for more than 60% of total CLI prompt tokens — a sign that heavy automated CLI jobs from one developer are crowding out org capacity.

```
sum by (user_email) (

  increase(github_copilot_user_cli_prompt_tokens_sum[1h])

)

/ on() group_left() (

  sum(increase(github_copilot_user_cli_prompt_tokens_sum[1h])) + 1

)
```

Org-wide code acceptance rate drop

Alerts when accepted suggestions as a share of total generated suggestions drops below 20%. Developers are rejecting most of Copilot's output, which can signal prompt-quality or model-alignment issues.

```
sum(increase(github_copilot_org_code_acceptance_activity_count[24h]))

/ (sum(increase(github_copilot_org_code_generation_activity_count[24h])) + 1)
```

Zero daily active users

Alerts when no users are active for the current day — a sign of a complete outage, auth failure, or connectivity issue.

```
sum(github_copilot_org_daily_active_users{}) == 0
```

Unused licensed seats (wasted spend)

Alerts when billed seats exceed monthly active users by more than 20 (adjustable). Every unused seat is avoidable spend.

```
sum(github_copilot_billing_net_quantity)

- sum(github_copilot_org_monthly_active_users)
```

Billing net amount spike

Alerts when Copilot net billing increases more than 30% compared to 7 days ago — a sign of unexpected seat additions or SKU upgrades before the monthly invoice.

```
sum(github_copilot_billing_net_amount)

/ sum(github_copilot_billing_net_amount offset 7d)
```

New or unapproved model detected (7-day offset)

Alerts when a Copilot interaction is recorded against a model that wasn't present over the previous 7 days. The alert surfaces the exact model name so leadership can assess whether it's sanctioned and act accordingly.

```
count by (model) (

  github_copilot_user_user_initiated_interaction_count_by_model_feature

)

unless

count by (model) (

  github_copilot_user_user_initiated_interaction_count_by_model_feature offset 7d

)
```
