added instrumentation, including user logins,registrations,enrollment,correct answers

This commit is contained in:
Vik Paruchuri
2012-10-22 20:01:39 -04:00
parent f296815d51
commit 3ba45fec73

View File

@@ -57,7 +57,7 @@ class CorrectMap(object):
if correctness=="correct":
statsd.increment("user.correct_answer")
else:
statsd.increment("user.incorrect_answer)
statsd.increment("user.incorrect_answer")
def __repr__(self):
return repr(self.cmap)