{{< details >}}

  • Tier: 基础版, 专业版, 旗舰版
  • Offering: 私有化部署

{{< /details >}}

镜像仓库导出器允许您测量各种镜像仓库指标。要启用它:

  1. 启用 Prometheus
  2. 编辑 /etc/gitlab/gitlab.rb 并为镜像仓库启用调试模式:

    registry['debug_addr'] = "localhost:5001"  # localhost:5001/metrics
    
  3. 保存文件并重新配置极狐GitLab以使更改生效。

Prometheus 自动开始收集从 localhost:5001/metrics 公开的镜像仓库导出器的性能数据。

← 返回 Prometheus 主页面