Add pg_database collector

Converts the pg_database metrics from queries.yaml to a built in collector. This is enabled by default because it is not likely to be a performance problem and likely very useful data.

Signed-off-by: Joe Adams <github@joeadams.io>
This commit is contained in:
Joe Adams
2022-02-09 21:28:40 -05:00
parent 3880df4f64
commit 21a19ed252
4 changed files with 81 additions and 12 deletions

View File

@@ -1,3 +1,7 @@
## master / unreleased
* [ENHANCEMENT] Add pg_database_size_bytes metric #613
## 0.10.1 / 2022-01-14
* [BUGFIX] Fix broken log-level for values other than debug. #560