Commit 26f06d4a by Calen Pennington

Record the number of blocks requested in get_many

parent a495847b
......@@ -136,6 +136,8 @@ class DjangoXBlockUserStateClient(XBlockUserStateClient):
block_count = state_length = 0
evt_time = time()
self._ddog_histogram(evt_time, 'get_many.blks_requested', len(block_keys))
modules = self._get_student_modules(username, block_keys)
for module, usage_key in modules:
if module.state is None:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment