Use incr instead of gauge when sending events to drawAsInfinite to statsd

(imported from commit 08a4b6920c7a4a8f472f147ddce7c04710fe5c0a)
This commit is contained in:
Leo Franchi
2013-04-18 22:08:33 -04:00
parent 7b87c201f0
commit 7b0423efc1
2 changed files with 2 additions and 2 deletions

View File

@@ -88,4 +88,4 @@ def log_statsd_event(name):
you can use the drawAsInfinite() command
"""
event_name = "events.%s" % (name,)
statsd.gauge(event_name, int(time()))
statsd.incr(event_name, int(time()))