From c837477afcfe2b985678684a63fa21ba729213e8 Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Wed, 16 May 2018 14:59:25 +0200 Subject: [PATCH] Ignore more fields --- plugins/inputs/pgbouncer/pgbouncer.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/inputs/pgbouncer/pgbouncer.go b/plugins/inputs/pgbouncer/pgbouncer.go index cda51267bb776..44f90b79eff84 100644 --- a/plugins/inputs/pgbouncer/pgbouncer.go +++ b/plugins/inputs/pgbouncer/pgbouncer.go @@ -16,7 +16,9 @@ type PgBouncer struct { postgresql.Service } -var ignoredColumns = map[string]bool{"user": true, "database": true, "pool_mode": true} +var ignoredColumns = map[string]bool{"user": true, "database": true, "pool_mode": true, + "avg_req": true, "avg_recv": true, "avg_sent": true, "avg_query": true, +} var sampleConfig = ` ## specify address via a url matching: