chore: display total storage size in Grafana (#7455)

This commit is contained in:
Alexey Shekhirin
2024-04-04 16:20:19 +01:00
committed by GitHub
parent ca82ff5be6
commit 0adaad312d
3 changed files with 148 additions and 70 deletions

View File

@@ -110,6 +110,7 @@ where
describe_gauge!("db.table_pages", "The number of database pages for a table");
describe_gauge!("db.table_entries", "The number of entries for a table");
describe_gauge!("db.freelist", "The number of pages on the freelist");
describe_gauge!("db.page_size", Unit::Bytes, "The size of a database page (in bytes)");
describe_gauge!(
"db.timed_out_not_aborted_transactions",
"Number of timed out transactions that were not aborted by the user yet"