Commit ec49576e by Calen Pennington

Merge pull request #9387 from cpennington/csm-count-requested-blocks

Record the number of blocks requested in get_many
parents 2c7c4ba8 26f06d4a
......@@ -140,6 +140,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