{"action":"opened","number":2040,"pull_request":{"url":"https://api.github.com/repos/CachetHQ/Cachet/pulls/2040","id":80402987,"html_url":"https://github.com/CachetHQ/Cachet/pull/2040","diff_url":"https://github.com/CachetHQ/Cachet/pull/2040.diff","patch_url":"https://github.com/CachetHQ/Cachet/pull/2040.patch","issue_url":"https://api.github.com/repos/CachetHQ/Cachet/issues/2040","number":2040,"state":"open","locked":false,"title":"[WIP] Metric repository perf","user":{"login":"jbrooksuk","id":246103,"avatar_url":"https://avatars.githubusercontent.com/u/246103?v=3","gravatar_id":"","url":"https://api.github.com/users/jbrooksuk","html_url":"https://github.com/jbrooksuk","followers_url":"https://api.github.com/users/jbrooksuk/followers","following_url":"https://api.github.com/users/jbrooksuk/following{/other_user}","gists_url":"https://api.github.com/users/jbrooksuk/gists{/gist_id}","starred_url":"https://api.github.com/users/jbrooksuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbrooksuk/subscriptions","organizations_url":"https://api.github.com/users/jbrooksuk/orgs","repos_url":"https://api.github.com/users/jbrooksuk/repos","events_url":"https://api.github.com/users/jbrooksuk/events{/privacy}","received_events_url":"https://api.github.com/users/jbrooksuk/received_events","type":"User","site_admin":false},"body":"Closes #1900.\r\n\r\n---\r\n\r\nRefactoring metrics. This is probably going to end up bigger than I intended it to be, but it'll make it easier to deal with.","created_at":"2016-08-08T07:05:22Z","updated_at":"2016-08-08T07:05:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/CachetHQ/Cachet/pulls/2040/commits","review_comments_url":"https://api.github.com/repos/CachetHQ/Cachet/pulls/2040/comments","review_comment_url":"https://api.github.com/repos/CachetHQ/Cachet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CachetHQ/Cachet/issues/2040/comments","statuses_url":"https://api.github.com/repos/CachetHQ/Cachet/statuses/2f02441f24da7ea4a2b4cb00c2ad5216bdb6c2f9","head":{"label":"CachetHQ:metric-repository-perf","ref":"metric-repository-perf","sha":"2f02441f24da7ea4a2b4cb00c2ad5216bdb6c2f9","user":{"login":"CachetHQ","id":9951502,"avatar_url":"https://avatars.githubusercontent.com/u/9951502?v=3","gravatar_id":"","url":"https://api.github.com/users/CachetHQ","html_url":"https://github.com/CachetHQ","followers_url":"https://api.github.com/users/CachetHQ/followers","following_url":"https://api.github.com/users/CachetHQ/following{/other_user}","gists_url":"https://api.github.com/users/CachetHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/CachetHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CachetHQ/subscriptions","organizations_url":"https://api.github.com/users/CachetHQ/orgs","repos_url":"https://api.github.com/users/CachetHQ/repos","events_url":"https://api.github.com/users/CachetHQ/events{/privacy}","received_events_url":"https://api.github.com/users/CachetHQ/received_events","type":"Organization","site_admin":false},"repo":{"id":26730195,"name":"Cachet","full_name":"CachetHQ/Cachet","owner":{"login":"CachetHQ","id":9951502,"avatar_url":"https://avatars.githubusercontent.com/u/9951502?v=3","gravatar_id":"","url":"https://api.github.com/users/CachetHQ","html_url":"https://github.com/CachetHQ","followers_url":"https://api.github.com/users/CachetHQ/followers","following_url":"https://api.github.com/users/CachetHQ/following{/other_user}","gists_url":"https://api.github.com/users/CachetHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/CachetHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CachetHQ/subscriptions","organizations_url":"https://api.github.com/users/CachetHQ/orgs","repos_url":"https://api.github.com/users/CachetHQ/repos","events_url":"https://api.github.com/users/CachetHQ/events{/privacy}","received_events_url":"https://api.github.com/users/CachetHQ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CachetHQ/Cachet","description":"An open source status page system for everyone.","fork":false,"url":"https://api.github.com/repos/CachetHQ/Cachet","forks_url":"https://api.github.com/repos/CachetHQ/Cachet/forks","keys_url":"https://api.github.com/repos/CachetHQ/Cachet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CachetHQ/Cachet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CachetHQ/Cachet/teams","hooks_url":"https://api.github.com/repos/CachetHQ/Cachet/hooks","issue_events_url":"https://api.github.com/repos/CachetHQ/Cachet/issues/events{/number}","events_url":"https://api.github.com/repos/CachetHQ/Cachet/events","assignees_url":"https://api.github.com/repos/CachetHQ/Cachet/assignees{/user}","branches_url":"https://api.github.com/repos/CachetHQ/Cachet/branches{/branch}","tags_url":"https://api.github.com/repos/CachetHQ/Cachet/tags","blobs_url":"https://api.github.com/repos/CachetHQ/Cachet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CachetHQ/Cachet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CachetHQ/Cachet/git/refs{/sha}","trees_url":"https://api.github.com/repos/CachetHQ/Cachet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CachetHQ/Cachet/statuses/{sha}","languages_url":"https://api.github.com/repos/CachetHQ/Cachet/languages","stargazers_url":"https://api.github.com/repos/CachetHQ/Cachet/stargazers","contributors_url":"https://api.github.com/repos/CachetHQ/Cachet/contributors","subscribers_url":"https://api.github.com/repos/CachetHQ/Cachet/subscribers","subscription_url":"https://api.github.com/repos/CachetHQ/Cachet/subscription","commits_url":"https://api.github.com/repos/CachetHQ/Cachet/commits{/sha}","git_commits_url":"https://api.github.com/repos/CachetHQ/Cachet/git/commits{/sha}","comments_url":"https://api.github.com/repos/CachetHQ/Cachet/comments{/number}","issue_comment_url":"https://api.github.com/repos/CachetHQ/Cachet/issues/comments{/number}","contents_url":"https://api.github.com/repos/CachetHQ/Cachet/contents/{+path}","compare_url":"https://api.github.com/repos/CachetHQ/Cachet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CachetHQ/Cachet/merges","archive_url":"https://api.github.com/repos/CachetHQ/Cachet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CachetHQ/Cachet/downloads","issues_url":"https://api.github.com/repos/CachetHQ/Cachet/issues{/number}","pulls_url":"https://api.github.com/repos/CachetHQ/Cachet/pulls{/number}","milestones_url":"https://api.github.com/repos/CachetHQ/Cachet/milestones{/number}","notifications_url":"https://api.github.com/repos/CachetHQ/Cachet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CachetHQ/Cachet/labels{/name}","releases_url":"https://api.github.com/repos/CachetHQ/Cachet/releases{/id}","deployments_url":"https://api.github.com/repos/CachetHQ/Cachet/deployments","created_at":"2014-11-16T22:23:11Z","updated_at":"2016-08-08T06:14:01Z","pushed_at":"2016-08-08T07:05:22Z","git_url":"git://github.com/CachetHQ/Cachet.git","ssh_url":"git@github.com:CachetHQ/Cachet.git","clone_url":"https://github.com/CachetHQ/Cachet.git","svn_url":"https://github.com/CachetHQ/Cachet","homepage":"https://cachethq.io","size":18755,"stargazers_count":4719,"watchers_count":4719,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":530,"mirror_url":null,"open_issues_count":56,"forks":530,"open_issues":56,"watchers":4719,"default_branch":"2.4"}},"base":{"label":"CachetHQ:2.4","ref":"2.4","sha":"3c9062218517b2520b0e20bea409c407a6ed7967","user":{"login":"CachetHQ","id":9951502,"avatar_url":"https://avatars.githubusercontent.com/u/9951502?v=3","gravatar_id":"","url":"https://api.github.com/users/CachetHQ","html_url":"https://github.com/CachetHQ","followers_url":"https://api.github.com/users/CachetHQ/followers","following_url":"https://api.github.com/users/CachetHQ/following{/other_user}","gists_url":"https://api.github.com/users/CachetHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/CachetHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CachetHQ/subscriptions","organizations_url":"https://api.github.com/users/CachetHQ/orgs","repos_url":"https://api.github.com/users/CachetHQ/repos","events_url":"https://api.github.com/users/CachetHQ/events{/privacy}","received_events_url":"https://api.github.com/users/CachetHQ/received_events","type":"Organization","site_admin":false},"repo":{"id":26730195,"name":"Cachet","full_name":"CachetHQ/Cachet","owner":{"login":"CachetHQ","id":9951502,"avatar_url":"https://avatars.githubusercontent.com/u/9951502?v=3","gravatar_id":"","url":"https://api.github.com/users/CachetHQ","html_url":"https://github.com/CachetHQ","followers_url":"https://api.github.com/users/CachetHQ/followers","following_url":"https://api.github.com/users/CachetHQ/following{/other_user}","gists_url":"https://api.github.com/users/CachetHQ/gists{/gist_id}","starred_url":"https://api.github.com/users/CachetHQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CachetHQ/subscriptions","organizations_url":"https://api.github.com/users/CachetHQ/orgs","repos_url":"https://api.github.com/users/CachetHQ/repos","events_url":"https://api.github.com/users/CachetHQ/events{/privacy}","received_events_url":"https://api.github.com/users/CachetHQ/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CachetHQ/Cachet","description":"An open source status page system for everyone.","fork":false,"url":"https://api.github.com/repos/CachetHQ/Cachet","forks_url":"https://api.github.com/repos/CachetHQ/Cachet/forks","keys_url":"https://api.github.com/repos/CachetHQ/Cachet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CachetHQ/Cachet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CachetHQ/Cachet/teams","hooks_url":"https://api.github.com/repos/CachetHQ/Cachet/hooks","issue_events_url":"https://api.github.com/repos/CachetHQ/Cachet/issues/events{/number}","events_url":"https://api.github.com/repos/CachetHQ/Cachet/events","assignees_url":"https://api.github.com/repos/CachetHQ/Cachet/assignees{/user}","branches_url":"https://api.github.com/repos/CachetHQ/Cachet/branches{/branch}","tags_url":"https://api.github.com/repos/CachetHQ/Cachet/tags","blobs_url":"https://api.github.com/repos/CachetHQ/Cachet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CachetHQ/Cachet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CachetHQ/Cachet/git/refs{/sha}","trees_url":"https://api.github.com/repos/CachetHQ/Cachet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CachetHQ/Cachet/statuses/{sha}","languages_url":"https://api.github.com/repos/CachetHQ/Cachet/languages","stargazers_url":"https://api.github.com/repos/CachetHQ/Cachet/stargazers","contributors_url":"https://api.github.com/repos/CachetHQ/Cachet/contributors","subscribers_url":"https://api.github.com/repos/CachetHQ/Cachet/subscribers","subscription_url":"https://api.github.com/repos/CachetHQ/Cachet/subscription","commits_url":"https://api.github.com/repos/CachetHQ/Cachet/commits{/sha}","git_commits_url":"https://api.github.com/repos/CachetHQ/Cachet/git/commits{/sha}","comments_url":"https://api.github.com/repos/CachetHQ/Cachet/comments{/number}","issue_comment_url":"https://api.github.com/repos/CachetHQ/Cachet/issues/comments{/number}","contents_url":"https://api.github.com/repos/CachetHQ/Cachet/contents/{+path}","compare_url":"https://api.github.com/repos/CachetHQ/Cachet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CachetHQ/Cachet/merges","archive_url":"https://api.github.com/repos/CachetHQ/Cachet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CachetHQ/Cachet/downloads","issues_url":"https://api.github.com/repos/CachetHQ/Cachet/issues{/number}","pulls_url":"https://api.github.com/repos/CachetHQ/Cachet/pulls{/number}","milestones_url":"https://api.github.com/repos/CachetHQ/Cachet/milestones{/number}","notifications_url":"https://api.github.com/repos/CachetHQ/Cachet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CachetHQ/Cachet/labels{/name}","releases_url":"https://api.github.com/repos/CachetHQ/Cachet/releases{/id}","deployments_url":"https://api.github.com/repos/CachetHQ/Cachet/deployments","created_at":"2014-11-16T22:23:11Z","updated_at":"2016-08-08T06:14:01Z","pushed_at":"2016-08-08T07:05:22Z","git_url":"git://github.com/CachetHQ/Cachet.git","ssh_url":"git@github.com:CachetHQ/Cachet.git","clone_url":"https://github.com/CachetHQ/Cachet.git","svn_url":"https://github.com/CachetHQ/Cachet","homepage":"https://cachethq.io","size":18755,"stargazers_count":4719,"watchers_count":4719,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":530,"mirror_url":null,"open_issues_count":56,"forks":530,"open_issues":56,"watchers":4719,"default_branch":"2.4"}},"_links":{"self":{"href":"https://api.github.com/repos/CachetHQ/Cachet/pulls/2040"},"html":{"href":"https://github.com/CachetHQ/Cachet/pull/2040"},"issue":{"href":"https://api.github.com/repos/CachetHQ/Cachet/issues/2040"},"comments":{"href":"https://api.github.com/repos/CachetHQ/Cachet/issues/2040/comments"},"review_comments":{"href":"https://api.github.com/repos/CachetHQ/Cachet/pulls/2040/comments"},"review_comment":{"href":"https://api.github.com/repos/CachetHQ/Cachet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CachetHQ/Cachet/pulls/2040/commits"},"statuses":{"href":"https://api.github.com/repos/CachetHQ/Cachet/statuses/2f02441f24da7ea4a2b4cb00c2ad5216bdb6c2f9"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":298,"deletions":342,"changed_files":9}}
{"actor":{"display_login":"jbrooksuk"}}