{"action":"closed","number":21,"pull_request":{"url":"https://api.github.com/repos/9corp/9volt/pulls/21","id":96483961,"html_url":"https://github.com/9corp/9volt/pull/21","diff_url":"https://github.com/9corp/9volt/pull/21.diff","patch_url":"https://github.com/9corp/9volt/pull/21.patch","issue_url":"https://api.github.com/repos/9corp/9volt/issues/21","number":21,"state":"closed","locked":false,"title":"Dselans/manager","user":{"login":"dselans","id":1938759,"avatar_url":"https://avatars.githubusercontent.com/u/1938759?v=3","gravatar_id":"","url":"https://api.github.com/users/dselans","html_url":"https://github.com/dselans","followers_url":"https://api.github.com/users/dselans/followers","following_url":"https://api.github.com/users/dselans/following{/other_user}","gists_url":"https://api.github.com/users/dselans/gists{/gist_id}","starred_url":"https://api.github.com/users/dselans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dselans/subscriptions","organizations_url":"https://api.github.com/users/dselans/orgs","repos_url":"https://api.github.com/users/dselans/repos","events_url":"https://api.github.com/users/dselans/events{/privacy}","received_events_url":"https://api.github.com/users/dselans/received_events","type":"User","site_admin":false},"body":"This PR is quite large and consists of things I've worked on for the past month. A lot of this was  exploratory - to see if things are going in the right direction. I am still not 100% convinced whether this is the way we'd like to have monitors launched/managed or whether this is the way we envision alerting to be handled, but it is more or less a complete, working solution.\r\n\r\nAs it stands right this moment - it is possible to launch the monitoring system and have it perform http checks and send alerts via the slack alerter (taking into account resolves and/or critical/warning threshold hits).\r\n\r\nSo what's in here:\r\n\r\n- Manager is more or less complete\r\n- Slack alerter is more or less complete\r\n- Introduction of the monitor package (package that actually starts/stops monitors)\r\n- Bunch of DAL updates and fixes\r\n- Bunch of bug/race fixes\r\n\r\nI'm leaving the existing `check` implementation as we may still want to adapt it to how manager and monitor is implemented (or as a pattern we could use elsewhere).\r\n\r\nThe next big thing is state, followed by API; at this point it should be okay to write additional checkers and alerters at any time.","created_at":"2016-12-05T08:01:33Z","updated_at":"2016-12-06T02:38:14Z","closed_at":"2016-12-06T02:38:14Z","merged_at":"2016-12-06T02:38:14Z","merge_commit_sha":"87cde48326dc319fa8628614ee184f9f34949133","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/9corp/9volt/pulls/21/commits","review_comments_url":"https://api.github.com/repos/9corp/9volt/pulls/21/comments","review_comment_url":"https://api.github.com/repos/9corp/9volt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/9corp/9volt/issues/21/comments","statuses_url":"https://api.github.com/repos/9corp/9volt/statuses/fd0120c05ac9890a10e16ac601938774691c55ed","head":{"label":"9corp:dselans/manager","ref":"dselans/manager","sha":"fd0120c05ac9890a10e16ac601938774691c55ed","user":{"login":"9corp","id":19199622,"avatar_url":"https://avatars.githubusercontent.com/u/19199622?v=3","gravatar_id":"","url":"https://api.github.com/users/9corp","html_url":"https://github.com/9corp","followers_url":"https://api.github.com/users/9corp/followers","following_url":"https://api.github.com/users/9corp/following{/other_user}","gists_url":"https://api.github.com/users/9corp/gists{/gist_id}","starred_url":"https://api.github.com/users/9corp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/9corp/subscriptions","organizations_url":"https://api.github.com/users/9corp/orgs","repos_url":"https://api.github.com/users/9corp/repos","events_url":"https://api.github.com/users/9corp/events{/privacy}","received_events_url":"https://api.github.com/users/9corp/received_events","type":"Organization","site_admin":false},"repo":{"id":58104834,"name":"9volt","full_name":"9corp/9volt","owner":{"login":"9corp","id":19199622,"avatar_url":"https://avatars.githubusercontent.com/u/19199622?v=3","gravatar_id":"","url":"https://api.github.com/users/9corp","html_url":"https://github.com/9corp","followers_url":"https://api.github.com/users/9corp/followers","following_url":"https://api.github.com/users/9corp/following{/other_user}","gists_url":"https://api.github.com/users/9corp/gists{/gist_id}","starred_url":"https://api.github.com/users/9corp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/9corp/subscriptions","organizations_url":"https://api.github.com/users/9corp/orgs","repos_url":"https://api.github.com/users/9corp/repos","events_url":"https://api.github.com/users/9corp/events{/privacy}","received_events_url":"https://api.github.com/users/9corp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/9corp/9volt","description":"A modern, distributed monitoring system written in Go","fork":false,"url":"https://api.github.com/repos/9corp/9volt","forks_url":"https://api.github.com/repos/9corp/9volt/forks","keys_url":"https://api.github.com/repos/9corp/9volt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/9corp/9volt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/9corp/9volt/teams","hooks_url":"https://api.github.com/repos/9corp/9volt/hooks","issue_events_url":"https://api.github.com/repos/9corp/9volt/issues/events{/number}","events_url":"https://api.github.com/repos/9corp/9volt/events","assignees_url":"https://api.github.com/repos/9corp/9volt/assignees{/user}","branches_url":"https://api.github.com/repos/9corp/9volt/branches{/branch}","tags_url":"https://api.github.com/repos/9corp/9volt/tags","blobs_url":"https://api.github.com/repos/9corp/9volt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/9corp/9volt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/9corp/9volt/git/refs{/sha}","trees_url":"https://api.github.com/repos/9corp/9volt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/9corp/9volt/statuses/{sha}","languages_url":"https://api.github.com/repos/9corp/9volt/languages","stargazers_url":"https://api.github.com/repos/9corp/9volt/stargazers","contributors_url":"https://api.github.com/repos/9corp/9volt/contributors","subscribers_url":"https://api.github.com/repos/9corp/9volt/subscribers","subscription_url":"https://api.github.com/repos/9corp/9volt/subscription","commits_url":"https://api.github.com/repos/9corp/9volt/commits{/sha}","git_commits_url":"https://api.github.com/repos/9corp/9volt/git/commits{/sha}","comments_url":"https://api.github.com/repos/9corp/9volt/comments{/number}","issue_comment_url":"https://api.github.com/repos/9corp/9volt/issues/comments{/number}","contents_url":"https://api.github.com/repos/9corp/9volt/contents/{+path}","compare_url":"https://api.github.com/repos/9corp/9volt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/9corp/9volt/merges","archive_url":"https://api.github.com/repos/9corp/9volt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/9corp/9volt/downloads","issues_url":"https://api.github.com/repos/9corp/9volt/issues{/number}","pulls_url":"https://api.github.com/repos/9corp/9volt/pulls{/number}","milestones_url":"https://api.github.com/repos/9corp/9volt/milestones{/number}","notifications_url":"https://api.github.com/repos/9corp/9volt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/9corp/9volt/labels{/name}","releases_url":"https://api.github.com/repos/9corp/9volt/releases{/id}","deployments_url":"https://api.github.com/repos/9corp/9volt/deployments","created_at":"2016-05-05T04:43:52Z","updated_at":"2016-11-22T15:13:10Z","pushed_at":"2016-12-06T02:38:14Z","git_url":"git://github.com/9corp/9volt.git","ssh_url":"git@github.com:9corp/9volt.git","clone_url":"https://github.com/9corp/9volt.git","svn_url":"https://github.com/9corp/9volt","homepage":null,"size":1135,"stargazers_count":10,"watchers_count":10,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":10,"forks":0,"open_issues":10,"watchers":10,"default_branch":"master"}},"base":{"label":"9corp:master","ref":"master","sha":"097ad28c4cb41e4f685458c0c0145a32698761ab","user":{"login":"9corp","id":19199622,"avatar_url":"https://avatars.githubusercontent.com/u/19199622?v=3","gravatar_id":"","url":"https://api.github.com/users/9corp","html_url":"https://github.com/9corp","followers_url":"https://api.github.com/users/9corp/followers","following_url":"https://api.github.com/users/9corp/following{/other_user}","gists_url":"https://api.github.com/users/9corp/gists{/gist_id}","starred_url":"https://api.github.com/users/9corp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/9corp/subscriptions","organizations_url":"https://api.github.com/users/9corp/orgs","repos_url":"https://api.github.com/users/9corp/repos","events_url":"https://api.github.com/users/9corp/events{/privacy}","received_events_url":"https://api.github.com/users/9corp/received_events","type":"Organization","site_admin":false},"repo":{"id":58104834,"name":"9volt","full_name":"9corp/9volt","owner":{"login":"9corp","id":19199622,"avatar_url":"https://avatars.githubusercontent.com/u/19199622?v=3","gravatar_id":"","url":"https://api.github.com/users/9corp","html_url":"https://github.com/9corp","followers_url":"https://api.github.com/users/9corp/followers","following_url":"https://api.github.com/users/9corp/following{/other_user}","gists_url":"https://api.github.com/users/9corp/gists{/gist_id}","starred_url":"https://api.github.com/users/9corp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/9corp/subscriptions","organizations_url":"https://api.github.com/users/9corp/orgs","repos_url":"https://api.github.com/users/9corp/repos","events_url":"https://api.github.com/users/9corp/events{/privacy}","received_events_url":"https://api.github.com/users/9corp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/9corp/9volt","description":"A modern, distributed monitoring system written in Go","fork":false,"url":"https://api.github.com/repos/9corp/9volt","forks_url":"https://api.github.com/repos/9corp/9volt/forks","keys_url":"https://api.github.com/repos/9corp/9volt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/9corp/9volt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/9corp/9volt/teams","hooks_url":"https://api.github.com/repos/9corp/9volt/hooks","issue_events_url":"https://api.github.com/repos/9corp/9volt/issues/events{/number}","events_url":"https://api.github.com/repos/9corp/9volt/events","assignees_url":"https://api.github.com/repos/9corp/9volt/assignees{/user}","branches_url":"https://api.github.com/repos/9corp/9volt/branches{/branch}","tags_url":"https://api.github.com/repos/9corp/9volt/tags","blobs_url":"https://api.github.com/repos/9corp/9volt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/9corp/9volt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/9corp/9volt/git/refs{/sha}","trees_url":"https://api.github.com/repos/9corp/9volt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/9corp/9volt/statuses/{sha}","languages_url":"https://api.github.com/repos/9corp/9volt/languages","stargazers_url":"https://api.github.com/repos/9corp/9volt/stargazers","contributors_url":"https://api.github.com/repos/9corp/9volt/contributors","subscribers_url":"https://api.github.com/repos/9corp/9volt/subscribers","subscription_url":"https://api.github.com/repos/9corp/9volt/subscription","commits_url":"https://api.github.com/repos/9corp/9volt/commits{/sha}","git_commits_url":"https://api.github.com/repos/9corp/9volt/git/commits{/sha}","comments_url":"https://api.github.com/repos/9corp/9volt/comments{/number}","issue_comment_url":"https://api.github.com/repos/9corp/9volt/issues/comments{/number}","contents_url":"https://api.github.com/repos/9corp/9volt/contents/{+path}","compare_url":"https://api.github.com/repos/9corp/9volt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/9corp/9volt/merges","archive_url":"https://api.github.com/repos/9corp/9volt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/9corp/9volt/downloads","issues_url":"https://api.github.com/repos/9corp/9volt/issues{/number}","pulls_url":"https://api.github.com/repos/9corp/9volt/pulls{/number}","milestones_url":"https://api.github.com/repos/9corp/9volt/milestones{/number}","notifications_url":"https://api.github.com/repos/9corp/9volt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/9corp/9volt/labels{/name}","releases_url":"https://api.github.com/repos/9corp/9volt/releases{/id}","deployments_url":"https://api.github.com/repos/9corp/9volt/deployments","created_at":"2016-05-05T04:43:52Z","updated_at":"2016-11-22T15:13:10Z","pushed_at":"2016-12-06T02:38:14Z","git_url":"git://github.com/9corp/9volt.git","ssh_url":"git@github.com:9corp/9volt.git","clone_url":"https://github.com/9corp/9volt.git","svn_url":"https://github.com/9corp/9volt","homepage":null,"size":1135,"stargazers_count":10,"watchers_count":10,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":10,"forks":0,"open_issues":10,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/9corp/9volt/pulls/21"},"html":{"href":"https://github.com/9corp/9volt/pull/21"},"issue":{"href":"https://api.github.com/repos/9corp/9volt/issues/21"},"comments":{"href":"https://api.github.com/repos/9corp/9volt/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/9corp/9volt/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/9corp/9volt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/9corp/9volt/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/9corp/9volt/statuses/fd0120c05ac9890a10e16ac601938774691c55ed"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"dselans","id":1938759,"avatar_url":"https://avatars.githubusercontent.com/u/1938759?v=3","gravatar_id":"","url":"https://api.github.com/users/dselans","html_url":"https://github.com/dselans","followers_url":"https://api.github.com/users/dselans/followers","following_url":"https://api.github.com/users/dselans/following{/other_user}","gists_url":"https://api.github.com/users/dselans/gists{/gist_id}","starred_url":"https://api.github.com/users/dselans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dselans/subscriptions","organizations_url":"https://api.github.com/users/dselans/orgs","repos_url":"https://api.github.com/users/dselans/repos","events_url":"https://api.github.com/users/dselans/events{/privacy}","received_events_url":"https://api.github.com/users/dselans/received_events","type":"User","site_admin":false},"comments":1,"review_comments":15,"commits":21,"additions":6756,"deletions":99,"changed_files":70}}
{"actor":{"display_login":"dselans"}}