You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+30-3Lines changed: 30 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,17 @@ With the release of the latest [GitHub Copilot Metrics API](https://github.com/o
4
4
5
5
However, many organizations that we work with already have established Power BI teams. If your organization is **already using Power BI, please read on!**
- New metrics for Pull Request summaries and Copilot Chat on GitHub.com.
9
19
- Clarity on code completions and Copilot Chat usage in IDEs.
10
20
- User engagement summaries updated daily.
@@ -16,7 +26,7 @@ Located in the `./samples` directory you'll find sample JSON and PBIX files use
16
26
17
27

18
28
19
-
## Setup
29
+
## Metrics Dashboard Setup
20
30
21
31
### Connect to Metrics API
22
32
> Notes: The REST API provides metrics for the previous 28 days and is refreshed daily with data from the previous day. Please ensure you are using the latest version of the [REST API](https://docs.github.com/en/enterprise-cloud@latest/rest/copilot/copilot-metrics).
@@ -101,7 +111,7 @@ In order to connect we'll need to generate a token and link to your metrics data
101
111
10. Click **Close and Apply** in the top-left of the **Power Query Editor**.
102
112
11. On the **Report View** page click **Refresh** to load the new data into your dashboard.
103
113
104
-
### Test: Modify the local JSON data source
114
+
### Connect to local JSON data source
105
115
> Note: This example provided a proof of concept for loading metrics data and requires an exported JSON file. If you have access to the REST API you can configure the **Source** accordingly.
106
116
107
117
1. Download and open the sample `GitHub Copilot - Telemetry Sample (Metrics with KPIs).pbix` file.
@@ -113,6 +123,23 @@ In order to connect we'll need to generate a token and link to your metrics data
113
123
6. On the **Report View** page click **Refresh** to load the new data into your dashboard.
114
124
7. **Happy Customizing!**
115
125
126
+
## KPI - Savings Dashboard
127
+
A new KPI tab has been added to the dashboard to help you estimate savings. The KPI tab is configured to display the potential time and case savings. You can configure the KPI tab to display these details by modifying the following fields in the `config` data sourcefrom the **Tabel view**:
| total_devs | Total number of developers at your organization. |
132
+
| avg_hourly_salary | Average hourly salary of developers. |
133
+
| annual_work_weeks | Total number of work weeks in a year. |
134
+
| average_weekly_hour_savings| Average number of hours developers saved per week. The default is 3.5 hours and assumed a 10% time saving, but this can be updated based on customer survey data or other measurements. |
135
+
136
+
These values can be modified in the `config` data source below:
137
+

138
+
139
+
Once configured, the KPI dashboard will display this potential savings against current usage pulled from the Metrics API:
140
+

141
+
142
+
116
143
## Publishing
117
144
If you need help deploying or publishing this script, please see: [Publish README](/publish/README.md)
0 commit comments