{"action":"opened","number":162,"pull_request":{"url":"https://api.github.com/repos/splunk/splunk-sdk-python/pulls/162","id":91890892,"html_url":"https://github.com/splunk/splunk-sdk-python/pull/162","diff_url":"https://github.com/splunk/splunk-sdk-python/pull/162.diff","patch_url":"https://github.com/splunk/splunk-sdk-python/pull/162.patch","issue_url":"https://api.github.com/repos/splunk/splunk-sdk-python/issues/162","number":162,"state":"open","locked":false,"title":"remove Inputs.kind check to reduce performance impact on each rest call","user":{"login":"zhengyuli","id":1361474,"avatar_url":"https://avatars.githubusercontent.com/u/1361474?v=3","gravatar_id":"","url":"https://api.github.com/users/zhengyuli","html_url":"https://github.com/zhengyuli","followers_url":"https://api.github.com/users/zhengyuli/followers","following_url":"https://api.github.com/users/zhengyuli/following{/other_user}","gists_url":"https://api.github.com/users/zhengyuli/gists{/gist_id}","starred_url":"https://api.github.com/users/zhengyuli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhengyuli/subscriptions","organizations_url":"https://api.github.com/users/zhengyuli/orgs","repos_url":"https://api.github.com/users/zhengyuli/repos","events_url":"https://api.github.com/users/zhengyuli/events{/privacy}","received_events_url":"https://api.github.com/users/zhengyuli/received_events","type":"User","site_admin":false},"body":"Hi, we encountered seriously performance issue when using splunklib.Inputs object, we found the root cause is splunklib.Inputs object will check the `kind` for each rest call, during check process splunklib will trigger lots of additional rest calls if there are too many kinds of data inputs in Splunk.\r\n\r\nFor the detailed info please go to: https://confluence.splunk.com/display/PROD/ERD+Performance+and+Design+Deficiency+in+SplunkLib+Inputs","created_at":"2016-11-02T00:38:14Z","updated_at":"2016-11-02T00:38:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ac73aabf29e0a209ec9933d74389d04db2286f15","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/splunk/splunk-sdk-python/pulls/162/commits","review_comments_url":"https://api.github.com/repos/splunk/splunk-sdk-python/pulls/162/comments","review_comment_url":"https://api.github.com/repos/splunk/splunk-sdk-python/pulls/comments{/number}","comments_url":"https://api.github.com/repos/splunk/splunk-sdk-python/issues/162/comments","statuses_url":"https://api.github.com/repos/splunk/splunk-sdk-python/statuses/78da140e8d6de13a84c8074b279de48880f50503","head":{"label":"zhengyuli:bugfix/remove-inputs-kind-check","ref":"bugfix/remove-inputs-kind-check","sha":"78da140e8d6de13a84c8074b279de48880f50503","user":{"login":"zhengyuli","id":1361474,"avatar_url":"https://avatars.githubusercontent.com/u/1361474?v=3","gravatar_id":"","url":"https://api.github.com/users/zhengyuli","html_url":"https://github.com/zhengyuli","followers_url":"https://api.github.com/users/zhengyuli/followers","following_url":"https://api.github.com/users/zhengyuli/following{/other_user}","gists_url":"https://api.github.com/users/zhengyuli/gists{/gist_id}","starred_url":"https://api.github.com/users/zhengyuli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhengyuli/subscriptions","organizations_url":"https://api.github.com/users/zhengyuli/orgs","repos_url":"https://api.github.com/users/zhengyuli/repos","events_url":"https://api.github.com/users/zhengyuli/events{/privacy}","received_events_url":"https://api.github.com/users/zhengyuli/received_events","type":"User","site_admin":false},"repo":{"id":71999435,"name":"splunk-sdk-python","full_name":"zhengyuli/splunk-sdk-python","owner":{"login":"zhengyuli","id":1361474,"avatar_url":"https://avatars.githubusercontent.com/u/1361474?v=3","gravatar_id":"","url":"https://api.github.com/users/zhengyuli","html_url":"https://github.com/zhengyuli","followers_url":"https://api.github.com/users/zhengyuli/followers","following_url":"https://api.github.com/users/zhengyuli/following{/other_user}","gists_url":"https://api.github.com/users/zhengyuli/gists{/gist_id}","starred_url":"https://api.github.com/users/zhengyuli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhengyuli/subscriptions","organizations_url":"https://api.github.com/users/zhengyuli/orgs","repos_url":"https://api.github.com/users/zhengyuli/repos","events_url":"https://api.github.com/users/zhengyuli/events{/privacy}","received_events_url":"https://api.github.com/users/zhengyuli/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zhengyuli/splunk-sdk-python","description":"Splunk Software Development Kit for Python","fork":true,"url":"https://api.github.com/repos/zhengyuli/splunk-sdk-python","forks_url":"https://api.github.com/repos/zhengyuli/splunk-sdk-python/forks","keys_url":"https://api.github.com/repos/zhengyuli/splunk-sdk-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zhengyuli/splunk-sdk-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zhengyuli/splunk-sdk-python/teams","hooks_url":"https://api.github.com/repos/zhengyuli/splunk-sdk-python/hooks","issue_events_url":"https://api.github.com/repos/zhengyuli/splunk-sdk-python/issues/events{/number}","events_url":"https://api.github.com/repos/zhengyuli/splunk-sdk-python/events","assignees_url":"https://api.github.com/repos/zhengyuli/splunk-sdk-python/assignees{/user}","branches_url":"https://api.github.com/repos/zhengyuli/splunk-sdk-python/branches{/branch}","tags_url":"https://api.github.com/repos/zhengyuli/splunk-sdk-python/tags","blobs_url":"https://api.github.com/repos/zhengyuli/splunk-sdk-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zhengyuli/splunk-sdk-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zhengyuli/splunk-sdk-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/zhengyuli/splunk-sdk-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zhengyuli/splunk-sdk-python/statuses/{sha}","languages_url":"https://api.github.com/repos/zhengyuli/splunk-sdk-python/languages","stargazers_url":"https://api.github.com/repos/zhengyuli/splunk-sdk-python/stargazers","contributors_url":"https://api.github.com/repos/zhengyuli/splunk-sdk-python/contributors","subscribers_url":"https://api.github.com/repos/zhengyuli/splunk-sdk-python/subscribers","subscription_url":"https://api.github.com/repos/zhengyuli/splunk-sdk-python/subscription","commits_url":"https://api.github.com/repos/zhengyuli/splunk-sdk-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/zhengyuli/splunk-sdk-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/zhengyuli/splunk-sdk-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/zhengyuli/splunk-sdk-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/zhengyuli/splunk-sdk-python/contents/{+path}","compare_url":"https://api.github.com/repos/zhengyuli/splunk-sdk-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zhengyuli/splunk-sdk-python/merges","archive_url":"https://api.github.com/repos/zhengyuli/splunk-sdk-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zhengyuli/splunk-sdk-python/downloads","issues_url":"https://api.github.com/repos/zhengyuli/splunk-sdk-python/issues{/number}","pulls_url":"https://api.github.com/repos/zhengyuli/splunk-sdk-python/pulls{/number}","milestones_url":"https://api.github.com/repos/zhengyuli/splunk-sdk-python/milestones{/number}","notifications_url":"https://api.github.com/repos/zhengyuli/splunk-sdk-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zhengyuli/splunk-sdk-python/labels{/name}","releases_url":"https://api.github.com/repos/zhengyuli/splunk-sdk-python/releases{/id}","deployments_url":"https://api.github.com/repos/zhengyuli/splunk-sdk-python/deployments","created_at":"2016-10-26T12:10:27Z","updated_at":"2016-10-26T12:10:29Z","pushed_at":"2016-11-02T00:30:03Z","git_url":"git://github.com/zhengyuli/splunk-sdk-python.git","ssh_url":"git@github.com:zhengyuli/splunk-sdk-python.git","clone_url":"https://github.com/zhengyuli/splunk-sdk-python.git","svn_url":"https://github.com/zhengyuli/splunk-sdk-python","homepage":"http://dev.splunk.com","size":69997,"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":"splunk:develop","ref":"develop","sha":"3aa4b563e738fd1b863d21555b37d30dd1095643","user":{"login":"splunk","id":651467,"avatar_url":"https://avatars.githubusercontent.com/u/651467?v=3","gravatar_id":"","url":"https://api.github.com/users/splunk","html_url":"https://github.com/splunk","followers_url":"https://api.github.com/users/splunk/followers","following_url":"https://api.github.com/users/splunk/following{/other_user}","gists_url":"https://api.github.com/users/splunk/gists{/gist_id}","starred_url":"https://api.github.com/users/splunk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/splunk/subscriptions","organizations_url":"https://api.github.com/users/splunk/orgs","repos_url":"https://api.github.com/users/splunk/repos","events_url":"https://api.github.com/users/splunk/events{/privacy}","received_events_url":"https://api.github.com/users/splunk/received_events","type":"Organization","site_admin":false},"repo":{"id":1504670,"name":"splunk-sdk-python","full_name":"splunk/splunk-sdk-python","owner":{"login":"splunk","id":651467,"avatar_url":"https://avatars.githubusercontent.com/u/651467?v=3","gravatar_id":"","url":"https://api.github.com/users/splunk","html_url":"https://github.com/splunk","followers_url":"https://api.github.com/users/splunk/followers","following_url":"https://api.github.com/users/splunk/following{/other_user}","gists_url":"https://api.github.com/users/splunk/gists{/gist_id}","starred_url":"https://api.github.com/users/splunk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/splunk/subscriptions","organizations_url":"https://api.github.com/users/splunk/orgs","repos_url":"https://api.github.com/users/splunk/repos","events_url":"https://api.github.com/users/splunk/events{/privacy}","received_events_url":"https://api.github.com/users/splunk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/splunk/splunk-sdk-python","description":"Splunk Software Development Kit for Python","fork":false,"url":"https://api.github.com/repos/splunk/splunk-sdk-python","forks_url":"https://api.github.com/repos/splunk/splunk-sdk-python/forks","keys_url":"https://api.github.com/repos/splunk/splunk-sdk-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/splunk/splunk-sdk-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/splunk/splunk-sdk-python/teams","hooks_url":"https://api.github.com/repos/splunk/splunk-sdk-python/hooks","issue_events_url":"https://api.github.com/repos/splunk/splunk-sdk-python/issues/events{/number}","events_url":"https://api.github.com/repos/splunk/splunk-sdk-python/events","assignees_url":"https://api.github.com/repos/splunk/splunk-sdk-python/assignees{/user}","branches_url":"https://api.github.com/repos/splunk/splunk-sdk-python/branches{/branch}","tags_url":"https://api.github.com/repos/splunk/splunk-sdk-python/tags","blobs_url":"https://api.github.com/repos/splunk/splunk-sdk-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/splunk/splunk-sdk-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/splunk/splunk-sdk-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/splunk/splunk-sdk-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/splunk/splunk-sdk-python/statuses/{sha}","languages_url":"https://api.github.com/repos/splunk/splunk-sdk-python/languages","stargazers_url":"https://api.github.com/repos/splunk/splunk-sdk-python/stargazers","contributors_url":"https://api.github.com/repos/splunk/splunk-sdk-python/contributors","subscribers_url":"https://api.github.com/repos/splunk/splunk-sdk-python/subscribers","subscription_url":"https://api.github.com/repos/splunk/splunk-sdk-python/subscription","commits_url":"https://api.github.com/repos/splunk/splunk-sdk-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/splunk/splunk-sdk-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/splunk/splunk-sdk-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/splunk/splunk-sdk-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/splunk/splunk-sdk-python/contents/{+path}","compare_url":"https://api.github.com/repos/splunk/splunk-sdk-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/splunk/splunk-sdk-python/merges","archive_url":"https://api.github.com/repos/splunk/splunk-sdk-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/splunk/splunk-sdk-python/downloads","issues_url":"https://api.github.com/repos/splunk/splunk-sdk-python/issues{/number}","pulls_url":"https://api.github.com/repos/splunk/splunk-sdk-python/pulls{/number}","milestones_url":"https://api.github.com/repos/splunk/splunk-sdk-python/milestones{/number}","notifications_url":"https://api.github.com/repos/splunk/splunk-sdk-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/splunk/splunk-sdk-python/labels{/name}","releases_url":"https://api.github.com/repos/splunk/splunk-sdk-python/releases{/id}","deployments_url":"https://api.github.com/repos/splunk/splunk-sdk-python/deployments","created_at":"2011-03-20T23:20:06Z","updated_at":"2016-10-30T17:54:47Z","pushed_at":"2016-11-02T00:38:14Z","git_url":"git://github.com/splunk/splunk-sdk-python.git","ssh_url":"git@github.com:splunk/splunk-sdk-python.git","clone_url":"https://github.com/splunk/splunk-sdk-python.git","svn_url":"https://github.com/splunk/splunk-sdk-python","homepage":"http://dev.splunk.com","size":72187,"stargazers_count":214,"watchers_count":214,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":102,"mirror_url":null,"open_issues_count":21,"forks":102,"open_issues":21,"watchers":214,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/splunk/splunk-sdk-python/pulls/162"},"html":{"href":"https://github.com/splunk/splunk-sdk-python/pull/162"},"issue":{"href":"https://api.github.com/repos/splunk/splunk-sdk-python/issues/162"},"comments":{"href":"https://api.github.com/repos/splunk/splunk-sdk-python/issues/162/comments"},"review_comments":{"href":"https://api.github.com/repos/splunk/splunk-sdk-python/pulls/162/comments"},"review_comment":{"href":"https://api.github.com/repos/splunk/splunk-sdk-python/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/splunk/splunk-sdk-python/pulls/162/commits"},"statuses":{"href":"https://api.github.com/repos/splunk/splunk-sdk-python/statuses/78da140e8d6de13a84c8074b279de48880f50503"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":5,"changed_files":1}}
{"actor":{"display_login":"zhengyuli"}}