Skip to content

Commit a9af9f7

Browse files
committed
fix: fixed agent plugin type for Replication and WAL plugins
1 parent 0c701fc commit a9af9f7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mamonsu/plugins/pgsql/replication.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010

1111
class Replication(Plugin):
12-
AgentPluginType = "pgsql"
12+
AgentPluginType = "pg"
1313
DEFAULT_CONFIG = {
1414
"lag_more_than_in_sec": str(60 * 5)
1515
}

mamonsu/plugins/pgsql/wal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010

1111
class Wal(Plugin):
12-
AgentPluginType = "pgsql"
12+
AgentPluginType = "pg"
1313

1414
# get amount of WAL since '0/00000000'
1515
query_wal_lsn_diff = """

0 commit comments

Comments
 (0)