mirror of
https://github.com/prometheus-community/postgres_exporter
synced 2025-01-24 15:12:56 +00:00
fix pg_database_size_bytes metric in queries.yaml (#357)
Co-authored-by: Will Rouesnel <wrouesnel@wrouesnel.com>
This commit is contained in:
parent
f870f9591b
commit
81f9c78d61
@ -122,7 +122,7 @@ pg_statio_user_tables:
|
||||
description: "Number of buffer hits in this table's TOAST table indexes (if any)"
|
||||
|
||||
pg_database:
|
||||
query: "SELECT pg_database.datname, pg_database_size(pg_database.datname) as size FROM pg_database"
|
||||
query: "SELECT pg_database.datname, pg_database_size(pg_database.datname) as size_bytes FROM pg_database"
|
||||
master: true
|
||||
cache_seconds: 30
|
||||
metrics:
|
||||
|
Loading…
Reference in New Issue
Block a user