{"action":"created","comment":{"url":"https://api.github.com/repos/druid-io/druid/pulls/comments/45123681","id":45123681,"diff_hunk":"@@ -0,0 +1,69 @@\n+## introduction\n+\n+This extension emits some selected druid metrics to a graphite carbon server.\n+Events are sent after been [pickled](http://graphite.readthedocs.org/en/latest/feeding-carbon.html#the-pickle-protocol) , the size of the batch is configurable.\n+Since Graphite doesn't support alerting, alerts will be redirect to warning logs by default. \n+\n+ Metrics are organized using the following schema:\n+`<namespacePrefix>.[<druid service name>].[<druid hostname>].<druid metrics dimensions>.<druid metrics name>`","path":"extensions/graphite-emitter/README.md","position":8,"original_position":8,"commit_id":"fa0478c5bf8cb80b7eab57c83835a356bc86ec36","original_commit_id":"fa0478c5bf8cb80b7eab57c83835a356bc86ec36","user":{"login":"b-slim","id":7376396,"avatar_url":"https://avatars.githubusercontent.com/u/7376396?v=3","gravatar_id":"","url":"https://api.github.com/users/b-slim","html_url":"https://github.com/b-slim","followers_url":"https://api.github.com/users/b-slim/followers","following_url":"https://api.github.com/users/b-slim/following{/other_user}","gists_url":"https://api.github.com/users/b-slim/gists{/gist_id}","starred_url":"https://api.github.com/users/b-slim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b-slim/subscriptions","organizations_url":"https://api.github.com/users/b-slim/orgs","repos_url":"https://api.github.com/users/b-slim/repos","events_url":"https://api.github.com/users/b-slim/events{/privacy}","received_events_url":"https://api.github.com/users/b-slim/received_events","type":"User","site_admin":false},"body":"@drcrallen Oh do you mean druid hostname ? i am not sure how i can get the container info. can you point me to an example please ? ","created_at":"2015-11-17T21:27:58Z","updated_at":"2015-11-17T21:27:58Z","html_url":"https://github.com/druid-io/druid/pull/1978#discussion_r45123681","pull_request_url":"https://api.github.com/repos/druid-io/druid/pulls/1978","_links":{"self":{"href":"https://api.github.com/repos/druid-io/druid/pulls/comments/45123681"},"html":{"href":"https://github.com/druid-io/druid/pull/1978#discussion_r45123681"},"pull_request":{"href":"https://api.github.com/repos/druid-io/druid/pulls/1978"}}},"pull_request":{"url":"https://api.github.com/repos/druid-io/druid/pulls/1978","id":51002145,"html_url":"https://github.com/druid-io/druid/pull/1978","diff_url":"https://github.com/druid-io/druid/pull/1978.diff","patch_url":"https://github.com/druid-io/druid/pull/1978.patch","issue_url":"https://api.github.com/repos/druid-io/druid/issues/1978","number":1978,"state":"open","locked":false,"title":" Graphite emitter","user":{"login":"b-slim","id":7376396,"avatar_url":"https://avatars.githubusercontent.com/u/7376396?v=3","gravatar_id":"","url":"https://api.github.com/users/b-slim","html_url":"https://github.com/b-slim","followers_url":"https://api.github.com/users/b-slim/followers","following_url":"https://api.github.com/users/b-slim/following{/other_user}","gists_url":"https://api.github.com/users/b-slim/gists{/gist_id}","starred_url":"https://api.github.com/users/b-slim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b-slim/subscriptions","organizations_url":"https://api.github.com/users/b-slim/orgs","repos_url":"https://api.github.com/users/b-slim/repos","events_url":"https://api.github.com/users/b-slim/events{/privacy}","received_events_url":"https://api.github.com/users/b-slim/received_events","type":"User","site_admin":false},"body":"Adding a new emitter that sends some carefully selected metrics to a graphite server.\r\n","created_at":"2015-11-17T20:47:03Z","updated_at":"2015-11-17T21:27:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ea571923460c6b4cf7187a102d7a831ed88cf564","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/druid-io/druid/pulls/1978/commits","review_comments_url":"https://api.github.com/repos/druid-io/druid/pulls/1978/comments","review_comment_url":"https://api.github.com/repos/druid-io/druid/pulls/comments{/number}","comments_url":"https://api.github.com/repos/druid-io/druid/issues/1978/comments","statuses_url":"https://api.github.com/repos/druid-io/druid/statuses/fa0478c5bf8cb80b7eab57c83835a356bc86ec36","head":{"label":"b-slim:graphite_emitter","ref":"graphite_emitter","sha":"fa0478c5bf8cb80b7eab57c83835a356bc86ec36","user":{"login":"b-slim","id":7376396,"avatar_url":"https://avatars.githubusercontent.com/u/7376396?v=3","gravatar_id":"","url":"https://api.github.com/users/b-slim","html_url":"https://github.com/b-slim","followers_url":"https://api.github.com/users/b-slim/followers","following_url":"https://api.github.com/users/b-slim/following{/other_user}","gists_url":"https://api.github.com/users/b-slim/gists{/gist_id}","starred_url":"https://api.github.com/users/b-slim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b-slim/subscriptions","organizations_url":"https://api.github.com/users/b-slim/orgs","repos_url":"https://api.github.com/users/b-slim/repos","events_url":"https://api.github.com/users/b-slim/events{/privacy}","received_events_url":"https://api.github.com/users/b-slim/received_events","type":"User","site_admin":false},"repo":{"id":26687338,"name":"druid","full_name":"b-slim/druid","owner":{"login":"b-slim","id":7376396,"avatar_url":"https://avatars.githubusercontent.com/u/7376396?v=3","gravatar_id":"","url":"https://api.github.com/users/b-slim","html_url":"https://github.com/b-slim","followers_url":"https://api.github.com/users/b-slim/followers","following_url":"https://api.github.com/users/b-slim/following{/other_user}","gists_url":"https://api.github.com/users/b-slim/gists{/gist_id}","starred_url":"https://api.github.com/users/b-slim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b-slim/subscriptions","organizations_url":"https://api.github.com/users/b-slim/orgs","repos_url":"https://api.github.com/users/b-slim/repos","events_url":"https://api.github.com/users/b-slim/events{/privacy}","received_events_url":"https://api.github.com/users/b-slim/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/b-slim/druid","description":"Real²time Exploratory Analytics on Large Datasets","fork":true,"url":"https://api.github.com/repos/b-slim/druid","forks_url":"https://api.github.com/repos/b-slim/druid/forks","keys_url":"https://api.github.com/repos/b-slim/druid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/b-slim/druid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/b-slim/druid/teams","hooks_url":"https://api.github.com/repos/b-slim/druid/hooks","issue_events_url":"https://api.github.com/repos/b-slim/druid/issues/events{/number}","events_url":"https://api.github.com/repos/b-slim/druid/events","assignees_url":"https://api.github.com/repos/b-slim/druid/assignees{/user}","branches_url":"https://api.github.com/repos/b-slim/druid/branches{/branch}","tags_url":"https://api.github.com/repos/b-slim/druid/tags","blobs_url":"https://api.github.com/repos/b-slim/druid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/b-slim/druid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/b-slim/druid/git/refs{/sha}","trees_url":"https://api.github.com/repos/b-slim/druid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/b-slim/druid/statuses/{sha}","languages_url":"https://api.github.com/repos/b-slim/druid/languages","stargazers_url":"https://api.github.com/repos/b-slim/druid/stargazers","contributors_url":"https://api.github.com/repos/b-slim/druid/contributors","subscribers_url":"https://api.github.com/repos/b-slim/druid/subscribers","subscription_url":"https://api.github.com/repos/b-slim/druid/subscription","commits_url":"https://api.github.com/repos/b-slim/druid/commits{/sha}","git_commits_url":"https://api.github.com/repos/b-slim/druid/git/commits{/sha}","comments_url":"https://api.github.com/repos/b-slim/druid/comments{/number}","issue_comment_url":"https://api.github.com/repos/b-slim/druid/issues/comments{/number}","contents_url":"https://api.github.com/repos/b-slim/druid/contents/{+path}","compare_url":"https://api.github.com/repos/b-slim/druid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/b-slim/druid/merges","archive_url":"https://api.github.com/repos/b-slim/druid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/b-slim/druid/downloads","issues_url":"https://api.github.com/repos/b-slim/druid/issues{/number}","pulls_url":"https://api.github.com/repos/b-slim/druid/pulls{/number}","milestones_url":"https://api.github.com/repos/b-slim/druid/milestones{/number}","notifications_url":"https://api.github.com/repos/b-slim/druid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/b-slim/druid/labels{/name}","releases_url":"https://api.github.com/repos/b-slim/druid/releases{/id}","created_at":"2014-11-15T17:20:52Z","updated_at":"2014-11-15T17:20:57Z","pushed_at":"2015-11-17T20:45:55Z","git_url":"git://github.com/b-slim/druid.git","ssh_url":"git@github.com:b-slim/druid.git","clone_url":"https://github.com/b-slim/druid.git","svn_url":"https://github.com/b-slim/druid","homepage":"http://druid.io","size":98798,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"druid-io:master","ref":"master","sha":"9118b010c0462d7e409af6dabc3b478c957fd30c","user":{"login":"druid-io","id":4203474,"avatar_url":"https://avatars.githubusercontent.com/u/4203474?v=3","gravatar_id":"","url":"https://api.github.com/users/druid-io","html_url":"https://github.com/druid-io","followers_url":"https://api.github.com/users/druid-io/followers","following_url":"https://api.github.com/users/druid-io/following{/other_user}","gists_url":"https://api.github.com/users/druid-io/gists{/gist_id}","starred_url":"https://api.github.com/users/druid-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/druid-io/subscriptions","organizations_url":"https://api.github.com/users/druid-io/orgs","repos_url":"https://api.github.com/users/druid-io/repos","events_url":"https://api.github.com/users/druid-io/events{/privacy}","received_events_url":"https://api.github.com/users/druid-io/received_events","type":"Organization","site_admin":false},"repo":{"id":6358188,"name":"druid","full_name":"druid-io/druid","owner":{"login":"druid-io","id":4203474,"avatar_url":"https://avatars.githubusercontent.com/u/4203474?v=3","gravatar_id":"","url":"https://api.github.com/users/druid-io","html_url":"https://github.com/druid-io","followers_url":"https://api.github.com/users/druid-io/followers","following_url":"https://api.github.com/users/druid-io/following{/other_user}","gists_url":"https://api.github.com/users/druid-io/gists{/gist_id}","starred_url":"https://api.github.com/users/druid-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/druid-io/subscriptions","organizations_url":"https://api.github.com/users/druid-io/orgs","repos_url":"https://api.github.com/users/druid-io/repos","events_url":"https://api.github.com/users/druid-io/events{/privacy}","received_events_url":"https://api.github.com/users/druid-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/druid-io/druid","description":"Column oriented distributed data store ideal for powering interactive applications","fork":false,"url":"https://api.github.com/repos/druid-io/druid","forks_url":"https://api.github.com/repos/druid-io/druid/forks","keys_url":"https://api.github.com/repos/druid-io/druid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/druid-io/druid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/druid-io/druid/teams","hooks_url":"https://api.github.com/repos/druid-io/druid/hooks","issue_events_url":"https://api.github.com/repos/druid-io/druid/issues/events{/number}","events_url":"https://api.github.com/repos/druid-io/druid/events","assignees_url":"https://api.github.com/repos/druid-io/druid/assignees{/user}","branches_url":"https://api.github.com/repos/druid-io/druid/branches{/branch}","tags_url":"https://api.github.com/repos/druid-io/druid/tags","blobs_url":"https://api.github.com/repos/druid-io/druid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/druid-io/druid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/druid-io/druid/git/refs{/sha}","trees_url":"https://api.github.com/repos/druid-io/druid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/druid-io/druid/statuses/{sha}","languages_url":"https://api.github.com/repos/druid-io/druid/languages","stargazers_url":"https://api.github.com/repos/druid-io/druid/stargazers","contributors_url":"https://api.github.com/repos/druid-io/druid/contributors","subscribers_url":"https://api.github.com/repos/druid-io/druid/subscribers","subscription_url":"https://api.github.com/repos/druid-io/druid/subscription","commits_url":"https://api.github.com/repos/druid-io/druid/commits{/sha}","git_commits_url":"https://api.github.com/repos/druid-io/druid/git/commits{/sha}","comments_url":"https://api.github.com/repos/druid-io/druid/comments{/number}","issue_comment_url":"https://api.github.com/repos/druid-io/druid/issues/comments{/number}","contents_url":"https://api.github.com/repos/druid-io/druid/contents/{+path}","compare_url":"https://api.github.com/repos/druid-io/druid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/druid-io/druid/merges","archive_url":"https://api.github.com/repos/druid-io/druid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/druid-io/druid/downloads","issues_url":"https://api.github.com/repos/druid-io/druid/issues{/number}","pulls_url":"https://api.github.com/repos/druid-io/druid/pulls{/number}","milestones_url":"https://api.github.com/repos/druid-io/druid/milestones{/number}","notifications_url":"https://api.github.com/repos/druid-io/druid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/druid-io/druid/labels{/name}","releases_url":"https://api.github.com/repos/druid-io/druid/releases{/id}","created_at":"2012-10-23T19:08:07Z","updated_at":"2015-11-17T11:14:04Z","pushed_at":"2015-11-17T21:02:42Z","git_url":"git://github.com/druid-io/druid.git","ssh_url":"git@github.com:druid-io/druid.git","clone_url":"https://github.com/druid-io/druid.git","svn_url":"https://github.com/druid-io/druid","homepage":"http://druid.io","size":107944,"stargazers_count":2179,"watchers_count":2179,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":500,"mirror_url":null,"open_issues_count":227,"forks":500,"open_issues":227,"watchers":2179,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/druid-io/druid/pulls/1978"},"html":{"href":"https://github.com/druid-io/druid/pull/1978"},"issue":{"href":"https://api.github.com/repos/druid-io/druid/issues/1978"},"comments":{"href":"https://api.github.com/repos/druid-io/druid/issues/1978/comments"},"review_comments":{"href":"https://api.github.com/repos/druid-io/druid/pulls/1978/comments"},"review_comment":{"href":"https://api.github.com/repos/druid-io/druid/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/druid-io/druid/pulls/1978/commits"},"statuses":{"href":"https://api.github.com/repos/druid-io/druid/statuses/fa0478c5bf8cb80b7eab57c83835a356bc86ec36"}}}}