我们经常发布文档更新,此页面的翻译可能仍在进行中。有关最新信息,请访问英文文档。如果此页面上的翻译有问题,请告诉我们

此版本的 GitHub Enterprise 将停止服务 此版本的 GitHub Enterprise 已停止服务 2020-01-22. 即使针对重大安全问题,也不会发布补丁。 要获得更好的性能、改进的安全性和新功能,请升级到 GitHub Enterprise 的最新版本。 如需升级方面的帮助,请联系 GitHub Enterprise 支持

Managing events

您可以使用事件在指标中标记重要的日期或时段,以便为浏览者添加上下文。

People with admin permissions to GitHub Insights can manage events.

GitHub Insights 可用于 GitHub One。 更多信息请参阅“GitHub 的产品”。

本文内容

About events

Events add context to metrics. For example, holidays or release dates can cause changes in work patterns, so knowing when those events occurred can change your evaluation of metrics. You can create events for the reorganization of teams, start dates of new employees, changes in scope for teams, and anything else that would affect your team's work.

After you create an event in GitHub Insights, anyone can view the event as an annotation in some metrics. For more information, see "Viewing key metrics and reports."

Creating an event

  1. 在 GitHub Insights 中,单击 Settings(设置)

    Settings 选项卡

  2. Settings(设置)下,单击 Events(事件)

    事件选项卡

  3. Click Add Event.

    Add Event button

  4. Under "Title", type a descriptive name for your event.

    标题字段

  5. Use the "Start Date" drop-down menu, and select a start date for your event.

    Start Date drop-down menu

  6. Use the "End Date" drop-down menu, and select an end date for your event.

    End Date drop-down menu

  7. 单击 Save(保存)

Deleting an event

  1. 在 GitHub Insights 中,单击 Settings(设置)

    Settings 选项卡

  2. Settings(设置)下,单击 Events(事件)

    事件选项卡

  3. To the right of the event you want to delete, click .

    Trash can button

  4. Click Confirm.

问问别人

找不到要找的内容?

联系我们