Help us learn about your current experience with the documentation. Take the survey.

PgBouncer 导出器

  • 版本:免费版、专业版、旗舰版
  • 产品:GitLab Self-Managed

PgBouncer exporter 让您可以测量各种 PgBouncer 指标。

对于自行编译安装的情况,您必须自行安装和配置它。

要启用 PgBouncer exporter:

  1. 启用 Prometheus

  2. 编辑 /etc/gitlab/gitlab.rb

  3. 添加(或找到并取消注释)以下行,并确保其设置为 true

    pgbouncer_exporter['enable'] = true
  4. 保存文件并重新配置 GitLab以使更改生效。

Prometheus 开始从暴露在 localhost:9188 的 PgBouncer exporter 收集性能数据。

如果启用了 pgbouncer_role 角色,PgBouncer exporter 将默认启用。