@@ -143,27 +143,27 @@ def items(self, template, dashboard=False):
143143 'name' : 'PostgreSQL: wal records generated' ,
144144 'key' : self .right_type (self .key_wal_records ),
145145 'value_type' : self .VALUE_TYPE .numeric_unsigned ,
146- 'delta' : Plugin . DELTA_SPEED ,
146+ 'delta' : delta ,
147147 }) + template .item ({
148148 'name' : 'PostgreSQL: wal full page images generated' ,
149149 'key' : self .right_type (self .key_wal_fpi ),
150150 'value_type' : self .VALUE_TYPE .numeric_unsigned ,
151- 'delta' : Plugin . DELTA_SPEED ,
151+ 'delta' : delta ,
152152 }) + template .item ({
153153 'name' : 'PostgreSQL: wal buffers full' ,
154154 'key' : self .key_wal_buffers_full ,
155155 'value_type' : self .VALUE_TYPE .numeric_unsigned ,
156- 'delta' : Plugin . DELTA_CHANGE ,
156+ 'delta' : delta ,
157157 }) + template .item ({
158158 'name' : 'PostgreSQL: wal write time (ms)' ,
159159 'key' : self .key_wal_write_time ,
160160 'value_type' : self .VALUE_TYPE .numeric_unsigned ,
161- 'delta' : Plugin . DELTA_CHANGE ,
161+ 'delta' : delta ,
162162 }) + template .item ({
163163 'name' : 'PostgreSQL: wal sync time (ms)' ,
164164 'key' : self .key_wal_sync_time ,
165165 'value_type' : self .VALUE_TYPE .numeric_unsigned ,
166- 'delta' : Plugin . DELTA_CHANGE ,
166+ 'delta' : delta ,
167167 }) + template .item ({
168168 'name' : 'PostgreSQL: wal sync duty (%)' ,
169169 'key' : self .key_wal_sync_duty ,
0 commit comments