Does avg_query for PgBouncer include update and inserts?
Yes - pgbouncer does not know what type a query is, it just passes it through to the backend. Therefor, avg_query is across all queries, including both INSERT, UPDATE and DDL statements.