Skip to content

Commit ac65455

Browse files
committed
fix: fixed WAL Sync Duty formula
1 parent 0bf6d62 commit ac65455

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mamonsu/plugins/pgsql/wal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def items(self, template, dashboard=False):
129129
"value_type": Plugin.VALUE_TYPE.numeric_float,
130130
"units": Plugin.UNITS.percent,
131131
"type": Plugin.TYPE.CALCULATED,
132-
"params": "last(" + self.key_wal_sync_time + ")/10/" + self.plugin_config("interval")
132+
"params": "last(" + self.key_wal_sync_time + ")/10"
133133
})
134134
if not dashboard:
135135
return result

0 commit comments

Comments
 (0)