{"action":"created","comment":{"url":"https://api.github.com/repos/DataDog/dd-trace-rb/pulls/comments/91656593","pull_request_review_id":12154369,"id":91656593,"diff_hunk":"@@ -0,0 +1,14 @@\n+module Datadog\n+  # Monkey is used for monkey-patching 3rd party libs.\n+  class Monkey\n+    def self.patch_all\n+      require 'ddtrace/contrib/elasticsearch/core' if \\","path":"lib/ddtrace/monkey.rb","position":5,"original_position":5,"commit_id":"d5dd605eca997690ce4e1e98ae8323d76846f64e","original_commit_id":"d5dd605eca997690ce4e1e98ae8323d76846f64e","user":{"login":"dbenamydd","id":16651846,"avatar_url":"https://avatars.githubusercontent.com/u/16651846?v=3","gravatar_id":"","url":"https://api.github.com/users/dbenamydd","html_url":"https://github.com/dbenamydd","followers_url":"https://api.github.com/users/dbenamydd/followers","following_url":"https://api.github.com/users/dbenamydd/following{/other_user}","gists_url":"https://api.github.com/users/dbenamydd/gists{/gist_id}","starred_url":"https://api.github.com/users/dbenamydd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbenamydd/subscriptions","organizations_url":"https://api.github.com/users/dbenamydd/orgs","repos_url":"https://api.github.com/users/dbenamydd/repos","events_url":"https://api.github.com/users/dbenamydd/events{/privacy}","received_events_url":"https://api.github.com/users/dbenamydd/received_events","type":"User","site_admin":false},"body":"Nit: I probably wouldn't write upside down if statements :-)\r\n```\r\nif (defined?(....) && ....)\r\n  require ...\r\nend","created_at":"2016-12-09T04:06:54Z","updated_at":"2016-12-09T04:12:58Z","html_url":"https://github.com/DataDog/dd-trace-rb/pull/39#discussion_r91656593","pull_request_url":"https://api.github.com/repos/DataDog/dd-trace-rb/pulls/39","_links":{"self":{"href":"https://api.github.com/repos/DataDog/dd-trace-rb/pulls/comments/91656593"},"html":{"href":"https://github.com/DataDog/dd-trace-rb/pull/39#discussion_r91656593"},"pull_request":{"href":"https://api.github.com/repos/DataDog/dd-trace-rb/pulls/39"}}},"pull_request":{"url":"https://api.github.com/repos/DataDog/dd-trace-rb/pulls/39","id":96901525,"html_url":"https://github.com/DataDog/dd-trace-rb/pull/39","diff_url":"https://github.com/DataDog/dd-trace-rb/pull/39.diff","patch_url":"https://github.com/DataDog/dd-trace-rb/pull/39.patch","issue_url":"https://api.github.com/repos/DataDog/dd-trace-rb/issues/39","number":39,"state":"open","locked":false,"title":"[integration] ES and Redis, using a \"generic\" path","user":{"login":"ufoot","id":7057548,"avatar_url":"https://avatars.githubusercontent.com/u/7057548?v=3","gravatar_id":"","url":"https://api.github.com/users/ufoot","html_url":"https://github.com/ufoot","followers_url":"https://api.github.com/users/ufoot/followers","following_url":"https://api.github.com/users/ufoot/following{/other_user}","gists_url":"https://api.github.com/users/ufoot/gists{/gist_id}","starred_url":"https://api.github.com/users/ufoot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ufoot/subscriptions","organizations_url":"https://api.github.com/users/ufoot/orgs","repos_url":"https://api.github.com/users/ufoot/repos","events_url":"https://api.github.com/users/ufoot/events{/privacy}","received_events_url":"https://api.github.com/users/ufoot/received_events","type":"User","site_admin":false},"body":"Implementing Elasticsearch and Redis integrations, using a generic way of doing things.\r\n\r\nStill WIP.","created_at":"2016-12-07T11:01:07Z","updated_at":"2016-12-09T04:12:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"50b3e8facb2a07f5665523846adb56927bbc9446","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/DataDog/dd-trace-rb/pulls/39/commits","review_comments_url":"https://api.github.com/repos/DataDog/dd-trace-rb/pulls/39/comments","review_comment_url":"https://api.github.com/repos/DataDog/dd-trace-rb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DataDog/dd-trace-rb/issues/39/comments","statuses_url":"https://api.github.com/repos/DataDog/dd-trace-rb/statuses/d5dd605eca997690ce4e1e98ae8323d76846f64e","head":{"label":"DataDog:christian/esredis","ref":"christian/esredis","sha":"d5dd605eca997690ce4e1e98ae8323d76846f64e","user":{"login":"DataDog","id":365230,"avatar_url":"https://avatars.githubusercontent.com/u/365230?v=3","gravatar_id":"","url":"https://api.github.com/users/DataDog","html_url":"https://github.com/DataDog","followers_url":"https://api.github.com/users/DataDog/followers","following_url":"https://api.github.com/users/DataDog/following{/other_user}","gists_url":"https://api.github.com/users/DataDog/gists{/gist_id}","starred_url":"https://api.github.com/users/DataDog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataDog/subscriptions","organizations_url":"https://api.github.com/users/DataDog/orgs","repos_url":"https://api.github.com/users/DataDog/repos","events_url":"https://api.github.com/users/DataDog/events{/privacy}","received_events_url":"https://api.github.com/users/DataDog/received_events","type":"Organization","site_admin":false},"repo":{"id":66497320,"name":"dd-trace-rb","full_name":"DataDog/dd-trace-rb","owner":{"login":"DataDog","id":365230,"avatar_url":"https://avatars.githubusercontent.com/u/365230?v=3","gravatar_id":"","url":"https://api.github.com/users/DataDog","html_url":"https://github.com/DataDog","followers_url":"https://api.github.com/users/DataDog/followers","following_url":"https://api.github.com/users/DataDog/following{/other_user}","gists_url":"https://api.github.com/users/DataDog/gists{/gist_id}","starred_url":"https://api.github.com/users/DataDog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataDog/subscriptions","organizations_url":"https://api.github.com/users/DataDog/orgs","repos_url":"https://api.github.com/users/DataDog/repos","events_url":"https://api.github.com/users/DataDog/events{/privacy}","received_events_url":"https://api.github.com/users/DataDog/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DataDog/dd-trace-rb","description":null,"fork":false,"url":"https://api.github.com/repos/DataDog/dd-trace-rb","forks_url":"https://api.github.com/repos/DataDog/dd-trace-rb/forks","keys_url":"https://api.github.com/repos/DataDog/dd-trace-rb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DataDog/dd-trace-rb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DataDog/dd-trace-rb/teams","hooks_url":"https://api.github.com/repos/DataDog/dd-trace-rb/hooks","issue_events_url":"https://api.github.com/repos/DataDog/dd-trace-rb/issues/events{/number}","events_url":"https://api.github.com/repos/DataDog/dd-trace-rb/events","assignees_url":"https://api.github.com/repos/DataDog/dd-trace-rb/assignees{/user}","branches_url":"https://api.github.com/repos/DataDog/dd-trace-rb/branches{/branch}","tags_url":"https://api.github.com/repos/DataDog/dd-trace-rb/tags","blobs_url":"https://api.github.com/repos/DataDog/dd-trace-rb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DataDog/dd-trace-rb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DataDog/dd-trace-rb/git/refs{/sha}","trees_url":"https://api.github.com/repos/DataDog/dd-trace-rb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DataDog/dd-trace-rb/statuses/{sha}","languages_url":"https://api.github.com/repos/DataDog/dd-trace-rb/languages","stargazers_url":"https://api.github.com/repos/DataDog/dd-trace-rb/stargazers","contributors_url":"https://api.github.com/repos/DataDog/dd-trace-rb/contributors","subscribers_url":"https://api.github.com/repos/DataDog/dd-trace-rb/subscribers","subscription_url":"https://api.github.com/repos/DataDog/dd-trace-rb/subscription","commits_url":"https://api.github.com/repos/DataDog/dd-trace-rb/commits{/sha}","git_commits_url":"https://api.github.com/repos/DataDog/dd-trace-rb/git/commits{/sha}","comments_url":"https://api.github.com/repos/DataDog/dd-trace-rb/comments{/number}","issue_comment_url":"https://api.github.com/repos/DataDog/dd-trace-rb/issues/comments{/number}","contents_url":"https://api.github.com/repos/DataDog/dd-trace-rb/contents/{+path}","compare_url":"https://api.github.com/repos/DataDog/dd-trace-rb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DataDog/dd-trace-rb/merges","archive_url":"https://api.github.com/repos/DataDog/dd-trace-rb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DataDog/dd-trace-rb/downloads","issues_url":"https://api.github.com/repos/DataDog/dd-trace-rb/issues{/number}","pulls_url":"https://api.github.com/repos/DataDog/dd-trace-rb/pulls{/number}","milestones_url":"https://api.github.com/repos/DataDog/dd-trace-rb/milestones{/number}","notifications_url":"https://api.github.com/repos/DataDog/dd-trace-rb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DataDog/dd-trace-rb/labels{/name}","releases_url":"https://api.github.com/repos/DataDog/dd-trace-rb/releases{/id}","deployments_url":"https://api.github.com/repos/DataDog/dd-trace-rb/deployments","created_at":"2016-08-24T20:30:56Z","updated_at":"2016-11-30T00:31:13Z","pushed_at":"2016-12-08T18:25:09Z","git_url":"git://github.com/DataDog/dd-trace-rb.git","ssh_url":"git@github.com:DataDog/dd-trace-rb.git","clone_url":"https://github.com/DataDog/dd-trace-rb.git","svn_url":"https://github.com/DataDog/dd-trace-rb","homepage":null,"size":238,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":4,"default_branch":"master"}},"base":{"label":"DataDog:master","ref":"master","sha":"c5a400de0294c8c2e27cf35aa60f91d5b8b206c7","user":{"login":"DataDog","id":365230,"avatar_url":"https://avatars.githubusercontent.com/u/365230?v=3","gravatar_id":"","url":"https://api.github.com/users/DataDog","html_url":"https://github.com/DataDog","followers_url":"https://api.github.com/users/DataDog/followers","following_url":"https://api.github.com/users/DataDog/following{/other_user}","gists_url":"https://api.github.com/users/DataDog/gists{/gist_id}","starred_url":"https://api.github.com/users/DataDog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataDog/subscriptions","organizations_url":"https://api.github.com/users/DataDog/orgs","repos_url":"https://api.github.com/users/DataDog/repos","events_url":"https://api.github.com/users/DataDog/events{/privacy}","received_events_url":"https://api.github.com/users/DataDog/received_events","type":"Organization","site_admin":false},"repo":{"id":66497320,"name":"dd-trace-rb","full_name":"DataDog/dd-trace-rb","owner":{"login":"DataDog","id":365230,"avatar_url":"https://avatars.githubusercontent.com/u/365230?v=3","gravatar_id":"","url":"https://api.github.com/users/DataDog","html_url":"https://github.com/DataDog","followers_url":"https://api.github.com/users/DataDog/followers","following_url":"https://api.github.com/users/DataDog/following{/other_user}","gists_url":"https://api.github.com/users/DataDog/gists{/gist_id}","starred_url":"https://api.github.com/users/DataDog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataDog/subscriptions","organizations_url":"https://api.github.com/users/DataDog/orgs","repos_url":"https://api.github.com/users/DataDog/repos","events_url":"https://api.github.com/users/DataDog/events{/privacy}","received_events_url":"https://api.github.com/users/DataDog/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DataDog/dd-trace-rb","description":null,"fork":false,"url":"https://api.github.com/repos/DataDog/dd-trace-rb","forks_url":"https://api.github.com/repos/DataDog/dd-trace-rb/forks","keys_url":"https://api.github.com/repos/DataDog/dd-trace-rb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DataDog/dd-trace-rb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DataDog/dd-trace-rb/teams","hooks_url":"https://api.github.com/repos/DataDog/dd-trace-rb/hooks","issue_events_url":"https://api.github.com/repos/DataDog/dd-trace-rb/issues/events{/number}","events_url":"https://api.github.com/repos/DataDog/dd-trace-rb/events","assignees_url":"https://api.github.com/repos/DataDog/dd-trace-rb/assignees{/user}","branches_url":"https://api.github.com/repos/DataDog/dd-trace-rb/branches{/branch}","tags_url":"https://api.github.com/repos/DataDog/dd-trace-rb/tags","blobs_url":"https://api.github.com/repos/DataDog/dd-trace-rb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DataDog/dd-trace-rb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DataDog/dd-trace-rb/git/refs{/sha}","trees_url":"https://api.github.com/repos/DataDog/dd-trace-rb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DataDog/dd-trace-rb/statuses/{sha}","languages_url":"https://api.github.com/repos/DataDog/dd-trace-rb/languages","stargazers_url":"https://api.github.com/repos/DataDog/dd-trace-rb/stargazers","contributors_url":"https://api.github.com/repos/DataDog/dd-trace-rb/contributors","subscribers_url":"https://api.github.com/repos/DataDog/dd-trace-rb/subscribers","subscription_url":"https://api.github.com/repos/DataDog/dd-trace-rb/subscription","commits_url":"https://api.github.com/repos/DataDog/dd-trace-rb/commits{/sha}","git_commits_url":"https://api.github.com/repos/DataDog/dd-trace-rb/git/commits{/sha}","comments_url":"https://api.github.com/repos/DataDog/dd-trace-rb/comments{/number}","issue_comment_url":"https://api.github.com/repos/DataDog/dd-trace-rb/issues/comments{/number}","contents_url":"https://api.github.com/repos/DataDog/dd-trace-rb/contents/{+path}","compare_url":"https://api.github.com/repos/DataDog/dd-trace-rb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DataDog/dd-trace-rb/merges","archive_url":"https://api.github.com/repos/DataDog/dd-trace-rb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DataDog/dd-trace-rb/downloads","issues_url":"https://api.github.com/repos/DataDog/dd-trace-rb/issues{/number}","pulls_url":"https://api.github.com/repos/DataDog/dd-trace-rb/pulls{/number}","milestones_url":"https://api.github.com/repos/DataDog/dd-trace-rb/milestones{/number}","notifications_url":"https://api.github.com/repos/DataDog/dd-trace-rb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DataDog/dd-trace-rb/labels{/name}","releases_url":"https://api.github.com/repos/DataDog/dd-trace-rb/releases{/id}","deployments_url":"https://api.github.com/repos/DataDog/dd-trace-rb/deployments","created_at":"2016-08-24T20:30:56Z","updated_at":"2016-11-30T00:31:13Z","pushed_at":"2016-12-08T18:25:09Z","git_url":"git://github.com/DataDog/dd-trace-rb.git","ssh_url":"git@github.com:DataDog/dd-trace-rb.git","clone_url":"https://github.com/DataDog/dd-trace-rb.git","svn_url":"https://github.com/DataDog/dd-trace-rb","homepage":null,"size":238,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DataDog/dd-trace-rb/pulls/39"},"html":{"href":"https://github.com/DataDog/dd-trace-rb/pull/39"},"issue":{"href":"https://api.github.com/repos/DataDog/dd-trace-rb/issues/39"},"comments":{"href":"https://api.github.com/repos/DataDog/dd-trace-rb/issues/39/comments"},"review_comments":{"href":"https://api.github.com/repos/DataDog/dd-trace-rb/pulls/39/comments"},"review_comment":{"href":"https://api.github.com/repos/DataDog/dd-trace-rb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DataDog/dd-trace-rb/pulls/39/commits"},"statuses":{"href":"https://api.github.com/repos/DataDog/dd-trace-rb/statuses/d5dd605eca997690ce4e1e98ae8323d76846f64e"}}}}
{"actor":{"display_login":"dbenamydd"}}