diff --git a/documentation/metrics.md b/documentation/metrics.md index acbcda8..a157eab 100644 --- a/documentation/metrics.md +++ b/documentation/metrics.md @@ -3250,7 +3250,7 @@ Default config: - + @@ -3283,7 +3283,7 @@ Default config:
NamePostgreSQL Locks: ALTER TABLE, DROP TABLE, TRUNCATE, REINDEX, CLUSTER, VACUUM FULL, LOCK TABLEPostgreSQL Locks: total number of locks acquired (or waiting) by all queries like DROP TABLE, TRUNCATE, REINDEX, CLUSTER, VACUUM FULL, REFRESH MATERIALIZED VIEW, LOCK TABLE and some forms of ALTER INDEX and ALTER TABLE
Key
- + @@ -3316,7 +3316,7 @@ Default config:
NamePostgreSQL Locks: Read Only QueriesPostgreSQL Locks: total number of locks acquired (or waiting) by queries that only reads tables and do not modify
Key
- + @@ -3349,7 +3349,7 @@ Default config:
NamePostgreSQL Locks: Locks From Application or Some Operations on System CatalogsPostgreSQL Locks: total number of locks acquired (or waiting) by all queries like REFRESH MATERIALIZED VIEW CONCURRENTLY
Key
- + @@ -3382,7 +3382,7 @@ Default config:
NamePostgreSQL Locks: Write QueriesPostgreSQL Locks: total number of locks acquired (or waiting) by all queries like UPDATE, DELETE, INSERT and MERGE
Key
- + @@ -3415,7 +3415,7 @@ Default config:
NamePostgreSQL Locks: SELECT FOR SHARE and SELECT FOR UPDATEPostgreSQL Locks: total number of locks acquired (or waiting) by all queries like SELECT FOR SHARE and SELECT FOR UPDATE
Key
- + @@ -3448,7 +3448,7 @@ Default config:
NamePostgreSQL Locks: Locks From ApplicationPostgreSQL Locks: total number of locks acquired (or waiting) by all queries like CREATE TRIGGER and some forms of ALTER TABLE
Key
- + @@ -3481,7 +3481,7 @@ Default config:
NamePostgreSQL Locks: VACUUM, ANALYZE, CREATE INDEX CONCURRENTLYPostgreSQL Locks: total number of locks acquired (or waiting) by all queries like VACUUM, ANALYZE, CREATE INDEX CONCURRENTLY, CREATE STATISTICS, COMMENT ON, REINDEX CONCURRENTLY, and some forms of ALTER INDEX and ALTER TABLE
Key
- + diff --git a/mamonsu/plugins/pgsql/pg_locks.py b/mamonsu/plugins/pgsql/pg_locks.py index 5799b51..63a3be4 100644 --- a/mamonsu/plugins/pgsql/pg_locks.py +++ b/mamonsu/plugins/pgsql/pg_locks.py @@ -22,28 +22,28 @@ class PgLocks(Plugin): Items = [ # key, desc, color ("accessshare", - "Read Only Queries", + "total number of locks acquired (or waiting) by queries that only reads tables and do not modify", "00CC00"), ("rowshare", - "SELECT FOR SHARE and SELECT FOR UPDATE", + "total number of locks acquired (or waiting) by all queries like SELECT FOR SHARE and SELECT FOR UPDATE", "3B415A"), ("rowexclusive", - "Write Queries", + "total number of locks acquired (or waiting) by all queries like UPDATE, DELETE, INSERT and MERGE", "FF5656"), ("shareupdateexclusive", - "VACUUM, ANALYZE, CREATE INDEX CONCURRENTLY", + "total number of locks acquired (or waiting) by all queries like VACUUM, ANALYZE, CREATE INDEX CONCURRENTLY, CREATE STATISTICS, COMMENT ON, REINDEX CONCURRENTLY, and some forms of ALTER INDEX and ALTER TABLE", "F6CB93"), ("share", - "CREATE INDEX", + "total number of locks acquired (or waiting) by all queries like CREATE INDEX", "006AAE"), ("sharerowexclusive", - "Locks from Application", + "total number of locks acquired (or waiting) by all queries like CREATE TRIGGER and some forms of ALTER TABLE", "00B0B8"), ("exclusive", - "Locks from Application or Some Operations on System Catalogs", + "total number of locks acquired (or waiting) by all queries like REFRESH MATERIALIZED VIEW CONCURRENTLY", "9C8A4E"), ("accessexclusive", - "ALTER TABLE, DROP TABLE, TRUNCATE, REINDEX, CLUSTER, VACUUM FULL, LOCK TABLE", + "total number of locks acquired (or waiting) by all queries like DROP TABLE, TRUNCATE, REINDEX, CLUSTER, VACUUM FULL, REFRESH MATERIALIZED VIEW, LOCK TABLE and some forms of ALTER INDEX and ALTER TABLE", "793F5D") ]
NamePostgreSQL Locks: CREATE INDEXPostgreSQL Locks: total number of locks acquired (or waiting) by all queries like CREATE INDEX
Key