Migrate pg_locks to collector package (#817)

Migrate the `pg_locks_count` query from `main` to the `collector`
package.

Signed-off-by: SuperQ <superq@gmail.com>
This commit is contained in:
Ben Kochie
2023-06-27 15:59:30 +02:00
committed by GitHub
parent 6a1bb59efb
commit 1a4e8993f6
5 changed files with 193 additions and 35 deletions

View File

@@ -73,7 +73,10 @@ This will build the docker image as `prometheuscommunity/postgres_exporter:${bra
* `[no-]collector.database`
Enable the database collector (default: enabled).
Enable the `database` collector (default: enabled).
* `[no-]collector.locks`
Enable the `locks` collector (default: enabled).
* `[no-]collector.postmaster`
Enable the `postmaster` collector (default: enabled).