使用Prometheus+Grafana对pgbouncer监控

0    241    1

Tags:

👉 本文共约674个字,系统预计阅读时间或需3分钟。

简介

GreenPlum中的pgbouncer连接池参考:https://www.dbaup.com/zaigreenplumzhongshiyongpgbouncerlianjiechi.html

PostgreSQL中的pgbouncer连接池参考:https://www.dbaup.com/pglianjiechigongjuzhipgbouncer.html

prometheus+grafana环境搭建

普罗米修斯+grafana的搭建之前介绍过很多次了,这里就不再介绍了,直接使用docker来创建:

对pgbouncer的监控

目前对pgbouncer的监控有2个工具,下面分别介绍。

工具1:pgbouncer-exporter

缺点:安装麻烦,2022.05.20后再没更新过

参考:https://github.com/spreaker/prometheus-pgbouncer-exporter
dashboards使用:13353 https://grafana.com/grafana/dashboards/13353-pgbouncer/

本人提供Oracle(OCP、OCM)、MySQL(OCP)、PostgreSQL(PGCA、PGCE、PGCM)等数据库的培训和考证业务,私聊QQ646634621或微信dbaup66,谢谢!
AiDBA后续精彩内容已被站长无情隐藏,请输入验证码解锁本文!
验证码:
获取验证码: 请先关注本站微信公众号,然后回复“验证码”,获取验证码。在微信里搜索“AiDBA”或者“dbaup6”或者微信扫描右侧二维码都可以关注本站微信公众号。

标签:

Avatar photo

小麦苗

学习或考证,均可联系麦老师,请加微信db_bao或QQ646634621

您可能还喜欢...

发表回复