Skip to content

Commit 949eda1

Browse files
committed
generate postgres metrics in addition to mysql metrics
1 parent 2b44aaa commit 949eda1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/ProxySQL_Admin.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2512,6 +2512,10 @@ void update_modules_metrics() {
25122512
if (MyHGM) {
25132513
MyHGM->p_update_metrics();
25142514
}
2515+
// Update pgsql_hostgroups_manager metrics
2516+
if (PgHGM) {
2517+
PgHGM->p_update_metrics();
2518+
}
25152519
// Update monitor metrics
25162520
if (GloMyMon) {
25172521
GloMyMon->p_update_metrics();

0 commit comments

Comments
 (0)