@@ -143,27 +143,27 @@ def items(self, template, dashboard=False):
143
143
'name' : 'PostgreSQL: wal records generated' ,
144
144
'key' : self .right_type (self .key_wal_records ),
145
145
'value_type' : self .VALUE_TYPE .numeric_unsigned ,
146
- 'delta' : Plugin . DELTA_SPEED ,
146
+ 'delta' : delta ,
147
147
}) + template .item ({
148
148
'name' : 'PostgreSQL: wal full page images generated' ,
149
149
'key' : self .right_type (self .key_wal_fpi ),
150
150
'value_type' : self .VALUE_TYPE .numeric_unsigned ,
151
- 'delta' : Plugin . DELTA_SPEED ,
151
+ 'delta' : delta ,
152
152
}) + template .item ({
153
153
'name' : 'PostgreSQL: wal buffers full' ,
154
154
'key' : self .key_wal_buffers_full ,
155
155
'value_type' : self .VALUE_TYPE .numeric_unsigned ,
156
- 'delta' : Plugin . DELTA_CHANGE ,
156
+ 'delta' : delta ,
157
157
}) + template .item ({
158
158
'name' : 'PostgreSQL: wal write time (ms)' ,
159
159
'key' : self .key_wal_write_time ,
160
160
'value_type' : self .VALUE_TYPE .numeric_unsigned ,
161
- 'delta' : Plugin . DELTA_CHANGE ,
161
+ 'delta' : delta ,
162
162
}) + template .item ({
163
163
'name' : 'PostgreSQL: wal sync time (ms)' ,
164
164
'key' : self .key_wal_sync_time ,
165
165
'value_type' : self .VALUE_TYPE .numeric_unsigned ,
166
- 'delta' : Plugin . DELTA_CHANGE ,
166
+ 'delta' : delta ,
167
167
}) + template .item ({
168
168
'name' : 'PostgreSQL: wal sync duty (%)' ,
169
169
'key' : self .key_wal_sync_duty ,
0 commit comments