Skip to content

Commit 0807f02

Browse files
committed
fix: remove relations_size plugin due to unstable work
1 parent d559a9f commit 0807f02

File tree

3 files changed

+0
-134
lines changed

3 files changed

+0
-134
lines changed

mamonsu/plugins/pgsql/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
__all__ += ['checkpoint', 'oldest', 'pg_locks']
55
__all__ += ['cfs']
66
__all__ += ['archive_command']
7-
__all__ += ['relations_size']
87
__all__ += ['prepared_transaction']
98

109
from . import *

mamonsu/plugins/pgsql/relations_size.py

Lines changed: 0 additions & 122 deletions
This file was deleted.

packaging/conf/example.conf

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -167,17 +167,6 @@ interval = 2
167167
[agentapi]
168168
interval = 60
169169

170-
# Get size of relations defined in this section
171-
# Relations - comma separated list of objects - tables and endexes (database_name.schema.relation) used to calculate relations size.
172-
# Example:
173-
# relations=postgres.pg_catalog.pg_class,postgres.pg_catalog.pg_user
174-
# If the relation is blocked by some process such as vacuum full or create index, the result will be -1
175-
# by default this plugin disabled. To enable this plugin - set bellow "enabled = False" and define a list of relations.
176-
[relationssize]
177-
enabled = False
178-
relations=postgres.pg_catalog.pg_class,postgres.pg_catalog.pg_user
179-
interval = 500
180-
181170
# Get age (in seconds) of the oldest running prepared transaction and number of all prepared transactions for two-phase commit.
182171
# https://www.postgresql.org/docs/current/sql-prepare-transaction.html
183172
# https://www.postgresql.org/docs/12/view-pg-prepared-xacts.html

0 commit comments

Comments
 (0)