<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>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                # Performance Bar > 原文:[https://docs.gitlab.com/ee/administration/monitoring/performance/performance_bar.html](https://docs.gitlab.com/ee/administration/monitoring/performance/performance_bar.html) * [Request warnings](#request-warnings) * [Enable the Performance Bar via the Admin panel](#enable-the-performance-bar-via-the-admin-panel) * [Keyboard shortcut for the Performance Bar](#keyboard-shortcut-for-the-performance-bar) # Performance Bar[](#performance-bar "Permalink") 您可以顯示 GitLab 性能欄以查看頁面性能的統計信息. 激活后,其外觀如下: [![Performance Bar](https://img.kancloud.cn/30/91/3091141bdef296d22d4c73a3df15260b_2562x176.png)](img/performance_bar.png) 從左到右,它顯示: * **當前主機** :服務于該頁面的當前主機. * **數據庫查詢** :花費的時間(毫秒)和數據庫查詢的總數,以`00ms / 00pg`的格式顯示. 單擊以顯示更多信息的模式窗口: [![使用性能欄進行 SQL 分析](https://img.kancloud.cn/fa/ae/faaeab9875b6bad8e94203445b44ecb8_2272x1164.png)](img/performance_bar_sql_queries.png) * **Gitaly 通話** :所花費的時間(以毫秒為單位)和[Gitaly](../../gitaly/index.html)通話的總數. 單擊以顯示更多信息的模式窗口: [![使用性能欄進行 Gitaly 分析](https://img.kancloud.cn/f1/c1/f1c1bdda60a6439fb8fe61367ab3cbad_2000x386.png)](img/performance_bar_gitaly_calls.png) * **堅固通話** :花費的時間(以毫秒為單位)和[堅固](../../high_availability/nfs.html#improving-nfs-performance-with-gitlab)通話的總數. 單擊以顯示更多信息的模式窗口: [![使用性能欄進行堅固的性能分析](https://img.kancloud.cn/a2/a3/a2a32fe00f79f5984a4b32552bf84c9b_1751x460.png)](img/performance_bar_rugged_calls.png) * **Redis 呼叫** :花費的時間(以毫秒為單位)和 Redis 呼叫的總數. 單擊以顯示更多信息的模式窗口: [![使用性能欄進行 Redis 分析](https://img.kancloud.cn/21/f3/21f36c22eacb5191be5aec1218694df7_1104x376.png)](img/performance_bar_redis_calls.png) * **Elasticsearch 調用** :花費的時間(以毫秒為單位)和 Elasticsearch 調用的總數. 單擊以顯示更多信息的模式窗口. * 頁面的**加載時間** :如果您的瀏覽器支持加載時間(Chromium 和 Chrome),則以毫秒為單位的多個值(以斜杠分隔). 單擊以顯示更多信息的模式窗口. 值從左到右: * **后端** :加載基本頁面所需的時間. * [**First Contentful Paint**](https://s0web0dev.icopy.site/first-contentful-paint/) :直到用戶看到某些東西為止的時間. * [**DomContentLoaded**](https://developers.google.com/web/fundamentals/performance/critical-rendering-path/measure-crp)事件. * 頁面加載**的請求總數** : [![使用性能欄的前端請求](https://img.kancloud.cn/cd/79/cd7980caea799591500924a2bda7ab09_1000x311.png)](img/performance_bar_frontend.png) * **跟蹤** :如果集成了 Jaeger,則**Trace**鏈接到 Jaeger 跟蹤頁面,其中包含當前請求的`correlation_id` . * **+** :用于將請求的詳細信息添加到性能欄的鏈接. 可以通過其完整 URL(已認證為當前用戶)或其`X-Request-Id`標頭的值來添加`X-Request-Id` . * **下載** :下載用于生成 Performance Bar 報告的原始 JSON 的鏈接. * **請求選擇器** :顯示在性能欄右側的選擇框,通過該選擇框,您可以查看當前頁面打開時發出的所有請求的這些指標. 每個唯一 URL 僅捕獲前兩個請求. ## Request warnings[](#request-warnings "Permalink") 超出預定義限制的請求顯示警告 指標旁邊的圖標和說明. 在此示例中,Gitaly 通話時間超過了閾值: [![Gitaly call duration exceeded threshold](https://img.kancloud.cn/51/62/5162af3203b5bbeb1849db9d3de6a51d_600x100.png)](img/performance_bar_gitaly_threshold.png) 如果當前頁面上的任何請求生成警告,則警告圖標將顯示在" **請求"選擇器**旁邊: [![Request selector showing two requests with warnings](https://img.kancloud.cn/78/2d/782d5543dc5b44a2fa3d7437b903a839_700x100.png)](img/performance_bar_request_selector_warning.png) 帶有警告的**請求**在**請求選擇器中**的路徑后顯示`(!)` : [![Request selector showing dropdown](https://img.kancloud.cn/3c/a1/3ca1e07611d9625ef9eeb691fdb7b27b_510x446.png)](img/performance_bar_request_selector_warning_expanded.png) ## Enable the Performance Bar via the Admin panel[](#enable-the-performance-bar-via-the-admin-panel "Permalink") 默認情況下,GitLab 性能欄是禁用的. 要為給定的組啟用它: 1. 以具有管理員[權限](../../../user/permissions.html)的用戶身份登錄. 2. 在菜單欄中,單擊 **管理區域**圖標. 3. 導航 **設置>指標和分析** ( `admin/application_settings/metrics_and_profiling` ),然后展開" **分析-性能欄** "部分. 4. Click **啟用對性能欄的訪問**. 5. 在**允許的組**字段中,提供允許訪問 GitLab 性能欄的組的完整路徑. 6. Click **保存更改**. ## Keyboard shortcut for the Performance Bar[](#keyboard-shortcut-for-the-performance-bar "Permalink") 啟用 GitLab 性能欄后,按[`p` + `b`鍵盤快捷鍵](../../../user/shortcuts.html)將其顯示,然后再次將其隱藏.
                  <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>

                              哎呀哎呀视频在线观看