{"action":"created","comment":{"url":"https://api.github.com/repos/ballerina-lang/ballerina/pulls/comments/176974061","pull_request_review_id":106765403,"id":176974061,"diff_hunk":"@@ -41,6 +41,8 @@ public void run() {\n //            bLangVM.run(context);\n //        } catch (Exception e) {\n //            logger.error(\"unhandled exception \", e);\n+//        } finally {","path":"bvm/ballerina-core/src/main/java/org/ballerinalang/runtime/threadpool/ResponseWorkerThread.java","position":4,"original_position":4,"commit_id":"5135a17a6f3080199da21a51ac26813e44f5f02e","original_commit_id":"5135a17a6f3080199da21a51ac26813e44f5f02e","user":{"login":"hasithaa","id":1356214,"avatar_url":"https://avatars0.githubusercontent.com/u/1356214?v=4","gravatar_id":"","url":"https://api.github.com/users/hasithaa","html_url":"https://github.com/hasithaa","followers_url":"https://api.github.com/users/hasithaa/followers","following_url":"https://api.github.com/users/hasithaa/following{/other_user}","gists_url":"https://api.github.com/users/hasithaa/gists{/gist_id}","starred_url":"https://api.github.com/users/hasithaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hasithaa/subscriptions","organizations_url":"https://api.github.com/users/hasithaa/orgs","repos_url":"https://api.github.com/users/hasithaa/repos","events_url":"https://api.github.com/users/hasithaa/events{/privacy}","received_events_url":"https://api.github.com/users/hasithaa/received_events","type":"User","site_admin":false},"body":"Please remove these two lines. ","created_at":"2018-03-26T03:31:01Z","updated_at":"2018-03-26T03:31:01Z","html_url":"https://github.com/ballerina-lang/ballerina/pull/5086#discussion_r176974061","pull_request_url":"https://api.github.com/repos/ballerina-lang/ballerina/pulls/5086","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/ballerina-lang/ballerina/pulls/comments/176974061"},"html":{"href":"https://github.com/ballerina-lang/ballerina/pull/5086#discussion_r176974061"},"pull_request":{"href":"https://api.github.com/repos/ballerina-lang/ballerina/pulls/5086"}}},"pull_request":{"url":"https://api.github.com/repos/ballerina-lang/ballerina/pulls/5086","id":174047323,"html_url":"https://github.com/ballerina-lang/ballerina/pull/5086","diff_url":"https://github.com/ballerina-lang/ballerina/pull/5086.diff","patch_url":"https://github.com/ballerina-lang/ballerina/pull/5086.patch","issue_url":"https://api.github.com/repos/ballerina-lang/ballerina/issues/5086","number":5086,"state":"open","locked":false,"title":"Add OpenTracing support to Ballerina","user":{"login":"grainier","id":3824254,"avatar_url":"https://avatars0.githubusercontent.com/u/3824254?v=4","gravatar_id":"","url":"https://api.github.com/users/grainier","html_url":"https://github.com/grainier","followers_url":"https://api.github.com/users/grainier/followers","following_url":"https://api.github.com/users/grainier/following{/other_user}","gists_url":"https://api.github.com/users/grainier/gists{/gist_id}","starred_url":"https://api.github.com/users/grainier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grainier/subscriptions","organizations_url":"https://api.github.com/users/grainier/orgs","repos_url":"https://api.github.com/users/grainier/repos","events_url":"https://api.github.com/users/grainier/events{/privacy}","received_events_url":"https://api.github.com/users/grainier/received_events","type":"User","site_admin":false},"body":"## Purpose\r\nThe purpose of this PR is to add the OpenTracing support to Ballerina. With this PR, it introduces service level tracing (out of the box) and an exposes an API (native functions) to write custom tracing (i.e. business logic tracing).\r\n\r\n## Goals\r\n- Provide service level tracing through OpenTracing.\r\n- Introduce Ballerina stdlib for OpenTracing, so that developers can define their own tracing.\r\n\r\n## Test Cases\r\n- Integration tests provided.\r\n\r\n## Test environment\r\n- Oracle JDK 8 on Ubuntu/Mac.\r\n\r\n## Performace Impact\r\n Code Base |Dependencies | Trace Config File | `disable.observe` prop | Latency avg. | Throughput avg.\r\n --------|-----|-------------------|------------------------|-----------------|-------------------\r\nMaster Branch (No Tracing Code) | N/A | N/A | N/A | 128ms | 710/s\r\nWith Tracing Code | Yes | Yes | Enabled | 163ms | 561/s\r\nWith Tracing Code | Yes | No | N/A | 132ms | 694/s\r\nWith Tracing Code | No | No | N/A | 131ms | 697/s\r\nWith Tracing Code | Yes | Yes | Disabled | 129ms | 705/s","created_at":"2018-03-09T16:23:29Z","updated_at":"2018-03-26T03:31:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"799e1cd76c16274e7a2c3667a836535905c4d7e9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ballerina-lang/ballerina/pulls/5086/commits","review_comments_url":"https://api.github.com/repos/ballerina-lang/ballerina/pulls/5086/comments","review_comment_url":"https://api.github.com/repos/ballerina-lang/ballerina/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ballerina-lang/ballerina/issues/5086/comments","statuses_url":"https://api.github.com/repos/ballerina-lang/ballerina/statuses/5135a17a6f3080199da21a51ac26813e44f5f02e","head":{"label":"grainier:observability","ref":"observability","sha":"5135a17a6f3080199da21a51ac26813e44f5f02e","user":{"login":"grainier","id":3824254,"avatar_url":"https://avatars0.githubusercontent.com/u/3824254?v=4","gravatar_id":"","url":"https://api.github.com/users/grainier","html_url":"https://github.com/grainier","followers_url":"https://api.github.com/users/grainier/followers","following_url":"https://api.github.com/users/grainier/following{/other_user}","gists_url":"https://api.github.com/users/grainier/gists{/gist_id}","starred_url":"https://api.github.com/users/grainier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grainier/subscriptions","organizations_url":"https://api.github.com/users/grainier/orgs","repos_url":"https://api.github.com/users/grainier/repos","events_url":"https://api.github.com/users/grainier/events{/privacy}","received_events_url":"https://api.github.com/users/grainier/received_events","type":"User","site_admin":false},"repo":{"id":119517754,"name":"ballerina","full_name":"grainier/ballerina","owner":{"login":"grainier","id":3824254,"avatar_url":"https://avatars0.githubusercontent.com/u/3824254?v=4","gravatar_id":"","url":"https://api.github.com/users/grainier","html_url":"https://github.com/grainier","followers_url":"https://api.github.com/users/grainier/followers","following_url":"https://api.github.com/users/grainier/following{/other_user}","gists_url":"https://api.github.com/users/grainier/gists{/gist_id}","starred_url":"https://api.github.com/users/grainier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grainier/subscriptions","organizations_url":"https://api.github.com/users/grainier/orgs","repos_url":"https://api.github.com/users/grainier/repos","events_url":"https://api.github.com/users/grainier/events{/privacy}","received_events_url":"https://api.github.com/users/grainier/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/grainier/ballerina","description":"Ballerina is a new programming language for integration built on a sequence diagram metaphor.","fork":true,"url":"https://api.github.com/repos/grainier/ballerina","forks_url":"https://api.github.com/repos/grainier/ballerina/forks","keys_url":"https://api.github.com/repos/grainier/ballerina/keys{/key_id}","collaborators_url":"https://api.github.com/repos/grainier/ballerina/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/grainier/ballerina/teams","hooks_url":"https://api.github.com/repos/grainier/ballerina/hooks","issue_events_url":"https://api.github.com/repos/grainier/ballerina/issues/events{/number}","events_url":"https://api.github.com/repos/grainier/ballerina/events","assignees_url":"https://api.github.com/repos/grainier/ballerina/assignees{/user}","branches_url":"https://api.github.com/repos/grainier/ballerina/branches{/branch}","tags_url":"https://api.github.com/repos/grainier/ballerina/tags","blobs_url":"https://api.github.com/repos/grainier/ballerina/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/grainier/ballerina/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/grainier/ballerina/git/refs{/sha}","trees_url":"https://api.github.com/repos/grainier/ballerina/git/trees{/sha}","statuses_url":"https://api.github.com/repos/grainier/ballerina/statuses/{sha}","languages_url":"https://api.github.com/repos/grainier/ballerina/languages","stargazers_url":"https://api.github.com/repos/grainier/ballerina/stargazers","contributors_url":"https://api.github.com/repos/grainier/ballerina/contributors","subscribers_url":"https://api.github.com/repos/grainier/ballerina/subscribers","subscription_url":"https://api.github.com/repos/grainier/ballerina/subscription","commits_url":"https://api.github.com/repos/grainier/ballerina/commits{/sha}","git_commits_url":"https://api.github.com/repos/grainier/ballerina/git/commits{/sha}","comments_url":"https://api.github.com/repos/grainier/ballerina/comments{/number}","issue_comment_url":"https://api.github.com/repos/grainier/ballerina/issues/comments{/number}","contents_url":"https://api.github.com/repos/grainier/ballerina/contents/{+path}","compare_url":"https://api.github.com/repos/grainier/ballerina/compare/{base}...{head}","merges_url":"https://api.github.com/repos/grainier/ballerina/merges","archive_url":"https://api.github.com/repos/grainier/ballerina/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/grainier/ballerina/downloads","issues_url":"https://api.github.com/repos/grainier/ballerina/issues{/number}","pulls_url":"https://api.github.com/repos/grainier/ballerina/pulls{/number}","milestones_url":"https://api.github.com/repos/grainier/ballerina/milestones{/number}","notifications_url":"https://api.github.com/repos/grainier/ballerina/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/grainier/ballerina/labels{/name}","releases_url":"https://api.github.com/repos/grainier/ballerina/releases{/id}","deployments_url":"https://api.github.com/repos/grainier/ballerina/deployments","created_at":"2018-01-30T10:03:08Z","updated_at":"2018-01-30T10:03:15Z","pushed_at":"2018-03-22T22:59:08Z","git_url":"git://github.com/grainier/ballerina.git","ssh_url":"git@github.com:grainier/ballerina.git","clone_url":"https://github.com/grainier/ballerina.git","svn_url":"https://github.com/grainier/ballerina","homepage":"","size":189430,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ballerina-lang:master","ref":"master","sha":"9a2c0a467d6846701199446e8f18010ef95fe3d4","user":{"login":"ballerina-lang","id":24777199,"avatar_url":"https://avatars1.githubusercontent.com/u/24777199?v=4","gravatar_id":"","url":"https://api.github.com/users/ballerina-lang","html_url":"https://github.com/ballerina-lang","followers_url":"https://api.github.com/users/ballerina-lang/followers","following_url":"https://api.github.com/users/ballerina-lang/following{/other_user}","gists_url":"https://api.github.com/users/ballerina-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/ballerina-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ballerina-lang/subscriptions","organizations_url":"https://api.github.com/users/ballerina-lang/orgs","repos_url":"https://api.github.com/users/ballerina-lang/repos","events_url":"https://api.github.com/users/ballerina-lang/events{/privacy}","received_events_url":"https://api.github.com/users/ballerina-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":73930305,"name":"ballerina","full_name":"ballerina-lang/ballerina","owner":{"login":"ballerina-lang","id":24777199,"avatar_url":"https://avatars1.githubusercontent.com/u/24777199?v=4","gravatar_id":"","url":"https://api.github.com/users/ballerina-lang","html_url":"https://github.com/ballerina-lang","followers_url":"https://api.github.com/users/ballerina-lang/followers","following_url":"https://api.github.com/users/ballerina-lang/following{/other_user}","gists_url":"https://api.github.com/users/ballerina-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/ballerina-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ballerina-lang/subscriptions","organizations_url":"https://api.github.com/users/ballerina-lang/orgs","repos_url":"https://api.github.com/users/ballerina-lang/repos","events_url":"https://api.github.com/users/ballerina-lang/events{/privacy}","received_events_url":"https://api.github.com/users/ballerina-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ballerina-lang/ballerina","description":"Ballerina is a new programming language for integration built on a sequence diagram metaphor.","fork":false,"url":"https://api.github.com/repos/ballerina-lang/ballerina","forks_url":"https://api.github.com/repos/ballerina-lang/ballerina/forks","keys_url":"https://api.github.com/repos/ballerina-lang/ballerina/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ballerina-lang/ballerina/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ballerina-lang/ballerina/teams","hooks_url":"https://api.github.com/repos/ballerina-lang/ballerina/hooks","issue_events_url":"https://api.github.com/repos/ballerina-lang/ballerina/issues/events{/number}","events_url":"https://api.github.com/repos/ballerina-lang/ballerina/events","assignees_url":"https://api.github.com/repos/ballerina-lang/ballerina/assignees{/user}","branches_url":"https://api.github.com/repos/ballerina-lang/ballerina/branches{/branch}","tags_url":"https://api.github.com/repos/ballerina-lang/ballerina/tags","blobs_url":"https://api.github.com/repos/ballerina-lang/ballerina/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ballerina-lang/ballerina/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ballerina-lang/ballerina/git/refs{/sha}","trees_url":"https://api.github.com/repos/ballerina-lang/ballerina/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ballerina-lang/ballerina/statuses/{sha}","languages_url":"https://api.github.com/repos/ballerina-lang/ballerina/languages","stargazers_url":"https://api.github.com/repos/ballerina-lang/ballerina/stargazers","contributors_url":"https://api.github.com/repos/ballerina-lang/ballerina/contributors","subscribers_url":"https://api.github.com/repos/ballerina-lang/ballerina/subscribers","subscription_url":"https://api.github.com/repos/ballerina-lang/ballerina/subscription","commits_url":"https://api.github.com/repos/ballerina-lang/ballerina/commits{/sha}","git_commits_url":"https://api.github.com/repos/ballerina-lang/ballerina/git/commits{/sha}","comments_url":"https://api.github.com/repos/ballerina-lang/ballerina/comments{/number}","issue_comment_url":"https://api.github.com/repos/ballerina-lang/ballerina/issues/comments{/number}","contents_url":"https://api.github.com/repos/ballerina-lang/ballerina/contents/{+path}","compare_url":"https://api.github.com/repos/ballerina-lang/ballerina/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ballerina-lang/ballerina/merges","archive_url":"https://api.github.com/repos/ballerina-lang/ballerina/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ballerina-lang/ballerina/downloads","issues_url":"https://api.github.com/repos/ballerina-lang/ballerina/issues{/number}","pulls_url":"https://api.github.com/repos/ballerina-lang/ballerina/pulls{/number}","milestones_url":"https://api.github.com/repos/ballerina-lang/ballerina/milestones{/number}","notifications_url":"https://api.github.com/repos/ballerina-lang/ballerina/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ballerina-lang/ballerina/labels{/name}","releases_url":"https://api.github.com/repos/ballerina-lang/ballerina/releases{/id}","deployments_url":"https://api.github.com/repos/ballerina-lang/ballerina/deployments","created_at":"2016-11-16T14:58:44Z","updated_at":"2018-03-26T02:21:55Z","pushed_at":"2018-03-26T02:21:50Z","git_url":"git://github.com/ballerina-lang/ballerina.git","ssh_url":"git@github.com:ballerina-lang/ballerina.git","clone_url":"https://github.com/ballerina-lang/ballerina.git","svn_url":"https://github.com/ballerina-lang/ballerina","homepage":"","size":192115,"stargazers_count":245,"watchers_count":245,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":271,"mirror_url":null,"archived":false,"open_issues_count":550,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":271,"open_issues":550,"watchers":245,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ballerina-lang/ballerina/pulls/5086"},"html":{"href":"https://github.com/ballerina-lang/ballerina/pull/5086"},"issue":{"href":"https://api.github.com/repos/ballerina-lang/ballerina/issues/5086"},"comments":{"href":"https://api.github.com/repos/ballerina-lang/ballerina/issues/5086/comments"},"review_comments":{"href":"https://api.github.com/repos/ballerina-lang/ballerina/pulls/5086/comments"},"review_comment":{"href":"https://api.github.com/repos/ballerina-lang/ballerina/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ballerina-lang/ballerina/pulls/5086/commits"},"statuses":{"href":"https://api.github.com/repos/ballerina-lang/ballerina/statuses/5135a17a6f3080199da21a51ac26813e44f5f02e"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"hasithaa"}}