Skip to content

Commit

Permalink
Ignore more fields
Browse files Browse the repository at this point in the history
  • Loading branch information
nerzhul committed May 16, 2018
1 parent 0c41e8d commit c837477
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/inputs/pgbouncer/pgbouncer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c837477

Please sign in to comment.