mirror of
https://github.com/prometheus-community/postgres_exporter
synced 2025-05-05 09:28:28 +00:00
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:
parent
5fbd93056b
commit
b9505389e7
@ -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`
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user