<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                # Incident Management > 原文:[https://docs.gitlab.com/ee/user/incident_management/](https://docs.gitlab.com/ee/user/incident_management/) * [Configure incidents](#configure-incidents-ultimate) * [Notify developers of alerts](#notify-developers-of-alerts) * [Configure PagerDuty integration](#configure-pagerduty-integration) * [Configure Prometheus alerts](#configure-prometheus-alerts) * [Configure external generic alerts](#configure-external-generic-alerts) * [Embed metrics in incidents and issues](#embed-metrics-in-incidents-and-issues) * [Context menu](#context-menu) * [View logs from metrics panel](#view-logs-from-metrics-panel) * [Integrate incidents with Slack](#integrate-incidents-with-slack) * [Integrate issues with Zoom](#integrate-issues-with-zoom) # Incident Management[](#incident-management "Permalink") GitLab 提供了用于處理應用程序和服務中的事件的解決方案,例如設置 Prometheus 警報,顯示指標和發送通知. ## Configure incidents[](#configure-incidents-ultimate "Permalink") 在 GitLab Ultimate 11.11 中[引入](https://gitlab.com/gitlab-org/gitlab/-/issues/4925) . 您可以在 GitLab 用戶界面中啟用或禁用事件管理功能,以在觸發警報時創建問題: 1. 導航 **設置>操作>事件,**然后展開**事件** : [![Incident Management Settings](https://img.kancloud.cn/ae/2a/ae2a90a0f200fc5b7e9efdc4ff5d60d3_577x317.png)](img/incident_management_settings.png) 2. 對于 GitLab 11.11 及更高版本,您可以選中**創建問題**復選框以根據自己的[問題模板](../project/description_templates.html#creating-issue-templates)創建[問題](../project/description_templates.html#creating-issue-templates) . 有關更多信息,請參閱[從警報觸發操作](../../operations/metrics/alerts.html#trigger-actions-from-alerts-ultimate) . 3. 要從警報中創建問題,請在" **問題模板"**選擇框中選擇**模板** . 4. 要向具有[開發者權限的](../permissions.html)用戶發送[單獨的電子郵件通知](#notify-developers-of-alerts) ,請選擇" **向開發者發送單獨的電子郵件通知"** . 5. Click **保存更改**. 適當配置的警報包括與警報相對應的查詢的[嵌入式圖表](../../operations/metrics/embed.html#embedding-metrics-based-on-alerts-in-incident-issues) . 您還可以將 GitLab 配置為在收到警報已解決的通知時[關閉問題](../../operations/metrics/alerts.html#trigger-actions-from-alerts-ultimate) . ### Notify developers of alerts[](#notify-developers-of-alerts "Permalink") GitLab 可以通過創建問題并通過電子郵件提醒開發人員來應對您的應用程序和服務觸發的警報. 默認情況下,GitLab 將這些電子郵件發送給項目的[所有者和維護者](../permissions.html) . 這些電子郵件包含警報的詳細信息以及更多信息的鏈接. 要將單獨的電子郵件通知發送給具有[開發者權限的](../permissions.html)用戶,請參閱[配置事件](#configure-incidents-ultimate) . ## Configure PagerDuty integration[](#configure-pagerduty-integration "Permalink") 在 GitLab 13.2 中[引入](https://gitlab.com/gitlab-org/gitlab/-/issues/119018) . 您可以使用 PagerDuty 設置一個 Webhook,以便為每個 PagerDuty 事件自動創建一個 GitLab 問題. 此配置要求您同時更改 PagerDuty 和 GitLab: 1. 以具有維護者[權限](../permissions.html)的用戶身份登錄. 2. 導航 **設置>操作>事件,**然后展開**事件** . 3. 選擇**PagerDuty 集成**選項卡: [![PagerDuty incidents integration](https://img.kancloud.cn/af/11/af119d98426a50fd4ffdead1040f7e4a_1024x474.png)](img/pagerduty_incidents_integration_13_2.png) 4. 激活集成,并將更改保存在 GitLab 中. 5. 復制**Webhook URL**的值, **以**供以后使用. 6. 按照[PagerDuty 文檔中](https://support.pagerduty.com/docs/webhooks)描述的步驟,將[Webhook](https://support.pagerduty.com/docs/webhooks) URL 添加到 PagerDuty Webhook 集成中. 為了確認集成成功,從 PagerDuty 觸發一個測試事件以確認是否從該事件中創建了一個 GitLab 問題. ## Configure Prometheus alerts[](#configure-prometheus-alerts "Permalink") 您可以在以下位置設置 Prometheus 警報: * [GitLab-managed Prometheus](../../operations/metrics/alerts.html) installations. * [Self-managed Prometheus](../../operations/metrics/alerts.html#external-prometheus-instances) installations. Prometheus 警報由特殊的警報機器人用戶創建. 您無法刪除此用戶,但不計入您的許可限制. ## Configure external generic alerts[](#configure-external-generic-alerts "Permalink") GitLab 可以通過通用的 Webhook 接收器接受來自任何來源的警報. 在[配置通用警報集成時](../project/integrations/generic_alerts.html) ,GitLab 會創建一個唯一的端點,該端點接收 JSON 格式的可自定義負載. ## Embed metrics in incidents and issues[](#embed-metrics-in-incidents-and-issues "Permalink") 您可以在使用[GitLab Markdown 的](../markdown.html)任何地方嵌入指標,例如描述,問題評論和合并請求. 嵌入指標可幫助您在討論事件或性能問題時共享它們. 通過[將鏈接復制并粘貼到指標儀表盤](../../operations/metrics/embed.html#embedding-gitlab-managed-kubernetes-metrics) ,您可以將儀表盤直接輸出到 GitLab 中的任何問題,合并請求,史詩或其他 Markdown 文本字段中. 您可以將[GitLab 托管的指標](../../operations/metrics/embed.html)和[Grafana 指標](../../operations/metrics/embed_grafana.html)都嵌入事件和問題模板中. ### Context menu[](#context-menu "Permalink") 您可以從上下文菜單中查看有關嵌入式指標面板的更多詳細信息. 要訪問上下文菜單,請單擊 面板右上角上方的**更多操作**下拉框. 選項包括: * [View logs](#view-logs-from-metrics-panel). * **下載 CSV-**嵌入式圖表中的數據可以[CSV 格式下載](../../operations/metrics/dashboards/index.html#downloading-data-as-csv) . #### View logs from metrics panel[](#view-logs-from-metrics-panel "Permalink") 版本歷史 * 在 GitLab Ultimate 12.8 中[引入](https://gitlab.com/gitlab-org/gitlab/-/issues/201846) . * [移至](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/25455) [GitLab Core](https://about.gitlab.com/pricing/) 12.9\. 如果您要對應用程序事件進行分類并需要[瀏覽](../../operations/metrics/dashboards/index.html#view-logs-ultimate)整個應用程序中的日志,則從指標面板查看日志可能會很有用. 這些日志可幫助您了解影響應用程序性能的因素并解決所有問題. ## Integrate incidents with Slack[](#integrate-incidents-with-slack "Permalink") 使用 Slack 斜杠命令,您可以控制 GitLab 并查看 GitLab 內容,而無需離開 Slack. 了解如何[設置 Slack 斜杠命令](../project/integrations/slack_slash_commands.html)以及如何[使用可用的斜杠命令](../../integration/slash_commands.html) . ## Integrate issues with Zoom[](#integrate-issues-with-zoom "Permalink") 通過 GitLab,您可以[將 Zoom 會議與](../project/issues/associate_zoom_meeting.html)事件[相關聯,](../project/issues/associate_zoom_meeting.html)以便在事件管理期間進行同步通信. 在啟動事件的 Zoom 呼叫后,您可以將電話會議與問題關聯. 您的團隊成員無需請求鏈接即可加入 Zoom 通話.
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看