36 Star 150 Fork 1

Gitee 极速下载 / gitlabhq

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/gitlabhq/gitlabhq
克隆/下载
grafana_configuration.md 1.90 KB
一键复制 编辑 原始数据 按行查看 历史
stage group info
Monitor
Respond
To determine the technical writer assigned to the Stage/Group associated with this page, see https://handbook.gitlab.com/handbook/product/ux/technical-writing/#assignments

Configure Grafana

DETAILS: Tier: Free, Premium, Ultimate Offering: Self-managed

  • Grafana bundled with GitLab was deprecated in GitLab 16.0.
  • Grafana bundled with GitLab was removed in GitLab 16.3.

Grafana is a tool that enables you to visualize time series metrics through graphs and dashboards. GitLab writes performance data to Prometheus, and Grafana allows you to query the data to display graphs.

Integrate with GitLab UI

After setting up Grafana, you can enable a link to access it from the GitLab sidebar:

  1. On the left sidebar, at the bottom, select Admin Area.
  2. Select Settings > Metrics and profiling.
  3. Expand Metrics - Grafana.
  4. Select the Add a link to Grafana checkbox.
  5. Configure the Grafana URL. Enter the full URL of the Grafana instance.
  6. Select Save changes.

GitLab displays your link in the Admin Area under Monitoring > Metrics Dashboard.

Required Scopes

When setting up Grafana through the process above, no scope shows in the screen in the Admin Area under Applications > GitLab Grafana. However, the read_user scope is required and is provided to the application automatically. Setting any scope other than read_user without also including read_user leads to this error when you try to sign in using GitLab as the OAuth provider:

The requested scope is invalid, unknown, or malformed.

If you see this error, make sure that one of the following is true in the GitLab Grafana configuration screen:

  • No scopes appear.
  • The read_user scope is included.
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Ruby
1
https://gitee.com/mirrors/gitlab.git
git@gitee.com:mirrors/gitlab.git
mirrors
gitlab
gitlabhq
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891