{"action":"opened","number":118,"pull_request":{"url":"https://api.github.com/repos/python-diamond/Diamond/pulls/118","id":30470672,"html_url":"https://github.com/python-diamond/Diamond/pull/118","diff_url":"https://github.com/python-diamond/Diamond/pull/118.diff","patch_url":"https://github.com/python-diamond/Diamond/pull/118.patch","issue_url":"https://api.github.com/repos/python-diamond/Diamond/issues/118","number":118,"state":"open","locked":false,"title":"KafkaCollector > Fix the key_prefix issue","user":{"login":"kngjle","id":8399343,"avatar_url":"https://avatars.githubusercontent.com/u/8399343?v=3","gravatar_id":"","url":"https://api.github.com/users/kngjle","html_url":"https://github.com/kngjle","followers_url":"https://api.github.com/users/kngjle/followers","following_url":"https://api.github.com/users/kngjle/following{/other_user}","gists_url":"https://api.github.com/users/kngjle/gists{/gist_id}","starred_url":"https://api.github.com/users/kngjle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kngjle/subscriptions","organizations_url":"https://api.github.com/users/kngjle/orgs","repos_url":"https://api.github.com/users/kngjle/repos","events_url":"https://api.github.com/users/kngjle/events{/privacy}","received_events_url":"https://api.github.com/users/kngjle/received_events","type":"User","site_admin":false},"body":"It do not parse rightly the objectname that have more than 2 attributes.\r\nFor example,\r\nkafka.network:type=RequestMetrics,name=RequestsPerSec,request=Produce\r\n=> RequestMetrics.RequestsPerSec,request.RequestsPerSec,request\r\n\r\nIt seems better to be parsed like this.\r\n=> RequestMetrics.RequestsPerSec.Produce\r\n\r\nI have defined the function that build the key_prefix as above.","created_at":"2015-03-04T14:44:51Z","updated_at":"2015-03-04T14:44:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/python-diamond/Diamond/pulls/118/commits","review_comments_url":"https://api.github.com/repos/python-diamond/Diamond/pulls/118/comments","review_comment_url":"https://api.github.com/repos/python-diamond/Diamond/pulls/comments{/number}","comments_url":"https://api.github.com/repos/python-diamond/Diamond/issues/118/comments","statuses_url":"https://api.github.com/repos/python-diamond/Diamond/statuses/b970168a8dc5aeba4af92eb0c2c31ab29f257576","head":{"label":"kngjle:fix-kafka-key","ref":"fix-kafka-key","sha":"b970168a8dc5aeba4af92eb0c2c31ab29f257576","user":{"login":"kngjle","id":8399343,"avatar_url":"https://avatars.githubusercontent.com/u/8399343?v=3","gravatar_id":"","url":"https://api.github.com/users/kngjle","html_url":"https://github.com/kngjle","followers_url":"https://api.github.com/users/kngjle/followers","following_url":"https://api.github.com/users/kngjle/following{/other_user}","gists_url":"https://api.github.com/users/kngjle/gists{/gist_id}","starred_url":"https://api.github.com/users/kngjle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kngjle/subscriptions","organizations_url":"https://api.github.com/users/kngjle/orgs","repos_url":"https://api.github.com/users/kngjle/repos","events_url":"https://api.github.com/users/kngjle/events{/privacy}","received_events_url":"https://api.github.com/users/kngjle/received_events","type":"User","site_admin":false},"repo":{"id":31525173,"name":"Diamond","full_name":"kngjle/Diamond","owner":{"login":"kngjle","id":8399343,"avatar_url":"https://avatars.githubusercontent.com/u/8399343?v=3","gravatar_id":"","url":"https://api.github.com/users/kngjle","html_url":"https://github.com/kngjle","followers_url":"https://api.github.com/users/kngjle/followers","following_url":"https://api.github.com/users/kngjle/following{/other_user}","gists_url":"https://api.github.com/users/kngjle/gists{/gist_id}","starred_url":"https://api.github.com/users/kngjle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kngjle/subscriptions","organizations_url":"https://api.github.com/users/kngjle/orgs","repos_url":"https://api.github.com/users/kngjle/repos","events_url":"https://api.github.com/users/kngjle/events{/privacy}","received_events_url":"https://api.github.com/users/kngjle/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kngjle/Diamond","description":"Diamond is a python daemon that collects system metrics and publishes them to Graphite (and others). It is capable of collecting cpu, memory, network, i/o, load and disk metrics. Additionally, it features an API for implementing custom collectors for gathering metrics from almost any source.","fork":true,"url":"https://api.github.com/repos/kngjle/Diamond","forks_url":"https://api.github.com/repos/kngjle/Diamond/forks","keys_url":"https://api.github.com/repos/kngjle/Diamond/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kngjle/Diamond/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kngjle/Diamond/teams","hooks_url":"https://api.github.com/repos/kngjle/Diamond/hooks","issue_events_url":"https://api.github.com/repos/kngjle/Diamond/issues/events{/number}","events_url":"https://api.github.com/repos/kngjle/Diamond/events","assignees_url":"https://api.github.com/repos/kngjle/Diamond/assignees{/user}","branches_url":"https://api.github.com/repos/kngjle/Diamond/branches{/branch}","tags_url":"https://api.github.com/repos/kngjle/Diamond/tags","blobs_url":"https://api.github.com/repos/kngjle/Diamond/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kngjle/Diamond/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kngjle/Diamond/git/refs{/sha}","trees_url":"https://api.github.com/repos/kngjle/Diamond/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kngjle/Diamond/statuses/{sha}","languages_url":"https://api.github.com/repos/kngjle/Diamond/languages","stargazers_url":"https://api.github.com/repos/kngjle/Diamond/stargazers","contributors_url":"https://api.github.com/repos/kngjle/Diamond/contributors","subscribers_url":"https://api.github.com/repos/kngjle/Diamond/subscribers","subscription_url":"https://api.github.com/repos/kngjle/Diamond/subscription","commits_url":"https://api.github.com/repos/kngjle/Diamond/commits{/sha}","git_commits_url":"https://api.github.com/repos/kngjle/Diamond/git/commits{/sha}","comments_url":"https://api.github.com/repos/kngjle/Diamond/comments{/number}","issue_comment_url":"https://api.github.com/repos/kngjle/Diamond/issues/comments{/number}","contents_url":"https://api.github.com/repos/kngjle/Diamond/contents/{+path}","compare_url":"https://api.github.com/repos/kngjle/Diamond/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kngjle/Diamond/merges","archive_url":"https://api.github.com/repos/kngjle/Diamond/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kngjle/Diamond/downloads","issues_url":"https://api.github.com/repos/kngjle/Diamond/issues{/number}","pulls_url":"https://api.github.com/repos/kngjle/Diamond/pulls{/number}","milestones_url":"https://api.github.com/repos/kngjle/Diamond/milestones{/number}","notifications_url":"https://api.github.com/repos/kngjle/Diamond/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kngjle/Diamond/labels{/name}","releases_url":"https://api.github.com/repos/kngjle/Diamond/releases{/id}","created_at":"2015-03-02T05:42:25Z","updated_at":"2015-03-02T05:42:27Z","pushed_at":"2015-03-04T13:59:15Z","git_url":"git://github.com/kngjle/Diamond.git","ssh_url":"git@github.com:kngjle/Diamond.git","clone_url":"https://github.com/kngjle/Diamond.git","svn_url":"https://github.com/kngjle/Diamond","homepage":null,"size":5692,"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":"python-diamond:master","ref":"master","sha":"fb729f82d602142c169308bb3c47a6c04615a63d","user":{"login":"python-diamond","id":5668086,"avatar_url":"https://avatars.githubusercontent.com/u/5668086?v=3","gravatar_id":"","url":"https://api.github.com/users/python-diamond","html_url":"https://github.com/python-diamond","followers_url":"https://api.github.com/users/python-diamond/followers","following_url":"https://api.github.com/users/python-diamond/following{/other_user}","gists_url":"https://api.github.com/users/python-diamond/gists{/gist_id}","starred_url":"https://api.github.com/users/python-diamond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/python-diamond/subscriptions","organizations_url":"https://api.github.com/users/python-diamond/orgs","repos_url":"https://api.github.com/users/python-diamond/repos","events_url":"https://api.github.com/users/python-diamond/events{/privacy}","received_events_url":"https://api.github.com/users/python-diamond/received_events","type":"Organization","site_admin":false},"repo":{"id":13512018,"name":"Diamond","full_name":"python-diamond/Diamond","owner":{"login":"python-diamond","id":5668086,"avatar_url":"https://avatars.githubusercontent.com/u/5668086?v=3","gravatar_id":"","url":"https://api.github.com/users/python-diamond","html_url":"https://github.com/python-diamond","followers_url":"https://api.github.com/users/python-diamond/followers","following_url":"https://api.github.com/users/python-diamond/following{/other_user}","gists_url":"https://api.github.com/users/python-diamond/gists{/gist_id}","starred_url":"https://api.github.com/users/python-diamond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/python-diamond/subscriptions","organizations_url":"https://api.github.com/users/python-diamond/orgs","repos_url":"https://api.github.com/users/python-diamond/repos","events_url":"https://api.github.com/users/python-diamond/events{/privacy}","received_events_url":"https://api.github.com/users/python-diamond/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/python-diamond/Diamond","description":"Diamond is a python daemon that collects system metrics and publishes them to Graphite (and others). It is capable of collecting cpu, memory, network, i/o, load and disk metrics. Additionally, it features an API for implementing custom collectors for gathering metrics from almost any source.","fork":false,"url":"https://api.github.com/repos/python-diamond/Diamond","forks_url":"https://api.github.com/repos/python-diamond/Diamond/forks","keys_url":"https://api.github.com/repos/python-diamond/Diamond/keys{/key_id}","collaborators_url":"https://api.github.com/repos/python-diamond/Diamond/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/python-diamond/Diamond/teams","hooks_url":"https://api.github.com/repos/python-diamond/Diamond/hooks","issue_events_url":"https://api.github.com/repos/python-diamond/Diamond/issues/events{/number}","events_url":"https://api.github.com/repos/python-diamond/Diamond/events","assignees_url":"https://api.github.com/repos/python-diamond/Diamond/assignees{/user}","branches_url":"https://api.github.com/repos/python-diamond/Diamond/branches{/branch}","tags_url":"https://api.github.com/repos/python-diamond/Diamond/tags","blobs_url":"https://api.github.com/repos/python-diamond/Diamond/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/python-diamond/Diamond/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/python-diamond/Diamond/git/refs{/sha}","trees_url":"https://api.github.com/repos/python-diamond/Diamond/git/trees{/sha}","statuses_url":"https://api.github.com/repos/python-diamond/Diamond/statuses/{sha}","languages_url":"https://api.github.com/repos/python-diamond/Diamond/languages","stargazers_url":"https://api.github.com/repos/python-diamond/Diamond/stargazers","contributors_url":"https://api.github.com/repos/python-diamond/Diamond/contributors","subscribers_url":"https://api.github.com/repos/python-diamond/Diamond/subscribers","subscription_url":"https://api.github.com/repos/python-diamond/Diamond/subscription","commits_url":"https://api.github.com/repos/python-diamond/Diamond/commits{/sha}","git_commits_url":"https://api.github.com/repos/python-diamond/Diamond/git/commits{/sha}","comments_url":"https://api.github.com/repos/python-diamond/Diamond/comments{/number}","issue_comment_url":"https://api.github.com/repos/python-diamond/Diamond/issues/comments{/number}","contents_url":"https://api.github.com/repos/python-diamond/Diamond/contents/{+path}","compare_url":"https://api.github.com/repos/python-diamond/Diamond/compare/{base}...{head}","merges_url":"https://api.github.com/repos/python-diamond/Diamond/merges","archive_url":"https://api.github.com/repos/python-diamond/Diamond/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/python-diamond/Diamond/downloads","issues_url":"https://api.github.com/repos/python-diamond/Diamond/issues{/number}","pulls_url":"https://api.github.com/repos/python-diamond/Diamond/pulls{/number}","milestones_url":"https://api.github.com/repos/python-diamond/Diamond/milestones{/number}","notifications_url":"https://api.github.com/repos/python-diamond/Diamond/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/python-diamond/Diamond/labels{/name}","releases_url":"https://api.github.com/repos/python-diamond/Diamond/releases{/id}","created_at":"2013-10-11T23:32:13Z","updated_at":"2015-03-02T14:55:08Z","pushed_at":"2015-02-27T10:03:31Z","git_url":"git://github.com/python-diamond/Diamond.git","ssh_url":"git@github.com:python-diamond/Diamond.git","clone_url":"https://github.com/python-diamond/Diamond.git","svn_url":"https://github.com/python-diamond/Diamond","homepage":null,"size":5692,"stargazers_count":85,"watchers_count":85,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":61,"mirror_url":null,"open_issues_count":58,"forks":61,"open_issues":58,"watchers":85,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/python-diamond/Diamond/pulls/118"},"html":{"href":"https://github.com/python-diamond/Diamond/pull/118"},"issue":{"href":"https://api.github.com/repos/python-diamond/Diamond/issues/118"},"comments":{"href":"https://api.github.com/repos/python-diamond/Diamond/issues/118/comments"},"review_comments":{"href":"https://api.github.com/repos/python-diamond/Diamond/pulls/118/comments"},"review_comment":{"href":"https://api.github.com/repos/python-diamond/Diamond/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/python-diamond/Diamond/pulls/118/commits"},"statuses":{"href":"https://api.github.com/repos/python-diamond/Diamond/statuses/b970168a8dc5aeba4af92eb0c2c31ab29f257576"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":34,"deletions":18,"changed_files":2}}