{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/pai/pulls/comments/212275156","pull_request_review_id":148868627,"id":212275156,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMjI3NTE1Ng==","diff_hunk":"@@ -0,0 +1,53 @@\n+OpenPai leverage [Prometheus Alertmanager](https://prometheus.io/docs/alerting/alertmanager/) to do\n+alert. Alertmanager can send administrator an email to indicate cluster failure or problem with\n+pre-configured rules.\n+\n+# Configuration\n+\n+To enable alert manager, you should configure it correctly:\n+* select a node to deploy alert manager, it can be a master node of kubernetes or any other node. Once you selected, you should mark this node with `alert-manager: \"true\"` in `cluster-configuration` file, as [example](../../cluster-configuration/cluster-configuration.yaml)\n+* configure alert manager by adding `alerting` fields under `prometheus` to services-configuration file. See [example configuration](../../cluster-configuration/services-configuration.yaml).\n+","path":"prometheus/doc/alert-manager.md","position":10,"original_position":10,"commit_id":"ace66d886e9c274c9d45608dd8909c78cfdcae61","original_commit_id":"ace66d886e9c274c9d45608dd8909c78cfdcae61","user":{"login":"scarlett2018","id":39592018,"node_id":"MDQ6VXNlcjM5NTkyMDE4","avatar_url":"https://avatars3.githubusercontent.com/u/39592018?v=4","gravatar_id":"","url":"https://api.github.com/users/scarlett2018","html_url":"https://github.com/scarlett2018","followers_url":"https://api.github.com/users/scarlett2018/followers","following_url":"https://api.github.com/users/scarlett2018/following{/other_user}","gists_url":"https://api.github.com/users/scarlett2018/gists{/gist_id}","starred_url":"https://api.github.com/users/scarlett2018/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scarlett2018/subscriptions","organizations_url":"https://api.github.com/users/scarlett2018/orgs","repos_url":"https://api.github.com/users/scarlett2018/repos","events_url":"https://api.github.com/users/scarlett2018/events{/privacy}","received_events_url":"https://api.github.com/users/scarlett2018/received_events","type":"User","site_admin":false},"body":"To facilitate the OpenPAI usage, we had predefined few alerting fields for the system.  ","created_at":"2018-08-23T11:35:53Z","updated_at":"2018-08-23T11:35:53Z","html_url":"https://github.com/Microsoft/pai/pull/1107#discussion_r212275156","pull_request_url":"https://api.github.com/repos/Microsoft/pai/pulls/1107","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/pai/pulls/comments/212275156"},"html":{"href":"https://github.com/Microsoft/pai/pull/1107#discussion_r212275156"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/pai/pulls/1107"}}},"pull_request":{"url":"https://api.github.com/repos/Microsoft/pai/pulls/1107","id":209442870,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5NDQyODcw","html_url":"https://github.com/Microsoft/pai/pull/1107","diff_url":"https://github.com/Microsoft/pai/pull/1107.diff","patch_url":"https://github.com/Microsoft/pai/pull/1107.patch","issue_url":"https://api.github.com/repos/Microsoft/pai/issues/1107","number":1107,"state":"open","locked":false,"title":"draft a release in pai-0.7.y","user":{"login":"xudifsd","id":665253,"node_id":"MDQ6VXNlcjY2NTI1Mw==","avatar_url":"https://avatars0.githubusercontent.com/u/665253?v=4","gravatar_id":"","url":"https://api.github.com/users/xudifsd","html_url":"https://github.com/xudifsd","followers_url":"https://api.github.com/users/xudifsd/followers","following_url":"https://api.github.com/users/xudifsd/following{/other_user}","gists_url":"https://api.github.com/users/xudifsd/gists{/gist_id}","starred_url":"https://api.github.com/users/xudifsd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xudifsd/subscriptions","organizations_url":"https://api.github.com/users/xudifsd/orgs","repos_url":"https://api.github.com/users/xudifsd/repos","events_url":"https://api.github.com/users/xudifsd/events{/privacy}","received_events_url":"https://api.github.com/users/xudifsd/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-20T08:13:32Z","updated_at":"2018-08-23T11:35:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"574d03c6bcf3189a4443bebc18a4d3e1b1920a28","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/pai/pulls/1107/commits","review_comments_url":"https://api.github.com/repos/Microsoft/pai/pulls/1107/comments","review_comment_url":"https://api.github.com/repos/Microsoft/pai/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/pai/issues/1107/comments","statuses_url":"https://api.github.com/repos/Microsoft/pai/statuses/ace66d886e9c274c9d45608dd8909c78cfdcae61","head":{"label":"Microsoft:pai-0.7.y","ref":"pai-0.7.y","sha":"ace66d886e9c274c9d45608dd8909c78cfdcae61","user":{"login":"Microsoft","id":6154722,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=","avatar_url":"https://avatars2.githubusercontent.com/u/6154722?v=4","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":104741169,"node_id":"MDEwOlJlcG9zaXRvcnkxMDQ3NDExNjk=","name":"pai","full_name":"Microsoft/pai","owner":{"login":"Microsoft","id":6154722,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=","avatar_url":"https://avatars2.githubusercontent.com/u/6154722?v=4","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/pai","description":"Resource scheduling and cluster management for AI","fork":false,"url":"https://api.github.com/repos/Microsoft/pai","forks_url":"https://api.github.com/repos/Microsoft/pai/forks","keys_url":"https://api.github.com/repos/Microsoft/pai/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/pai/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/pai/teams","hooks_url":"https://api.github.com/repos/Microsoft/pai/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/pai/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/pai/events","assignees_url":"https://api.github.com/repos/Microsoft/pai/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/pai/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/pai/tags","blobs_url":"https://api.github.com/repos/Microsoft/pai/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/pai/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/pai/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/pai/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/pai/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/pai/languages","stargazers_url":"https://api.github.com/repos/Microsoft/pai/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/pai/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/pai/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/pai/subscription","commits_url":"https://api.github.com/repos/Microsoft/pai/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/pai/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/pai/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/pai/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/pai/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/pai/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/pai/merges","archive_url":"https://api.github.com/repos/Microsoft/pai/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/pai/downloads","issues_url":"https://api.github.com/repos/Microsoft/pai/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/pai/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/pai/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/pai/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/pai/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/pai/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/pai/deployments","created_at":"2017-09-25T11:24:51Z","updated_at":"2018-08-23T08:11:04Z","pushed_at":"2018-08-23T11:03:27Z","git_url":"git://github.com/Microsoft/pai.git","ssh_url":"git@github.com:Microsoft/pai.git","clone_url":"https://github.com/Microsoft/pai.git","svn_url":"https://github.com/Microsoft/pai","homepage":"","size":8378,"stargazers_count":415,"watchers_count":415,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":107,"mirror_url":null,"archived":false,"open_issues_count":107,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":107,"open_issues":107,"watchers":415,"default_branch":"master"}},"base":{"label":"Microsoft:master","ref":"master","sha":"ae6f7d520d9891876ffbc5d7ae1399395bd9df5b","user":{"login":"Microsoft","id":6154722,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=","avatar_url":"https://avatars2.githubusercontent.com/u/6154722?v=4","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":104741169,"node_id":"MDEwOlJlcG9zaXRvcnkxMDQ3NDExNjk=","name":"pai","full_name":"Microsoft/pai","owner":{"login":"Microsoft","id":6154722,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYxNTQ3MjI=","avatar_url":"https://avatars2.githubusercontent.com/u/6154722?v=4","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/pai","description":"Resource scheduling and cluster management for AI","fork":false,"url":"https://api.github.com/repos/Microsoft/pai","forks_url":"https://api.github.com/repos/Microsoft/pai/forks","keys_url":"https://api.github.com/repos/Microsoft/pai/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/pai/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/pai/teams","hooks_url":"https://api.github.com/repos/Microsoft/pai/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/pai/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/pai/events","assignees_url":"https://api.github.com/repos/Microsoft/pai/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/pai/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/pai/tags","blobs_url":"https://api.github.com/repos/Microsoft/pai/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/pai/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/pai/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/pai/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/pai/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/pai/languages","stargazers_url":"https://api.github.com/repos/Microsoft/pai/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/pai/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/pai/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/pai/subscription","commits_url":"https://api.github.com/repos/Microsoft/pai/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/pai/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/pai/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/pai/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/pai/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/pai/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/pai/merges","archive_url":"https://api.github.com/repos/Microsoft/pai/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/pai/downloads","issues_url":"https://api.github.com/repos/Microsoft/pai/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/pai/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/pai/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/pai/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/pai/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/pai/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/pai/deployments","created_at":"2017-09-25T11:24:51Z","updated_at":"2018-08-23T08:11:04Z","pushed_at":"2018-08-23T11:03:27Z","git_url":"git://github.com/Microsoft/pai.git","ssh_url":"git@github.com:Microsoft/pai.git","clone_url":"https://github.com/Microsoft/pai.git","svn_url":"https://github.com/Microsoft/pai","homepage":"","size":8378,"stargazers_count":415,"watchers_count":415,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":107,"mirror_url":null,"archived":false,"open_issues_count":107,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":107,"open_issues":107,"watchers":415,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/pai/pulls/1107"},"html":{"href":"https://github.com/Microsoft/pai/pull/1107"},"issue":{"href":"https://api.github.com/repos/Microsoft/pai/issues/1107"},"comments":{"href":"https://api.github.com/repos/Microsoft/pai/issues/1107/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/pai/pulls/1107/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/pai/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/pai/pulls/1107/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/pai/statuses/ace66d886e9c274c9d45608dd8909c78cfdcae61"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"scarlett2018"}}