{"action":"created","issue":{"url":"https://api.github.com/repos/ministryofjustice/manchester_traffic_offences_pleas/issues/296","repository_url":"https://api.github.com/repos/ministryofjustice/manchester_traffic_offences_pleas","labels_url":"https://api.github.com/repos/ministryofjustice/manchester_traffic_offences_pleas/issues/296/labels{/name}","comments_url":"https://api.github.com/repos/ministryofjustice/manchester_traffic_offences_pleas/issues/296/comments","events_url":"https://api.github.com/repos/ministryofjustice/manchester_traffic_offences_pleas/issues/296/events","html_url":"https://github.com/ministryofjustice/manchester_traffic_offences_pleas/pull/296","id":165313279,"number":296,"title":"Initial monitoring / stats service health MVP","user":{"login":"lgarvey","id":237923,"avatar_url":"https://avatars.githubusercontent.com/u/237923?v=3","gravatar_id":"","url":"https://api.github.com/users/lgarvey","html_url":"https://github.com/lgarvey","followers_url":"https://api.github.com/users/lgarvey/followers","following_url":"https://api.github.com/users/lgarvey/following{/other_user}","gists_url":"https://api.github.com/users/lgarvey/gists{/gist_id}","starred_url":"https://api.github.com/users/lgarvey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lgarvey/subscriptions","organizations_url":"https://api.github.com/users/lgarvey/orgs","repos_url":"https://api.github.com/users/lgarvey/repos","events_url":"https://api.github.com/users/lgarvey/events{/privacy}","received_events_url":"https://api.github.com/users/lgarvey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-13T12:55:14Z","updated_at":"2016-07-13T12:55:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ministryofjustice/manchester_traffic_offences_pleas/pulls/296","html_url":"https://github.com/ministryofjustice/manchester_traffic_offences_pleas/pull/296","diff_url":"https://github.com/ministryofjustice/manchester_traffic_offences_pleas/pull/296.diff","patch_url":"https://github.com/ministryofjustice/manchester_traffic_offences_pleas/pull/296.patch"},"body":"I've added a page which displays a break down of relevant stats by court for each day. The page resides on /service-status/ and currently requires the user to log into the admin to access it.  It's worth having a discussion about how sensitive this data is, as it would be easier if the URL was unprotected in terms of HMCTS staff being able to access it.\r\n\r\nI've only tested the page locally with a minimal set of data, and it loads quite slowly.  So depending on how it fares on production with a full set of data, I may need to do some refactoring so that aggregate data is generated and stored separately rather than generated each time the page loads.  If we can get away the data being generated on each page load, then this is better because in the case of email sending failures, these may clear up over time as celery re-attempts delivery.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ministryofjustice/manchester_traffic_offences_pleas/issues/comments/232346015","html_url":"https://github.com/ministryofjustice/manchester_traffic_offences_pleas/pull/296#issuecomment-232346015","issue_url":"https://api.github.com/repos/ministryofjustice/manchester_traffic_offences_pleas/issues/296","id":232346015,"user":{"login":"jenkins-moj","id":4678661,"avatar_url":"https://avatars.githubusercontent.com/u/4678661?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkins-moj","html_url":"https://github.com/jenkins-moj","followers_url":"https://api.github.com/users/jenkins-moj/followers","following_url":"https://api.github.com/users/jenkins-moj/following{/other_user}","gists_url":"https://api.github.com/users/jenkins-moj/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkins-moj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkins-moj/subscriptions","organizations_url":"https://api.github.com/users/jenkins-moj/orgs","repos_url":"https://api.github.com/users/jenkins-moj/repos","events_url":"https://api.github.com/users/jenkins-moj/events{/privacy}","received_events_url":"https://api.github.com/users/jenkins-moj/received_events","type":"User","site_admin":false},"created_at":"2016-07-13T12:55:17Z","updated_at":"2016-07-13T12:55:17Z","body":"Can one of the admins verify this patch?"}}
{"actor":{"display_login":"jenkins-moj"}}