Help us learn about your current experience with the documentation. Take the survey.
仓库导出器
- 版本:Free, Premium, Ultimate
- 产品:GitLab Self-Managed
仓库导出器允许您衡量各种仓库指标。 要启用它:
-
编辑
/etc/gitlab/gitlab.rb并为仓库启用 调试模式:registry['debug_addr'] = "localhost:5001" # localhost:5001/metrics -
保存文件并重新配置 GitLab 以使更改生效。
Prometheus 会自动开始收集在 localhost:5001/metrics 下暴露的仓库导出器的性能数据。