10
10
from mamonsu .plugins .pgsql .oldest import Oldest
11
11
from mamonsu .plugins .pgsql .pg_buffercache import PgBufferCache
12
12
from mamonsu .plugins .pgsql .pg_locks import PgLocks
13
- from mamonsu .plugins .pgsql .wal import Xlog
13
+ from mamonsu .plugins .pgsql .wal import Wal
14
14
from mamonsu .plugins .system .linux .memory import Memory
15
15
from mamonsu .plugins .system .linux .proc_stat import ProcStat
16
16
@@ -1071,11 +1071,11 @@ def generate_dashboard(template, uuid):
1071
1071
Instance .graphs_name ["events" ],
1072
1072
ArchiveCommand .key .format ("[" + ArchiveCommand .Items [3 ][0 ] + "]" ),
1073
1073
ArchiveCommand .key .format ("[" + ArchiveCommand .Items [0 ][0 ] + "]" ),
1074
- Xlog .key_non_active_slots .format ("[]" ),
1074
+ Wal .key_non_active_slots .format ("[]" ),
1075
1075
Oldest .key .format ("[transaction_time]" ),
1076
1076
PgHealth .key_ping .format ("[]" ),
1077
1077
PgHealth .key_version .format ("[]" ),
1078
- Xlog .key_replication .format ("[sec]" ),
1078
+ Wal .key_replication .format ("[sec]" ),
1079
1079
ArchiveCommand .key .format ("[" + ArchiveCommand .Items [1 ][0 ] + "]" ),
1080
1080
Instance .key + Instance .Items [6 ][1 ],
1081
1081
Instance .key + Instance .Items [7 ][1 ],
@@ -1085,7 +1085,7 @@ def generate_dashboard(template, uuid):
1085
1085
Instance .key + Instance .Items [10 ][1 ],
1086
1086
Instance .key + Instance .Items [11 ][1 ],
1087
1087
PgHealth .key_uptime .format ("[]" ),
1088
- Xlog .key_wal_records .format ("[]" ),
1089
- Xlog .key_wal_sync_duty ,
1090
- Xlog .key_wall .format ("[]" ),
1088
+ Wal .key_wal_records .format ("[]" ),
1089
+ Wal .key_wal_sync_duty ,
1090
+ Wal .key_wall .format ("[]" ),
1091
1091
uuid ).replace ("\\ r\\ n" , " " ).split ())
0 commit comments