{"action":"created","issue":{"url":"https://api.github.com/repos/Stanford-Online/edx-platform/issues/173","labels_url":"https://api.github.com/repos/Stanford-Online/edx-platform/issues/173/labels{/name}","comments_url":"https://api.github.com/repos/Stanford-Online/edx-platform/issues/173/comments","events_url":"https://api.github.com/repos/Stanford-Online/edx-platform/issues/173/events","html_url":"https://github.com/Stanford-Online/edx-platform/pull/173","id":52549817,"number":173,"title":"Switched metrics tab data source to api client","user":{"login":"dylanrhodes","id":1864903,"avatar_url":"https://avatars.githubusercontent.com/u/1864903?v=3","gravatar_id":"","url":"https://api.github.com/users/dylanrhodes","html_url":"https://github.com/dylanrhodes","followers_url":"https://api.github.com/users/dylanrhodes/followers","following_url":"https://api.github.com/users/dylanrhodes/following{/other_user}","gists_url":"https://api.github.com/users/dylanrhodes/gists{/gist_id}","starred_url":"https://api.github.com/users/dylanrhodes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylanrhodes/subscriptions","organizations_url":"https://api.github.com/users/dylanrhodes/orgs","repos_url":"https://api.github.com/users/dylanrhodes/repos","events_url":"https://api.github.com/users/dylanrhodes/events{/privacy}","received_events_url":"https://api.github.com/users/dylanrhodes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-12-20T03:13:00Z","updated_at":"2015-01-13T01:27:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Stanford-Online/edx-platform/pulls/173","html_url":"https://github.com/Stanford-Online/edx-platform/pull/173","diff_url":"https://github.com/Stanford-Online/edx-platform/pull/173.diff","patch_url":"https://github.com/Stanford-Online/edx-platform/pull/173.patch"},"body":"This request makes changes to the metrics tab backend but does not alter the functionality or interface at all.  It switches the tab's data source to the new module methods which were recently added to the data API client.  This should improve the response and generation time for the bar charts contained in the metrics tab, since it will access pre-aggregated data prepared by the analytics pipeline rather than querying for and aggregating the data when the page is requested.  The metrics tab is located in the instructor dashboard under 'Metrics'.  I'm sorry I didn't manage to get this in before everyone left on holiday, but I figured that I might as well make the PR now, since I'm not sure when everyone else is coming back from break and there might be a few days I'm not there for when it could be reviewed (I'll be back on the fifth).  If anyone makes comments in the meantime, I will do my best to respond, but I may be a bit delayed.  Happy holidays, everyone! @jbau @dcadams @stvstnfrd "},"comment":{"url":"https://api.github.com/repos/Stanford-Online/edx-platform/issues/comments/69680280","html_url":"https://github.com/Stanford-Online/edx-platform/pull/173#issuecomment-69680280","issue_url":"https://api.github.com/repos/Stanford-Online/edx-platform/issues/173","id":69680280,"user":{"login":"dylanrhodes","id":1864903,"avatar_url":"https://avatars.githubusercontent.com/u/1864903?v=3","gravatar_id":"","url":"https://api.github.com/users/dylanrhodes","html_url":"https://github.com/dylanrhodes","followers_url":"https://api.github.com/users/dylanrhodes/followers","following_url":"https://api.github.com/users/dylanrhodes/following{/other_user}","gists_url":"https://api.github.com/users/dylanrhodes/gists{/gist_id}","starred_url":"https://api.github.com/users/dylanrhodes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylanrhodes/subscriptions","organizations_url":"https://api.github.com/users/dylanrhodes/orgs","repos_url":"https://api.github.com/users/dylanrhodes/repos","events_url":"https://api.github.com/users/dylanrhodes/events{/privacy}","received_events_url":"https://api.github.com/users/dylanrhodes/received_events","type":"User","site_admin":false},"created_at":"2015-01-13T01:27:04Z","updated_at":"2015-01-13T01:27:04Z","body":"retest this please"}}