doc/administration/monitoring/performance/performance_bar.md
{{< details >}}
{{< /details >}}
The performance bar displays real-time metrics directly in your browser, giving you insights without making you look through logs or run separate profiling tools.
For development teams, the performance bar simplifies debugging by showing exactly where they should focus their efforts.
{{< history >}}
{{< /history >}}
From left to right, the performance bar displays:
00ms / 00 (00 cached) pg. Select to display
a dialog with more details. You can use this to see the following
details for each query:
NaN if your browser does not
support this feature.correlation_id included.X-Request-Id header.10100 microseconds.10100 microseconds.100 allocations.GITLAB_PERFORMANCE_BAR_STATS_URL environment variable is set,
this URL is displayed in the bar. Used only on GitLab.com.[!note] Not all indicators are available in all environments. For instance, the memory view requires running Ruby with specific patches applied. When running GitLab locally using the GDK, this is typically not the case and the memory view cannot be used.
Press the <kbd>p</kbd> + <kbd>b</kbd> keyboard shortcut to display the performance bar, and again to hide it.
For non-administrators to display the performance bar, it must be enabled for them.
Requests that exceed predefined limits display a warning {{< icon name="warning" >}} icon and explanation next to the metric. In this example, the Gitaly call duration exceeded the threshold.
The performance bar is disabled by default for non-administrators. To enable it for a given group: