Skip to content

Commit b950538

Browse files
SticksmanSuperQ
andauthored
Update collector/pg_stat_user_tables.go
Co-authored-by: Ben Kochie <superq@gmail.com> Signed-off-by: Felix Yuan <felix.yuan@reddit.com>
1 parent 5fbd930 commit b950538

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

collector/pg_stat_user_tables.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@ var (
186186
autovacuum_count,
187187
analyze_count,
188188
autoanalyze_count,
189-
pg_total_relation_size(relid) as total_size,
190-
pg_table_size(relid) as table_only_size
189+
pg_indexes_size(relid) as indexes_size,
190+
pg_table_size(relid) as table_size
191191
FROM
192192
pg_stat_user_tables`
193193
)

0 commit comments

Comments
 (0)