Skip to content

Commit 70230f5

Browse files
committed
fix: fixed Total Replication Lag delta
1 parent e9ecb2a commit 70230f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mamonsu/plugins/pgsql/xlog.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def run(self, zbx):
7474
zbx.send('pgsql.replication.write_lag[{0}]'.format(
7575
info[0]), info[3])
7676
zbx.send('pgsql.replication.total_lag[{0}]'.format(
77-
info[0]), float(info[4]), self.DELTA_SPEED)
77+
info[0]), float(info[4]))
7878
zbx.send('pgsql.replication.discovery[]', zbx.json({'data': lags}))
7979
del lags
8080
else:
@@ -86,7 +86,7 @@ def run(self, zbx):
8686
lags.append({'{#APPLICATION_NAME}': info[0]})
8787

8888
zbx.send('pgsql.replication.total_lag[{0}]'.format(
89-
info[0]), float(info[1]), self.DELTA_SPEED)
89+
info[0]), float(info[1]))
9090
zbx.send('pgsql.replication.discovery[]', zbx.json({'data': lags}))
9191
del lags
9292

0 commit comments

Comments
 (0)