{"action":"created","comment":{"url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/pulls/comments/112081299","pull_request_review_id":33369318,"id":112081299,"diff_hunk":"@@ -91,13 +96,18 @@ install_bins() {\n     warn_node_engine \"$iojs_engine\"\n     install_iojs \"$iojs_engine\" \"$BUILD_DIR/.heroku/node\"\n     echo \"Using bundled npm version for iojs compatibility: `npm --version`\"\n+    mcount 'bin.iojs.$(node --version)'\n   else\n     warn_node_engine \"$node_engine\"\n     install_nodejs \"$node_engine\" \"$BUILD_DIR/.heroku/node\"\n     install_npm \"$npm_engine\" \"$BUILD_DIR/.heroku/node\"\n+    mcount \"bin.node.$(node --version)\"\n   fi\n   if $YARN; then\n     install_yarn \"$BUILD_DIR/.heroku/yarn\" \"$yarn_engine\"\n+    mcount \"bin.yarn.$(yarn --version)\"","path":"bin/compile","position":41,"original_position":41,"commit_id":"d5e07ddb8f851bdfd0104bd4a594fa84d560e345","original_commit_id":"d5e07ddb8f851bdfd0104bd4a594fa84d560e345","user":{"login":"freeformz","id":103,"avatar_url":"https://avatars3.githubusercontent.com/u/103?v=3","gravatar_id":"","url":"https://api.github.com/users/freeformz","html_url":"https://github.com/freeformz","followers_url":"https://api.github.com/users/freeformz/followers","following_url":"https://api.github.com/users/freeformz/following{/other_user}","gists_url":"https://api.github.com/users/freeformz/gists{/gist_id}","starred_url":"https://api.github.com/users/freeformz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freeformz/subscriptions","organizations_url":"https://api.github.com/users/freeformz/orgs","repos_url":"https://api.github.com/users/freeformz/repos","events_url":"https://api.github.com/users/freeformz/events{/privacy}","received_events_url":"https://api.github.com/users/freeformz/received_events","type":"User","site_admin":false},"body":"fwiw: `node --version` returns a `v` prefixed version, but the other ones don't, which is a little inconsistent. Not sure that matters for you though.","created_at":"2017-04-18T22:39:58Z","updated_at":"2017-04-18T22:58:12Z","html_url":"https://github.com/heroku/heroku-buildpack-nodejs/pull/393#discussion_r112081299","pull_request_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/pulls/393","_links":{"self":{"href":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/pulls/comments/112081299"},"html":{"href":"https://github.com/heroku/heroku-buildpack-nodejs/pull/393#discussion_r112081299"},"pull_request":{"href":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/pulls/393"}}},"pull_request":{"url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/pulls/393","id":116389644,"html_url":"https://github.com/heroku/heroku-buildpack-nodejs/pull/393","diff_url":"https://github.com/heroku/heroku-buildpack-nodejs/pull/393.diff","patch_url":"https://github.com/heroku/heroku-buildpack-nodejs/pull/393.patch","issue_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/issues/393","number":393,"state":"open","locked":false,"title":"instrument basic metrics","user":{"login":"hunterloftis","id":364501,"avatar_url":"https://avatars0.githubusercontent.com/u/364501?v=3","gravatar_id":"","url":"https://api.github.com/users/hunterloftis","html_url":"https://github.com/hunterloftis","followers_url":"https://api.github.com/users/hunterloftis/followers","following_url":"https://api.github.com/users/hunterloftis/following{/other_user}","gists_url":"https://api.github.com/users/hunterloftis/gists{/gist_id}","starred_url":"https://api.github.com/users/hunterloftis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hunterloftis/subscriptions","organizations_url":"https://api.github.com/users/hunterloftis/orgs","repos_url":"https://api.github.com/users/hunterloftis/repos","events_url":"https://api.github.com/users/hunterloftis/events{/privacy}","received_events_url":"https://api.github.com/users/hunterloftis/received_events","type":"User","site_admin":false},"body":"Imports the stdlib and uses it to measure:\r\n\r\n- failure counts\r\n- warning counts\r\n- bin type (iojs/node, yarn/npm) and version counts\r\n- cache status\r\n- module install time split between valid and disabled/busted caches\r\n- module size","created_at":"2017-04-18T18:21:23Z","updated_at":"2017-04-18T22:58:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"80bc7c18b11c6b55492a2522100f661f89a570e2","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/pulls/393/commits","review_comments_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/pulls/393/comments","review_comment_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/issues/393/comments","statuses_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/statuses/d5e07ddb8f851bdfd0104bd4a594fa84d560e345","head":{"label":"heroku:metrics","ref":"metrics","sha":"d5e07ddb8f851bdfd0104bd4a594fa84d560e345","user":{"login":"heroku","id":23211,"avatar_url":"https://avatars0.githubusercontent.com/u/23211?v=3","gravatar_id":"","url":"https://api.github.com/users/heroku","html_url":"https://github.com/heroku","followers_url":"https://api.github.com/users/heroku/followers","following_url":"https://api.github.com/users/heroku/following{/other_user}","gists_url":"https://api.github.com/users/heroku/gists{/gist_id}","starred_url":"https://api.github.com/users/heroku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heroku/subscriptions","organizations_url":"https://api.github.com/users/heroku/orgs","repos_url":"https://api.github.com/users/heroku/repos","events_url":"https://api.github.com/users/heroku/events{/privacy}","received_events_url":"https://api.github.com/users/heroku/received_events","type":"Organization","site_admin":false},"repo":{"id":1767089,"name":"heroku-buildpack-nodejs","full_name":"heroku/heroku-buildpack-nodejs","owner":{"login":"heroku","id":23211,"avatar_url":"https://avatars0.githubusercontent.com/u/23211?v=3","gravatar_id":"","url":"https://api.github.com/users/heroku","html_url":"https://github.com/heroku","followers_url":"https://api.github.com/users/heroku/followers","following_url":"https://api.github.com/users/heroku/following{/other_user}","gists_url":"https://api.github.com/users/heroku/gists{/gist_id}","starred_url":"https://api.github.com/users/heroku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heroku/subscriptions","organizations_url":"https://api.github.com/users/heroku/orgs","repos_url":"https://api.github.com/users/heroku/repos","events_url":"https://api.github.com/users/heroku/events{/privacy}","received_events_url":"https://api.github.com/users/heroku/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/heroku/heroku-buildpack-nodejs","description":"The official Heroku buildpack for Node.js apps.","fork":false,"url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs","forks_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/forks","keys_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/teams","hooks_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/hooks","issue_events_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/issues/events{/number}","events_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/events","assignees_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/assignees{/user}","branches_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/branches{/branch}","tags_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/tags","blobs_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/git/refs{/sha}","trees_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/statuses/{sha}","languages_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/languages","stargazers_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/stargazers","contributors_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/contributors","subscribers_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/subscribers","subscription_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/subscription","commits_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/commits{/sha}","git_commits_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/git/commits{/sha}","comments_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/comments{/number}","issue_comment_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/issues/comments{/number}","contents_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/contents/{+path}","compare_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/merges","archive_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/downloads","issues_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/issues{/number}","pulls_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/pulls{/number}","milestones_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/milestones{/number}","notifications_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/labels{/name}","releases_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/releases{/id}","deployments_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/deployments","created_at":"2011-05-18T17:00:45Z","updated_at":"2017-04-17T07:17:53Z","pushed_at":"2017-04-18T18:39:11Z","git_url":"git://github.com/heroku/heroku-buildpack-nodejs.git","ssh_url":"git@github.com:heroku/heroku-buildpack-nodejs.git","clone_url":"https://github.com/heroku/heroku-buildpack-nodejs.git","svn_url":"https://github.com/heroku/heroku-buildpack-nodejs","homepage":"https://devcenter.heroku.com/articles/buildpacks","size":9088,"stargazers_count":792,"watchers_count":792,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2104,"mirror_url":null,"open_issues_count":23,"forks":2104,"open_issues":23,"watchers":792,"default_branch":"master"}},"base":{"label":"heroku:master","ref":"master","sha":"c59b671e4055497284e5f6eac334a493d6dab26b","user":{"login":"heroku","id":23211,"avatar_url":"https://avatars0.githubusercontent.com/u/23211?v=3","gravatar_id":"","url":"https://api.github.com/users/heroku","html_url":"https://github.com/heroku","followers_url":"https://api.github.com/users/heroku/followers","following_url":"https://api.github.com/users/heroku/following{/other_user}","gists_url":"https://api.github.com/users/heroku/gists{/gist_id}","starred_url":"https://api.github.com/users/heroku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heroku/subscriptions","organizations_url":"https://api.github.com/users/heroku/orgs","repos_url":"https://api.github.com/users/heroku/repos","events_url":"https://api.github.com/users/heroku/events{/privacy}","received_events_url":"https://api.github.com/users/heroku/received_events","type":"Organization","site_admin":false},"repo":{"id":1767089,"name":"heroku-buildpack-nodejs","full_name":"heroku/heroku-buildpack-nodejs","owner":{"login":"heroku","id":23211,"avatar_url":"https://avatars0.githubusercontent.com/u/23211?v=3","gravatar_id":"","url":"https://api.github.com/users/heroku","html_url":"https://github.com/heroku","followers_url":"https://api.github.com/users/heroku/followers","following_url":"https://api.github.com/users/heroku/following{/other_user}","gists_url":"https://api.github.com/users/heroku/gists{/gist_id}","starred_url":"https://api.github.com/users/heroku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heroku/subscriptions","organizations_url":"https://api.github.com/users/heroku/orgs","repos_url":"https://api.github.com/users/heroku/repos","events_url":"https://api.github.com/users/heroku/events{/privacy}","received_events_url":"https://api.github.com/users/heroku/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/heroku/heroku-buildpack-nodejs","description":"The official Heroku buildpack for Node.js apps.","fork":false,"url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs","forks_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/forks","keys_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/teams","hooks_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/hooks","issue_events_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/issues/events{/number}","events_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/events","assignees_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/assignees{/user}","branches_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/branches{/branch}","tags_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/tags","blobs_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/git/refs{/sha}","trees_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/statuses/{sha}","languages_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/languages","stargazers_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/stargazers","contributors_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/contributors","subscribers_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/subscribers","subscription_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/subscription","commits_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/commits{/sha}","git_commits_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/git/commits{/sha}","comments_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/comments{/number}","issue_comment_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/issues/comments{/number}","contents_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/contents/{+path}","compare_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/merges","archive_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/downloads","issues_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/issues{/number}","pulls_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/pulls{/number}","milestones_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/milestones{/number}","notifications_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/labels{/name}","releases_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/releases{/id}","deployments_url":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/deployments","created_at":"2011-05-18T17:00:45Z","updated_at":"2017-04-17T07:17:53Z","pushed_at":"2017-04-18T18:39:11Z","git_url":"git://github.com/heroku/heroku-buildpack-nodejs.git","ssh_url":"git@github.com:heroku/heroku-buildpack-nodejs.git","clone_url":"https://github.com/heroku/heroku-buildpack-nodejs.git","svn_url":"https://github.com/heroku/heroku-buildpack-nodejs","homepage":"https://devcenter.heroku.com/articles/buildpacks","size":9088,"stargazers_count":792,"watchers_count":792,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2104,"mirror_url":null,"open_issues_count":23,"forks":2104,"open_issues":23,"watchers":792,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/pulls/393"},"html":{"href":"https://github.com/heroku/heroku-buildpack-nodejs/pull/393"},"issue":{"href":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/issues/393"},"comments":{"href":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/issues/393/comments"},"review_comments":{"href":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/pulls/393/comments"},"review_comment":{"href":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/pulls/393/commits"},"statuses":{"href":"https://api.github.com/repos/heroku/heroku-buildpack-nodejs/statuses/d5e07ddb8f851bdfd0104bd4a594fa84d560e345"}}}}
{"actor":{"display_login":"freeformz"}}