fix: delete list with names of refactored class
@@ -26,11 +26,11 @@ def start():
if platform.LINUX:
signal.signal(signal.SIGQUIT, quit_handler)
# temporal list to keep names of all refactored classes
- refactored_classes = ["Oldest", "PgBufferCache", "ArchiveCommand", "BgWriter", "Checkpoint", "Connections",
- "Databases", "PgHealth", "Instance", "PgLocks", "Xlog",
- "PgStatProgressVacuum", "PgStatStatement", "PgWaitSampling", "La", "OpenFiles",
- "SystemUptime", "ProcStat", "Net", "Memory", "DiskStats", "DiskSizes", "DefConfTest",
- "Health"]
+ #refactored_classes = ["Oldest", "PgBufferCache", "ArchiveCommand", "BgWriter", "Checkpoint", "Connections",
+ # "Databases", "PgHealth", "Instance", "PgLocks", "Xlog",
+ # "PgStatProgressVacuum", "PgStatStatement", "PgWaitSampling", "La", "OpenFiles",
+ # "SystemUptime", "ProcStat", "Net", "Memory", "DiskStats", "DiskSizes", "DefConfTest",
+ # "Health"]
commands = sys.argv[1:]
if len(commands) > 0:
tool = commands[0]
@@ -138,7 +138,6 @@ def start():
Plugin.Type = 'agent' # change plugin type for template generator
plugins = []
for klass in Plugin.only_child_subclasses():
- if klass.__name__ in refactored_classes:
if klass.__name__ == "PgWaitSampling": # check if plugin is for EE
if Plugin.VersionPG['type'] == 'PGEE':
plugins.append(klass(cfg))
