Skip to content

Commit b482e08

Browse files
committed
By default gauge values should not be deleted
The original statsd documentation states, that gauge values will be send every flush interval and if no update happens, the old value will be used, which did not work in pystatsd.
1 parent a661259 commit b482e08

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pystatsd/server.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@ def flush(self):
200200
elif self.transport == 'ganglia-gmetric':
201201
self.send_to_ganglia_using_gmetric(k,v, "_gauges", "gauge")
202202

203-
del(self.gauges[k])
204203
stats += 1
205204

206205
for k, (v, t) in self.timers.items():

0 commit comments

Comments
 (0)