info:To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments
info:To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments
---
---
# Performance Bar **(FREE SELF)**
# Performance bar **(FREE SELF)**
> The **Stats** field [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/271551) in GitLab 13.9.
> - The **Stats** field [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/271551) in GitLab 13.9.
> The **Memory** field [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/330736) in GitLab 14.0.
> - The **Memory** field [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/330736) in GitLab 14.0.
You can display the GitLab Performance Bar to see statistics for the performance
You can display the performance bar to see statistics for the performance of a GitLab UI page.
of a page. When activated, it looks as follows:
For example:
![Performance Bar](img/performance_bar_v14_0.png)
![Performance bar](img/performance_bar_v14_0.png)
From left to right, it displays:
## Available information
From left to right, the performance bar displays:
-**Current Host**: the current host serving the page.
-**Current Host**: the current host serving the page.
-**Database queries**: the time taken (in milliseconds) and the total number
-**Database queries**: the time taken (in milliseconds) and the total number
...
@@ -57,8 +59,17 @@ From left to right, it displays:
...
@@ -57,8 +59,17 @@ From left to right, it displays:
NOTE:
NOTE:
Not all indicators are available in all environments. For instance, the memory view
Not all indicators are available in all environments. For instance, the memory view
requires to run Ruby with [specific patches](https://gitlab.com/gitlab-org/gitlab-build-images/-/blob/master/patches/ruby/2.7.2/thread-memory-allocations-2.7.patch) applied.
requires running Ruby with [specific patches](https://gitlab.com/gitlab-org/gitlab-build-images/-/blob/master/patches/ruby/2.7.2/thread-memory-allocations-2.7.patch)
When running GitLab locally using the GDK this is typically not the case and the memory view cannot be used.
applied. When running GitLab locally using [GDK](../../../development/contributing/index.md#gitlab-development-kit),
this is typically not the case and the memory view cannot be used.
## Keyboard shortcut
Press the [<kbd>p</kbd> + <kbd>b</kbd> keyboard shortcut](../../../user/shortcuts.md) to display
the performance bar, and again to hide it.
For non-administrators to display the performance bar, it must be
[enabled for them](#enable-the-performance-bar-for-non-administrators).
## Request warnings
## Request warnings
...
@@ -74,23 +85,17 @@ appears next to requests with warnings.
...
@@ -74,23 +85,17 @@ appears next to requests with warnings.
![Request selector showing two requests with warnings](img/performance_bar_request_selector_warning.png)
![Request selector showing two requests with warnings](img/performance_bar_request_selector_warning.png)
## Enable the Performance Bar via the Admin Area
## Enable the performance bar for non-administrators
The GitLab Performance Bar is disabled by default for non-administrators. To enable it
The performance bar is disabled by default for non-administrators. To enable it
for a given group:
for a given group:
1. Sign in as a user with Administrator [permissions](../../../user/permissions.md).
1. Sign in as a user with Administrator [role](../../../user/permissions.md).
1. On the top bar, select **Menu >****{admin}****Admin**.
1. On the top bar, select **Menu >****{admin}****Admin**.
1. On the left sidebar, select **Settings > Metrics and profiling**
1. On the left sidebar, select **Settings > Metrics and profiling**
(`admin/application_settings/metrics_and_profiling`), and expand
(`admin/application_settings/metrics_and_profiling`), and expand
**Profiling - Performance bar**.
**Profiling - Performance bar**.
1. Click **Enable access to the Performance Bar**.
1. Click **Allow non-administrators to access to the performance bar**.
1. In the **Allowed group** field, provide the full path of the group allowed
1. In the **Allow access to members of the following group** field, provide the full path of the
to access the GitLab Performance Bar.
group allowed to access the performance.
1. Click **Save changes**.
1. Click **Save changes**.
## Keyboard shortcut for the Performance Bar
After enabling the GitLab Performance Bar, press the [<kbd>p</kbd> +
<kbd>b</kbd> keyboard shortcut](../../../user/shortcuts.md) to display it, and
| [Metrics - Grafana](../../../administration/monitoring/performance/grafana_configuration.md#integration-with-gitlab-ui) | Enable and configure Grafana. |
| [Metrics - Grafana](../../../administration/monitoring/performance/grafana_configuration.md#integration-with-gitlab-ui) | Enable and configure Grafana. |
| [Profiling - Performance bar](../../../administration/monitoring/performance/performance_bar.md#enable-the-performance-bar-via-the-admin-area) | Enable access to the Performance Bar for a given group. |
| [Profiling - Performance bar](../../../administration/monitoring/performance/performance_bar.md#enable-the-performance-bar-for-non-administrators) | Enable access to the Performance Bar for non-administrator users in a given group. |
msgid "Allow access to members of the following group"
msgstr ""
msgid "Allow access to the following IP addresses"
msgid "Allow access to the following IP addresses"
msgstr ""
msgstr ""
...
@@ -3294,6 +3297,9 @@ msgstr ""
...
@@ -3294,6 +3297,9 @@ msgstr ""
msgid "Allow group owners to manage LDAP-related settings"
msgid "Allow group owners to manage LDAP-related settings"
msgstr ""
msgstr ""
msgid "Allow non-administrators to access to the performance bar"
msgstr ""
msgid "Allow only the selected protocols to be used for Git access."
msgid "Allow only the selected protocols to be used for Git access."
msgstr ""
msgstr ""
...
@@ -3357,9 +3363,6 @@ msgstr ""
...
@@ -3357,9 +3363,6 @@ msgstr ""
msgid "Allowed email domain restriction only permitted for top-level groups"
msgid "Allowed email domain restriction only permitted for top-level groups"
msgstr ""
msgstr ""
msgid "Allowed group"
msgstr ""
msgid "Allowed to create:"
msgid "Allowed to create:"
msgstr ""
msgstr ""
...
@@ -12118,10 +12121,7 @@ msgstr ""
...
@@ -12118,10 +12121,7 @@ msgstr ""
msgid "Enable a Prometheus metrics endpoint at %{metrics_path} to expose a variety of statistics on the health and performance of GitLab. Additional information on authenticating and connecting to the metrics endpoint is available %{link}."
msgid "Enable a Prometheus metrics endpoint at %{metrics_path} to expose a variety of statistics on the health and performance of GitLab. Additional information on authenticating and connecting to the metrics endpoint is available %{link}."
msgstr ""
msgstr ""
msgid "Enable access to the Performance Bar"
msgid "Enable access to the performance bar for non-administrators in a given group."
msgstr ""
msgid "Enable access to the Performance Bar for a given group."