{"action":"created","comment":{"url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/pulls/comments/41550127","id":41550127,"diff_hunk":"@@ -77,16 +78,17 @@ def plot_continuous_monitor(filename, open_graphs=False):\n     running_compute_monotasks = 0\n     if \"Running Compute Monotasks\" in json_data:\n       running_compute_monotasks = json_data[\"Running Compute Monotasks\"]\n+    xvdf_running_disk_monotasks = 0\n+    xvdb_running_disk_monotasks = 0\n+    if \"Running Disk Monotasks\" in json_data:","path":"plot_continuous_monitor.py","position":11,"original_position":11,"commit_id":"dfcf21e92acec280edcdd91589ea68af9cd00595","original_commit_id":"dfcf21e92acec280edcdd91589ea68af9cd00595","user":{"login":"christophercanel","id":5702363,"avatar_url":"https://avatars.githubusercontent.com/u/5702363?v=3","gravatar_id":"","url":"https://api.github.com/users/christophercanel","html_url":"https://github.com/christophercanel","followers_url":"https://api.github.com/users/christophercanel/followers","following_url":"https://api.github.com/users/christophercanel/following{/other_user}","gists_url":"https://api.github.com/users/christophercanel/gists{/gist_id}","starred_url":"https://api.github.com/users/christophercanel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christophercanel/subscriptions","organizations_url":"https://api.github.com/users/christophercanel/orgs","repos_url":"https://api.github.com/users/christophercanel/repos","events_url":"https://api.github.com/users/christophercanel/events{/privacy}","received_events_url":"https://api.github.com/users/christophercanel/received_events","type":"User","site_admin":false},"body":"I am trying to parse logs from Spark, but Spark's ContinuousMonitor does not log \"Running Disk Monotasks\", so I added the above check to make sure that plot_continuous_monitor.py does not throw a key error. The code that I added is of the same form as the code for extracting \"Running Compute Monotasks\", \"Running Macrotasks\", etc.","created_at":"2015-10-08T18:30:21Z","updated_at":"2015-10-08T18:30:21Z","html_url":"https://github.com/kayousterhout/monotasks-scripts/pull/5#discussion_r41550127","pull_request_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/kayousterhout/monotasks-scripts/pulls/comments/41550127"},"html":{"href":"https://github.com/kayousterhout/monotasks-scripts/pull/5#discussion_r41550127"},"pull_request":{"href":"https://api.github.com/repos/kayousterhout/monotasks-scripts/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/pulls/5","id":47074668,"html_url":"https://github.com/kayousterhout/monotasks-scripts/pull/5","diff_url":"https://github.com/kayousterhout/monotasks-scripts/pull/5.diff","patch_url":"https://github.com/kayousterhout/monotasks-scripts/pull/5.patch","issue_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/issues/5","number":5,"state":"open","locked":false,"title":"Fix continuous monitor bugs.","user":{"login":"christophercanel","id":5702363,"avatar_url":"https://avatars.githubusercontent.com/u/5702363?v=3","gravatar_id":"","url":"https://api.github.com/users/christophercanel","html_url":"https://github.com/christophercanel","followers_url":"https://api.github.com/users/christophercanel/followers","following_url":"https://api.github.com/users/christophercanel/following{/other_user}","gists_url":"https://api.github.com/users/christophercanel/gists{/gist_id}","starred_url":"https://api.github.com/users/christophercanel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christophercanel/subscriptions","organizations_url":"https://api.github.com/users/christophercanel/orgs","repos_url":"https://api.github.com/users/christophercanel/repos","events_url":"https://api.github.com/users/christophercanel/events{/privacy}","received_events_url":"https://api.github.com/users/christophercanel/received_events","type":"User","site_admin":false},"body":"Fixes two bugs in `parse_continuous_monitor.py`:\r\n1.  Unable to find `\"Running Disk Monotasks\"` in Spark JSON data.\r\n2.  Missing import: `argparse`","created_at":"2015-10-07T20:02:24Z","updated_at":"2015-10-08T18:30:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1edc7cb14b73c28ec6f123358f43561271823e4a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/pulls/5/commits","review_comments_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/pulls/5/comments","review_comment_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/issues/5/comments","statuses_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/statuses/dfcf21e92acec280edcdd91589ea68af9cd00595","head":{"label":"christophercanel:fix-continuous-monitor-bugs","ref":"fix-continuous-monitor-bugs","sha":"dfcf21e92acec280edcdd91589ea68af9cd00595","user":{"login":"christophercanel","id":5702363,"avatar_url":"https://avatars.githubusercontent.com/u/5702363?v=3","gravatar_id":"","url":"https://api.github.com/users/christophercanel","html_url":"https://github.com/christophercanel","followers_url":"https://api.github.com/users/christophercanel/followers","following_url":"https://api.github.com/users/christophercanel/following{/other_user}","gists_url":"https://api.github.com/users/christophercanel/gists{/gist_id}","starred_url":"https://api.github.com/users/christophercanel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christophercanel/subscriptions","organizations_url":"https://api.github.com/users/christophercanel/orgs","repos_url":"https://api.github.com/users/christophercanel/repos","events_url":"https://api.github.com/users/christophercanel/events{/privacy}","received_events_url":"https://api.github.com/users/christophercanel/received_events","type":"User","site_admin":false},"repo":{"id":37625508,"name":"monotasks-scripts","full_name":"christophercanel/monotasks-scripts","owner":{"login":"christophercanel","id":5702363,"avatar_url":"https://avatars.githubusercontent.com/u/5702363?v=3","gravatar_id":"","url":"https://api.github.com/users/christophercanel","html_url":"https://github.com/christophercanel","followers_url":"https://api.github.com/users/christophercanel/followers","following_url":"https://api.github.com/users/christophercanel/following{/other_user}","gists_url":"https://api.github.com/users/christophercanel/gists{/gist_id}","starred_url":"https://api.github.com/users/christophercanel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christophercanel/subscriptions","organizations_url":"https://api.github.com/users/christophercanel/orgs","repos_url":"https://api.github.com/users/christophercanel/repos","events_url":"https://api.github.com/users/christophercanel/events{/privacy}","received_events_url":"https://api.github.com/users/christophercanel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/christophercanel/monotasks-scripts","description":"Scripts for evaluating monotasks and parsing experimental results","fork":true,"url":"https://api.github.com/repos/christophercanel/monotasks-scripts","forks_url":"https://api.github.com/repos/christophercanel/monotasks-scripts/forks","keys_url":"https://api.github.com/repos/christophercanel/monotasks-scripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/christophercanel/monotasks-scripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/christophercanel/monotasks-scripts/teams","hooks_url":"https://api.github.com/repos/christophercanel/monotasks-scripts/hooks","issue_events_url":"https://api.github.com/repos/christophercanel/monotasks-scripts/issues/events{/number}","events_url":"https://api.github.com/repos/christophercanel/monotasks-scripts/events","assignees_url":"https://api.github.com/repos/christophercanel/monotasks-scripts/assignees{/user}","branches_url":"https://api.github.com/repos/christophercanel/monotasks-scripts/branches{/branch}","tags_url":"https://api.github.com/repos/christophercanel/monotasks-scripts/tags","blobs_url":"https://api.github.com/repos/christophercanel/monotasks-scripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/christophercanel/monotasks-scripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/christophercanel/monotasks-scripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/christophercanel/monotasks-scripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/christophercanel/monotasks-scripts/statuses/{sha}","languages_url":"https://api.github.com/repos/christophercanel/monotasks-scripts/languages","stargazers_url":"https://api.github.com/repos/christophercanel/monotasks-scripts/stargazers","contributors_url":"https://api.github.com/repos/christophercanel/monotasks-scripts/contributors","subscribers_url":"https://api.github.com/repos/christophercanel/monotasks-scripts/subscribers","subscription_url":"https://api.github.com/repos/christophercanel/monotasks-scripts/subscription","commits_url":"https://api.github.com/repos/christophercanel/monotasks-scripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/christophercanel/monotasks-scripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/christophercanel/monotasks-scripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/christophercanel/monotasks-scripts/issues/comments{/number}","contents_url":"https://api.github.com/repos/christophercanel/monotasks-scripts/contents/{+path}","compare_url":"https://api.github.com/repos/christophercanel/monotasks-scripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/christophercanel/monotasks-scripts/merges","archive_url":"https://api.github.com/repos/christophercanel/monotasks-scripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/christophercanel/monotasks-scripts/downloads","issues_url":"https://api.github.com/repos/christophercanel/monotasks-scripts/issues{/number}","pulls_url":"https://api.github.com/repos/christophercanel/monotasks-scripts/pulls{/number}","milestones_url":"https://api.github.com/repos/christophercanel/monotasks-scripts/milestones{/number}","notifications_url":"https://api.github.com/repos/christophercanel/monotasks-scripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/christophercanel/monotasks-scripts/labels{/name}","releases_url":"https://api.github.com/repos/christophercanel/monotasks-scripts/releases{/id}","created_at":"2015-06-17T23:02:30Z","updated_at":"2015-06-17T23:02:30Z","pushed_at":"2015-10-07T20:01:31Z","git_url":"git://github.com/christophercanel/monotasks-scripts.git","ssh_url":"git@github.com:christophercanel/monotasks-scripts.git","clone_url":"https://github.com/christophercanel/monotasks-scripts.git","svn_url":"https://github.com/christophercanel/monotasks-scripts","homepage":null,"size":198,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"kayousterhout:master","ref":"master","sha":"675a4346387997024552a8524e53eedd6e0c6cbb","user":{"login":"kayousterhout","id":1108612,"avatar_url":"https://avatars.githubusercontent.com/u/1108612?v=3","gravatar_id":"","url":"https://api.github.com/users/kayousterhout","html_url":"https://github.com/kayousterhout","followers_url":"https://api.github.com/users/kayousterhout/followers","following_url":"https://api.github.com/users/kayousterhout/following{/other_user}","gists_url":"https://api.github.com/users/kayousterhout/gists{/gist_id}","starred_url":"https://api.github.com/users/kayousterhout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kayousterhout/subscriptions","organizations_url":"https://api.github.com/users/kayousterhout/orgs","repos_url":"https://api.github.com/users/kayousterhout/repos","events_url":"https://api.github.com/users/kayousterhout/events{/privacy}","received_events_url":"https://api.github.com/users/kayousterhout/received_events","type":"User","site_admin":false},"repo":{"id":32699609,"name":"monotasks-scripts","full_name":"kayousterhout/monotasks-scripts","owner":{"login":"kayousterhout","id":1108612,"avatar_url":"https://avatars.githubusercontent.com/u/1108612?v=3","gravatar_id":"","url":"https://api.github.com/users/kayousterhout","html_url":"https://github.com/kayousterhout","followers_url":"https://api.github.com/users/kayousterhout/followers","following_url":"https://api.github.com/users/kayousterhout/following{/other_user}","gists_url":"https://api.github.com/users/kayousterhout/gists{/gist_id}","starred_url":"https://api.github.com/users/kayousterhout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kayousterhout/subscriptions","organizations_url":"https://api.github.com/users/kayousterhout/orgs","repos_url":"https://api.github.com/users/kayousterhout/repos","events_url":"https://api.github.com/users/kayousterhout/events{/privacy}","received_events_url":"https://api.github.com/users/kayousterhout/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kayousterhout/monotasks-scripts","description":"Scripts for evaluating monotasks and parsing experimental results","fork":false,"url":"https://api.github.com/repos/kayousterhout/monotasks-scripts","forks_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/forks","keys_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/teams","hooks_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/hooks","issue_events_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/issues/events{/number}","events_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/events","assignees_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/assignees{/user}","branches_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/branches{/branch}","tags_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/tags","blobs_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/statuses/{sha}","languages_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/languages","stargazers_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/stargazers","contributors_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/contributors","subscribers_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/subscribers","subscription_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/subscription","commits_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/issues/comments{/number}","contents_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/contents/{+path}","compare_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/merges","archive_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/downloads","issues_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/issues{/number}","pulls_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/pulls{/number}","milestones_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/milestones{/number}","notifications_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/labels{/name}","releases_url":"https://api.github.com/repos/kayousterhout/monotasks-scripts/releases{/id}","created_at":"2015-03-22T22:46:52Z","updated_at":"2015-04-29T22:01:03Z","pushed_at":"2015-10-07T20:02:24Z","git_url":"git://github.com/kayousterhout/monotasks-scripts.git","ssh_url":"git@github.com:kayousterhout/monotasks-scripts.git","clone_url":"https://github.com/kayousterhout/monotasks-scripts.git","svn_url":"https://github.com/kayousterhout/monotasks-scripts","homepage":null,"size":236,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kayousterhout/monotasks-scripts/pulls/5"},"html":{"href":"https://github.com/kayousterhout/monotasks-scripts/pull/5"},"issue":{"href":"https://api.github.com/repos/kayousterhout/monotasks-scripts/issues/5"},"comments":{"href":"https://api.github.com/repos/kayousterhout/monotasks-scripts/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/kayousterhout/monotasks-scripts/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/kayousterhout/monotasks-scripts/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kayousterhout/monotasks-scripts/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/kayousterhout/monotasks-scripts/statuses/dfcf21e92acec280edcdd91589ea68af9cd00595"}}}}