Statsd #34

Merged
merged 2 commits into from Nov 4, 2011

3 participants

@davedash
Mozilla member

No description provided.

@cvan
Mozilla member

is this always going to be an integer?

@tofumatt tofumatt commented on the diff Nov 3, 2011
apps/search/views.py
@@ -218,6 +219,10 @@ def index(request):
page = form.data.get('page', 1)
+ # Are people going past the first page?
+ if page > 1:
+ statsd.incr('search.paginating')
@tofumatt
Mozilla member
tofumatt added a line comment Nov 3, 2011

Cool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@tofumatt
Mozilla member

r+ from me. Coolness.

@davedash davedash merged commit 11f5b2a into mozilla:master Nov 4, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment