Update collector/pg_stat_user_tables.go

Co-authored-by: Ben Kochie <superq@gmail.com>
Signed-off-by: Felix Yuan <felix.yuan@reddit.com>
This commit is contained in:
Felix Yuan 2025-04-17 14:39:17 -07:00 committed by GitHub
parent 5fbd93056b
commit b9505389e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -186,8 +186,8 @@ var (
autovacuum_count,
analyze_count,
autoanalyze_count,
pg_total_relation_size(relid) as total_size,
pg_table_size(relid) as table_only_size
pg_indexes_size(relid) as indexes_size,
pg_table_size(relid) as table_size
FROM
pg_stat_user_tables`
)