From cd1cf2fca60655e80a91bdb92aa7d5ad08c7184d Mon Sep 17 00:00:00 2001 From: Jah-yee <166608075+Jah-yee@users.noreply.github.com> Date: Mon, 27 Jul 2026 10:54:46 +0800 Subject: [PATCH 1/2] fix: correct 'wait event type' to 'backend type' in pg_backend desc The SQL query selects backend_type from pg_stat_activity, not wait event type. Correcting the description to match the actual query output. --- config/0430-pg_backend.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/0430-pg_backend.yml b/config/0430-pg_backend.yml index 3d708d5..d10b280 100644 --- a/config/0430-pg_backend.yml +++ b/config/0430-pg_backend.yml @@ -3,7 +3,7 @@ #==============================================================# pg_backend: name: pg_backend - desc: PostgreSQL backend client count group by wait event type since 10 + desc: PostgreSQL backend client count group by backend type since 10 query: SELECT backend_type AS "type", count(*) AS count FROM pg_stat_activity GROUP BY backend_type; ttl: 10 min_version: 100000 From b73c948500874f7659a149135ab480e20cdfead4 Mon Sep 17 00:00:00 2001 From: Feng Ruohang Date: Tue, 4 Aug 2026 11:07:29 +0800 Subject: [PATCH 2/2] chore: regenerate merged exporter config --- pg_exporter.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pg_exporter.yml b/pg_exporter.yml index cf0cb81..4708cc8 100644 --- a/pg_exporter.yml +++ b/pg_exporter.yml @@ -1598,7 +1598,7 @@ pg_wait: #==============================================================# pg_backend: name: pg_backend - desc: PostgreSQL backend client count group by wait event type since 10 + desc: PostgreSQL backend client count group by backend type since 10 query: SELECT backend_type AS "type", count(*) AS count FROM pg_stat_activity GROUP BY backend_type; ttl: 10 min_version: 100000