{"action":"created","comment":{"url":"https://api.github.com/repos/taskcluster/taskcluster-auth/pulls/comments/69819298","id":69819298,"diff_hunk":"@@ -35,23 +34,15 @@ let load = loader({\n \n   monitor: {\n     requires: ['cfg', 'drain'],\n-    setup: ({cfg, drain}) => base.stats.startProcessUsageReporting({\n-      drain:      drain,\n-      component:  cfg.app.statsComponent,\n-      process:    'server'\n+    setup: ({cfg, drain}) => base.monitor({\n+      project:      'taskcluster-auth',\n+      drain:        drain,\n+      credentials:  cfg.taskcluster.credentials,\n+      process:      'server',","path":"src/main.js","position":20,"original_position":20,"commit_id":"9ad47169accb1491a7d05e89fbc6fb89016b4731","original_commit_id":"9ad47169accb1491a7d05e89fbc6fb89016b4731","user":{"login":"imbstack","id":127521,"avatar_url":"https://avatars.githubusercontent.com/u/127521?v=3","gravatar_id":"","url":"https://api.github.com/users/imbstack","html_url":"https://github.com/imbstack","followers_url":"https://api.github.com/users/imbstack/followers","following_url":"https://api.github.com/users/imbstack/following{/other_user}","gists_url":"https://api.github.com/users/imbstack/gists{/gist_id}","starred_url":"https://api.github.com/users/imbstack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imbstack/subscriptions","organizations_url":"https://api.github.com/users/imbstack/orgs","repos_url":"https://api.github.com/users/imbstack/repos","events_url":"https://api.github.com/users/imbstack/events{/privacy}","received_events_url":"https://api.github.com/users/imbstack/received_events","type":"User","site_admin":false},"body":"I don't think this should be set to `'server'` manually even if it was before. The `loader` can take `process` in `requires` and in `setup` the same way as `cfg` and `drain`. Then you can just pass it in here!","created_at":"2016-07-06T21:58:15Z","updated_at":"2016-07-06T21:58:15Z","html_url":"https://github.com/taskcluster/taskcluster-auth/pull/64#discussion_r69819298","pull_request_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/pulls/64","_links":{"self":{"href":"https://api.github.com/repos/taskcluster/taskcluster-auth/pulls/comments/69819298"},"html":{"href":"https://github.com/taskcluster/taskcluster-auth/pull/64#discussion_r69819298"},"pull_request":{"href":"https://api.github.com/repos/taskcluster/taskcluster-auth/pulls/64"}}},"pull_request":{"url":"https://api.github.com/repos/taskcluster/taskcluster-auth/pulls/64","id":76477421,"html_url":"https://github.com/taskcluster/taskcluster-auth/pull/64","diff_url":"https://github.com/taskcluster/taskcluster-auth/pull/64.diff","patch_url":"https://github.com/taskcluster/taskcluster-auth/pull/64.patch","issue_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/issues/64","number":64,"state":"open","locked":false,"title":"Added tc-lib-monitor support","user":{"login":"Anup-Allamsetty","id":3415488,"avatar_url":"https://avatars.githubusercontent.com/u/3415488?v=3","gravatar_id":"","url":"https://api.github.com/users/Anup-Allamsetty","html_url":"https://github.com/Anup-Allamsetty","followers_url":"https://api.github.com/users/Anup-Allamsetty/followers","following_url":"https://api.github.com/users/Anup-Allamsetty/following{/other_user}","gists_url":"https://api.github.com/users/Anup-Allamsetty/gists{/gist_id}","starred_url":"https://api.github.com/users/Anup-Allamsetty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anup-Allamsetty/subscriptions","organizations_url":"https://api.github.com/users/Anup-Allamsetty/orgs","repos_url":"https://api.github.com/users/Anup-Allamsetty/repos","events_url":"https://api.github.com/users/Anup-Allamsetty/events{/privacy}","received_events_url":"https://api.github.com/users/Anup-Allamsetty/received_events","type":"User","site_admin":false},"body":"Added tc-lib-monitor to package.json & shirnkwrapped","created_at":"2016-07-06T18:18:38Z","updated_at":"2016-07-06T21:58:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fcf0bfc4783c79acaa240751a8e2c7cae6ccb977","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/pulls/64/commits","review_comments_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/pulls/64/comments","review_comment_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/pulls/comments{/number}","comments_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/issues/64/comments","statuses_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/statuses/9ad47169accb1491a7d05e89fbc6fb89016b4731","head":{"label":"Anup-Allamsetty:master","ref":"master","sha":"9ad47169accb1491a7d05e89fbc6fb89016b4731","user":{"login":"Anup-Allamsetty","id":3415488,"avatar_url":"https://avatars.githubusercontent.com/u/3415488?v=3","gravatar_id":"","url":"https://api.github.com/users/Anup-Allamsetty","html_url":"https://github.com/Anup-Allamsetty","followers_url":"https://api.github.com/users/Anup-Allamsetty/followers","following_url":"https://api.github.com/users/Anup-Allamsetty/following{/other_user}","gists_url":"https://api.github.com/users/Anup-Allamsetty/gists{/gist_id}","starred_url":"https://api.github.com/users/Anup-Allamsetty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anup-Allamsetty/subscriptions","organizations_url":"https://api.github.com/users/Anup-Allamsetty/orgs","repos_url":"https://api.github.com/users/Anup-Allamsetty/repos","events_url":"https://api.github.com/users/Anup-Allamsetty/events{/privacy}","received_events_url":"https://api.github.com/users/Anup-Allamsetty/received_events","type":"User","site_admin":false},"repo":{"id":59803519,"name":"taskcluster-auth","full_name":"Anup-Allamsetty/taskcluster-auth","owner":{"login":"Anup-Allamsetty","id":3415488,"avatar_url":"https://avatars.githubusercontent.com/u/3415488?v=3","gravatar_id":"","url":"https://api.github.com/users/Anup-Allamsetty","html_url":"https://github.com/Anup-Allamsetty","followers_url":"https://api.github.com/users/Anup-Allamsetty/followers","following_url":"https://api.github.com/users/Anup-Allamsetty/following{/other_user}","gists_url":"https://api.github.com/users/Anup-Allamsetty/gists{/gist_id}","starred_url":"https://api.github.com/users/Anup-Allamsetty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anup-Allamsetty/subscriptions","organizations_url":"https://api.github.com/users/Anup-Allamsetty/orgs","repos_url":"https://api.github.com/users/Anup-Allamsetty/repos","events_url":"https://api.github.com/users/Anup-Allamsetty/events{/privacy}","received_events_url":"https://api.github.com/users/Anup-Allamsetty/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Anup-Allamsetty/taskcluster-auth","description":"Authentication and authorization manager for taskcluster","fork":true,"url":"https://api.github.com/repos/Anup-Allamsetty/taskcluster-auth","forks_url":"https://api.github.com/repos/Anup-Allamsetty/taskcluster-auth/forks","keys_url":"https://api.github.com/repos/Anup-Allamsetty/taskcluster-auth/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Anup-Allamsetty/taskcluster-auth/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Anup-Allamsetty/taskcluster-auth/teams","hooks_url":"https://api.github.com/repos/Anup-Allamsetty/taskcluster-auth/hooks","issue_events_url":"https://api.github.com/repos/Anup-Allamsetty/taskcluster-auth/issues/events{/number}","events_url":"https://api.github.com/repos/Anup-Allamsetty/taskcluster-auth/events","assignees_url":"https://api.github.com/repos/Anup-Allamsetty/taskcluster-auth/assignees{/user}","branches_url":"https://api.github.com/repos/Anup-Allamsetty/taskcluster-auth/branches{/branch}","tags_url":"https://api.github.com/repos/Anup-Allamsetty/taskcluster-auth/tags","blobs_url":"https://api.github.com/repos/Anup-Allamsetty/taskcluster-auth/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Anup-Allamsetty/taskcluster-auth/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Anup-Allamsetty/taskcluster-auth/git/refs{/sha}","trees_url":"https://api.github.com/repos/Anup-Allamsetty/taskcluster-auth/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Anup-Allamsetty/taskcluster-auth/statuses/{sha}","languages_url":"https://api.github.com/repos/Anup-Allamsetty/taskcluster-auth/languages","stargazers_url":"https://api.github.com/repos/Anup-Allamsetty/taskcluster-auth/stargazers","contributors_url":"https://api.github.com/repos/Anup-Allamsetty/taskcluster-auth/contributors","subscribers_url":"https://api.github.com/repos/Anup-Allamsetty/taskcluster-auth/subscribers","subscription_url":"https://api.github.com/repos/Anup-Allamsetty/taskcluster-auth/subscription","commits_url":"https://api.github.com/repos/Anup-Allamsetty/taskcluster-auth/commits{/sha}","git_commits_url":"https://api.github.com/repos/Anup-Allamsetty/taskcluster-auth/git/commits{/sha}","comments_url":"https://api.github.com/repos/Anup-Allamsetty/taskcluster-auth/comments{/number}","issue_comment_url":"https://api.github.com/repos/Anup-Allamsetty/taskcluster-auth/issues/comments{/number}","contents_url":"https://api.github.com/repos/Anup-Allamsetty/taskcluster-auth/contents/{+path}","compare_url":"https://api.github.com/repos/Anup-Allamsetty/taskcluster-auth/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Anup-Allamsetty/taskcluster-auth/merges","archive_url":"https://api.github.com/repos/Anup-Allamsetty/taskcluster-auth/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Anup-Allamsetty/taskcluster-auth/downloads","issues_url":"https://api.github.com/repos/Anup-Allamsetty/taskcluster-auth/issues{/number}","pulls_url":"https://api.github.com/repos/Anup-Allamsetty/taskcluster-auth/pulls{/number}","milestones_url":"https://api.github.com/repos/Anup-Allamsetty/taskcluster-auth/milestones{/number}","notifications_url":"https://api.github.com/repos/Anup-Allamsetty/taskcluster-auth/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Anup-Allamsetty/taskcluster-auth/labels{/name}","releases_url":"https://api.github.com/repos/Anup-Allamsetty/taskcluster-auth/releases{/id}","deployments_url":"https://api.github.com/repos/Anup-Allamsetty/taskcluster-auth/deployments","created_at":"2016-05-27T04:13:17Z","updated_at":"2016-05-27T04:13:19Z","pushed_at":"2016-07-06T20:17:23Z","git_url":"git://github.com/Anup-Allamsetty/taskcluster-auth.git","ssh_url":"git@github.com:Anup-Allamsetty/taskcluster-auth.git","clone_url":"https://github.com/Anup-Allamsetty/taskcluster-auth.git","svn_url":"https://github.com/Anup-Allamsetty/taskcluster-auth","homepage":null,"size":10236,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"taskcluster:master","ref":"master","sha":"7f6d0f428caceabf1144fad8ffd2c991558aea7e","user":{"login":"taskcluster","id":6257436,"avatar_url":"https://avatars.githubusercontent.com/u/6257436?v=3","gravatar_id":"","url":"https://api.github.com/users/taskcluster","html_url":"https://github.com/taskcluster","followers_url":"https://api.github.com/users/taskcluster/followers","following_url":"https://api.github.com/users/taskcluster/following{/other_user}","gists_url":"https://api.github.com/users/taskcluster/gists{/gist_id}","starred_url":"https://api.github.com/users/taskcluster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taskcluster/subscriptions","organizations_url":"https://api.github.com/users/taskcluster/orgs","repos_url":"https://api.github.com/users/taskcluster/repos","events_url":"https://api.github.com/users/taskcluster/events{/privacy}","received_events_url":"https://api.github.com/users/taskcluster/received_events","type":"Organization","site_admin":false},"repo":{"id":20000474,"name":"taskcluster-auth","full_name":"taskcluster/taskcluster-auth","owner":{"login":"taskcluster","id":6257436,"avatar_url":"https://avatars.githubusercontent.com/u/6257436?v=3","gravatar_id":"","url":"https://api.github.com/users/taskcluster","html_url":"https://github.com/taskcluster","followers_url":"https://api.github.com/users/taskcluster/followers","following_url":"https://api.github.com/users/taskcluster/following{/other_user}","gists_url":"https://api.github.com/users/taskcluster/gists{/gist_id}","starred_url":"https://api.github.com/users/taskcluster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taskcluster/subscriptions","organizations_url":"https://api.github.com/users/taskcluster/orgs","repos_url":"https://api.github.com/users/taskcluster/repos","events_url":"https://api.github.com/users/taskcluster/events{/privacy}","received_events_url":"https://api.github.com/users/taskcluster/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/taskcluster/taskcluster-auth","description":"Authentication and authorization manager for taskcluster","fork":false,"url":"https://api.github.com/repos/taskcluster/taskcluster-auth","forks_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/forks","keys_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/keys{/key_id}","collaborators_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/teams","hooks_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/hooks","issue_events_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/issues/events{/number}","events_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/events","assignees_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/assignees{/user}","branches_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/branches{/branch}","tags_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/tags","blobs_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/git/refs{/sha}","trees_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/git/trees{/sha}","statuses_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/statuses/{sha}","languages_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/languages","stargazers_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/stargazers","contributors_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/contributors","subscribers_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/subscribers","subscription_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/subscription","commits_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/commits{/sha}","git_commits_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/git/commits{/sha}","comments_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/comments{/number}","issue_comment_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/issues/comments{/number}","contents_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/contents/{+path}","compare_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/compare/{base}...{head}","merges_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/merges","archive_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/downloads","issues_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/issues{/number}","pulls_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/pulls{/number}","milestones_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/milestones{/number}","notifications_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/labels{/name}","releases_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/releases{/id}","deployments_url":"https://api.github.com/repos/taskcluster/taskcluster-auth/deployments","created_at":"2014-05-20T22:55:57Z","updated_at":"2016-05-15T19:43:33Z","pushed_at":"2016-07-06T20:17:25Z","git_url":"git://github.com/taskcluster/taskcluster-auth.git","ssh_url":"git@github.com:taskcluster/taskcluster-auth.git","clone_url":"https://github.com/taskcluster/taskcluster-auth.git","svn_url":"https://github.com/taskcluster/taskcluster-auth","homepage":null,"size":10236,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":4,"forks":6,"open_issues":4,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/taskcluster/taskcluster-auth/pulls/64"},"html":{"href":"https://github.com/taskcluster/taskcluster-auth/pull/64"},"issue":{"href":"https://api.github.com/repos/taskcluster/taskcluster-auth/issues/64"},"comments":{"href":"https://api.github.com/repos/taskcluster/taskcluster-auth/issues/64/comments"},"review_comments":{"href":"https://api.github.com/repos/taskcluster/taskcluster-auth/pulls/64/comments"},"review_comment":{"href":"https://api.github.com/repos/taskcluster/taskcluster-auth/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/taskcluster/taskcluster-auth/pulls/64/commits"},"statuses":{"href":"https://api.github.com/repos/taskcluster/taskcluster-auth/statuses/9ad47169accb1491a7d05e89fbc6fb89016b4731"}}}}
{"actor":{"display_login":"imbstack"}}