{"action":"created","comment":{"url":"https://api.github.com/repos/Financial-Times/spoor-api/pulls/comments/54066321","id":54066321,"diff_hunk":"@@ -0,0 +1,19 @@\n+module.exports = {\n+\tname: 'Service Unavailability',\n+\tdescription : 'Healthchecks for spoor api\\'s 503 error rate',\n+\tchecks : [\n+\t\t{\n+\t\t\t'name': 'App 503 error rate is acceptable',\n+\t\t\t'type': 'graphiteSpike',\n+\t\t\t'threshold': 90,\n+\t\t\t'baselinePeriod': '14d',\n+\t\t\t'samplePeriod': '1hour',\n+\t\t\t'numerator': 'heroku.spoor-enrichment.metricseu_1.fastly.2UZqZLWRfC73vSwyx0Hett.all.status_503',\n+\t\t\t'severity': 3,\n+\t\t\t'graphiteServiceId':'d6742c36',\n+\t\t\t'businessImpact' : 'Increasing number of customers will be served with 503 \\'Sorry\\' page',","path":"server/config/service-unavailability.js","position":14,"original_position":14,"commit_id":"4b2cce4f0d1534bf4769308981379f3367ad94e1","original_commit_id":"4b2cce4f0d1534bf4769308981379f3367ad94e1","user":{"login":"commuterjoy","id":84996,"avatar_url":"https://avatars.githubusercontent.com/u/84996?v=3","gravatar_id":"","url":"https://api.github.com/users/commuterjoy","html_url":"https://github.com/commuterjoy","followers_url":"https://api.github.com/users/commuterjoy/followers","following_url":"https://api.github.com/users/commuterjoy/following{/other_user}","gists_url":"https://api.github.com/users/commuterjoy/gists{/gist_id}","starred_url":"https://api.github.com/users/commuterjoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/commuterjoy/subscriptions","organizations_url":"https://api.github.com/users/commuterjoy/orgs","repos_url":"https://api.github.com/users/commuterjoy/repos","events_url":"https://api.github.com/users/commuterjoy/events{/privacy}","received_events_url":"https://api.github.com/users/commuterjoy/received_events","type":"User","site_admin":false},"body":"Can you link the business impact and technicalSummary to http://spoor-docs.herokuapp.com/runbook ","created_at":"2016-02-25T09:12:16Z","updated_at":"2016-02-25T09:12:16Z","html_url":"https://github.com/Financial-Times/spoor-api/pull/80#discussion_r54066321","pull_request_url":"https://api.github.com/repos/Financial-Times/spoor-api/pulls/80","_links":{"self":{"href":"https://api.github.com/repos/Financial-Times/spoor-api/pulls/comments/54066321"},"html":{"href":"https://github.com/Financial-Times/spoor-api/pull/80#discussion_r54066321"},"pull_request":{"href":"https://api.github.com/repos/Financial-Times/spoor-api/pulls/80"}}},"pull_request":{"url":"https://api.github.com/repos/Financial-Times/spoor-api/pulls/80","id":60641470,"html_url":"https://github.com/Financial-Times/spoor-api/pull/80","diff_url":"https://github.com/Financial-Times/spoor-api/pull/80.diff","patch_url":"https://github.com/Financial-Times/spoor-api/pull/80.patch","issue_url":"https://api.github.com/repos/Financial-Times/spoor-api/issues/80","number":80,"state":"open","locked":false,"title":"Health checks","user":{"login":"akilananb","id":15230121,"avatar_url":"https://avatars.githubusercontent.com/u/15230121?v=3","gravatar_id":"","url":"https://api.github.com/users/akilananb","html_url":"https://github.com/akilananb","followers_url":"https://api.github.com/users/akilananb/followers","following_url":"https://api.github.com/users/akilananb/following{/other_user}","gists_url":"https://api.github.com/users/akilananb/gists{/gist_id}","starred_url":"https://api.github.com/users/akilananb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akilananb/subscriptions","organizations_url":"https://api.github.com/users/akilananb/orgs","repos_url":"https://api.github.com/users/akilananb/repos","events_url":"https://api.github.com/users/akilananb/events{/privacy}","received_events_url":"https://api.github.com/users/akilananb/received_events","type":"User","site_admin":false},"body":"App 503 error rate fastly all region.","created_at":"2016-02-25T08:24:42Z","updated_at":"2016-02-25T09:12:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1f34af6280924e7d961c3ef7594b4d1537a90b33","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Financial-Times/spoor-api/pulls/80/commits","review_comments_url":"https://api.github.com/repos/Financial-Times/spoor-api/pulls/80/comments","review_comment_url":"https://api.github.com/repos/Financial-Times/spoor-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Financial-Times/spoor-api/issues/80/comments","statuses_url":"https://api.github.com/repos/Financial-Times/spoor-api/statuses/4b2cce4f0d1534bf4769308981379f3367ad94e1","head":{"label":"Financial-Times:health-checks","ref":"health-checks","sha":"4b2cce4f0d1534bf4769308981379f3367ad94e1","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":35607717,"name":"spoor-api","full_name":"Financial-Times/spoor-api","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/spoor-api","description":"","fork":false,"url":"https://api.github.com/repos/Financial-Times/spoor-api","forks_url":"https://api.github.com/repos/Financial-Times/spoor-api/forks","keys_url":"https://api.github.com/repos/Financial-Times/spoor-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/spoor-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/spoor-api/teams","hooks_url":"https://api.github.com/repos/Financial-Times/spoor-api/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/spoor-api/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/spoor-api/events","assignees_url":"https://api.github.com/repos/Financial-Times/spoor-api/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/spoor-api/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/spoor-api/tags","blobs_url":"https://api.github.com/repos/Financial-Times/spoor-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/spoor-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/spoor-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/spoor-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/spoor-api/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/spoor-api/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/spoor-api/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/spoor-api/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/spoor-api/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/spoor-api/subscription","commits_url":"https://api.github.com/repos/Financial-Times/spoor-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/spoor-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/spoor-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/spoor-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/spoor-api/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/spoor-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/spoor-api/merges","archive_url":"https://api.github.com/repos/Financial-Times/spoor-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/spoor-api/downloads","issues_url":"https://api.github.com/repos/Financial-Times/spoor-api/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/spoor-api/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/spoor-api/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/spoor-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/spoor-api/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/spoor-api/releases{/id}","deployments_url":"https://api.github.com/repos/Financial-Times/spoor-api/deployments","created_at":"2015-05-14T11:31:47Z","updated_at":"2016-01-11T14:13:37Z","pushed_at":"2016-02-25T08:31:42Z","git_url":"git://github.com/Financial-Times/spoor-api.git","ssh_url":"git@github.com:Financial-Times/spoor-api.git","clone_url":"https://github.com/Financial-Times/spoor-api.git","svn_url":"https://github.com/Financial-Times/spoor-api","homepage":null,"size":1093,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":5,"forks":2,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"Financial-Times:master","ref":"master","sha":"f505a048d8db107b255085c947abd8dda8612d49","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":35607717,"name":"spoor-api","full_name":"Financial-Times/spoor-api","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/spoor-api","description":"","fork":false,"url":"https://api.github.com/repos/Financial-Times/spoor-api","forks_url":"https://api.github.com/repos/Financial-Times/spoor-api/forks","keys_url":"https://api.github.com/repos/Financial-Times/spoor-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/spoor-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/spoor-api/teams","hooks_url":"https://api.github.com/repos/Financial-Times/spoor-api/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/spoor-api/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/spoor-api/events","assignees_url":"https://api.github.com/repos/Financial-Times/spoor-api/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/spoor-api/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/spoor-api/tags","blobs_url":"https://api.github.com/repos/Financial-Times/spoor-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/spoor-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/spoor-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/spoor-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/spoor-api/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/spoor-api/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/spoor-api/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/spoor-api/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/spoor-api/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/spoor-api/subscription","commits_url":"https://api.github.com/repos/Financial-Times/spoor-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/spoor-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/spoor-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/spoor-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/spoor-api/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/spoor-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/spoor-api/merges","archive_url":"https://api.github.com/repos/Financial-Times/spoor-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/spoor-api/downloads","issues_url":"https://api.github.com/repos/Financial-Times/spoor-api/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/spoor-api/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/spoor-api/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/spoor-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/spoor-api/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/spoor-api/releases{/id}","deployments_url":"https://api.github.com/repos/Financial-Times/spoor-api/deployments","created_at":"2015-05-14T11:31:47Z","updated_at":"2016-01-11T14:13:37Z","pushed_at":"2016-02-25T08:31:42Z","git_url":"git://github.com/Financial-Times/spoor-api.git","ssh_url":"git@github.com:Financial-Times/spoor-api.git","clone_url":"https://github.com/Financial-Times/spoor-api.git","svn_url":"https://github.com/Financial-Times/spoor-api","homepage":null,"size":1093,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":5,"forks":2,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Financial-Times/spoor-api/pulls/80"},"html":{"href":"https://github.com/Financial-Times/spoor-api/pull/80"},"issue":{"href":"https://api.github.com/repos/Financial-Times/spoor-api/issues/80"},"comments":{"href":"https://api.github.com/repos/Financial-Times/spoor-api/issues/80/comments"},"review_comments":{"href":"https://api.github.com/repos/Financial-Times/spoor-api/pulls/80/comments"},"review_comment":{"href":"https://api.github.com/repos/Financial-Times/spoor-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Financial-Times/spoor-api/pulls/80/commits"},"statuses":{"href":"https://api.github.com/repos/Financial-Times/spoor-api/statuses/4b2cce4f0d1534bf4769308981379f3367ad94e1"}}}}