文章版本： Enterprise Server 2.17
You can use goals to set targets for key metrics and measure success reaching those targets.
Anyone with access to GitHub Insights can manage goals.
GitHub Insights 可用于 GitHub One。 更多信息请参阅“GitHub 的产品”。
Goals are targets that you can set for key metrics to measure your team's success. When you set a goal for a key metric, you can see how your team's performance compares to the goal using the goal line on charts and the success rate metric. For example, you can set the goal for
code review turnaround time to 4 hours. A goal line on the key metric chart shows which code reviews achieved the goal and which did not. If your team completed one half of code reviews in less than 4 hours, your
success rate will be 50%.
Goals are only available in key metrics. Some reports also show which work, such as individual pull requests, did not meet your goal. 更多信息请参阅“查看关键指标和报告”。
Goals cannot be created or deleted. When you edit a goal, the new goal applies to everyone using your GitHub Insights application.
- 在 GitHub Insights 中，单击 Key metrics（关键指标）。
- 在 Key metrics（关键指标）下，单击您想要查看的指标名称。
- To the right of the goal, click .
- In the text field, type a new goal value.
- 单击 Save（保存）。