{"action":"opened","number":378,"pull_request":{"url":"https://api.github.com/repos/kubernetes/kube-state-metrics/pulls/378","id":171860672,"html_url":"https://github.com/kubernetes/kube-state-metrics/pull/378","diff_url":"https://github.com/kubernetes/kube-state-metrics/pull/378.diff","patch_url":"https://github.com/kubernetes/kube-state-metrics/pull/378.patch","issue_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/issues/378","number":378,"state":"open","locked":false,"title":"fix telemetry metrics values to 0 when not happen","user":{"login":"andyxning","id":2404712,"avatar_url":"https://avatars1.githubusercontent.com/u/2404712?v=4","gravatar_id":"","url":"https://api.github.com/users/andyxning","html_url":"https://github.com/andyxning","followers_url":"https://api.github.com/users/andyxning/followers","following_url":"https://api.github.com/users/andyxning/following{/other_user}","gists_url":"https://api.github.com/users/andyxning/gists{/gist_id}","starred_url":"https://api.github.com/users/andyxning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyxning/subscriptions","organizations_url":"https://api.github.com/users/andyxning/orgs","repos_url":"https://api.github.com/users/andyxning/repos","events_url":"https://api.github.com/users/andyxning/events{/privacy}","received_events_url":"https://api.github.com/users/andyxning/received_events","type":"User","site_admin":false},"body":"Fix #377 \r\n\r\n/cc @brancz \r\nPing @tomwilkie","created_at":"2018-02-28T05:37:22Z","updated_at":"2018-02-28T05:37:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/pulls/378/commits","review_comments_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/pulls/378/comments","review_comment_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/issues/378/comments","statuses_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/statuses/720e1f4783ee55f8ee42d7685a3b93b97b2e37c1","head":{"label":"andyxning:fix_telemetry_metrics_values_to_0_when_not_happen","ref":"fix_telemetry_metrics_values_to_0_when_not_happen","sha":"720e1f4783ee55f8ee42d7685a3b93b97b2e37c1","user":{"login":"andyxning","id":2404712,"avatar_url":"https://avatars1.githubusercontent.com/u/2404712?v=4","gravatar_id":"","url":"https://api.github.com/users/andyxning","html_url":"https://github.com/andyxning","followers_url":"https://api.github.com/users/andyxning/followers","following_url":"https://api.github.com/users/andyxning/following{/other_user}","gists_url":"https://api.github.com/users/andyxning/gists{/gist_id}","starred_url":"https://api.github.com/users/andyxning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyxning/subscriptions","organizations_url":"https://api.github.com/users/andyxning/orgs","repos_url":"https://api.github.com/users/andyxning/repos","events_url":"https://api.github.com/users/andyxning/events{/privacy}","received_events_url":"https://api.github.com/users/andyxning/received_events","type":"User","site_admin":false},"repo":{"id":81286219,"name":"kube-state-metrics","full_name":"andyxning/kube-state-metrics","owner":{"login":"andyxning","id":2404712,"avatar_url":"https://avatars1.githubusercontent.com/u/2404712?v=4","gravatar_id":"","url":"https://api.github.com/users/andyxning","html_url":"https://github.com/andyxning","followers_url":"https://api.github.com/users/andyxning/followers","following_url":"https://api.github.com/users/andyxning/following{/other_user}","gists_url":"https://api.github.com/users/andyxning/gists{/gist_id}","starred_url":"https://api.github.com/users/andyxning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyxning/subscriptions","organizations_url":"https://api.github.com/users/andyxning/orgs","repos_url":"https://api.github.com/users/andyxning/repos","events_url":"https://api.github.com/users/andyxning/events{/privacy}","received_events_url":"https://api.github.com/users/andyxning/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andyxning/kube-state-metrics","description":"Add-on agent to generate and expose cluster-level metrics.","fork":true,"url":"https://api.github.com/repos/andyxning/kube-state-metrics","forks_url":"https://api.github.com/repos/andyxning/kube-state-metrics/forks","keys_url":"https://api.github.com/repos/andyxning/kube-state-metrics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andyxning/kube-state-metrics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andyxning/kube-state-metrics/teams","hooks_url":"https://api.github.com/repos/andyxning/kube-state-metrics/hooks","issue_events_url":"https://api.github.com/repos/andyxning/kube-state-metrics/issues/events{/number}","events_url":"https://api.github.com/repos/andyxning/kube-state-metrics/events","assignees_url":"https://api.github.com/repos/andyxning/kube-state-metrics/assignees{/user}","branches_url":"https://api.github.com/repos/andyxning/kube-state-metrics/branches{/branch}","tags_url":"https://api.github.com/repos/andyxning/kube-state-metrics/tags","blobs_url":"https://api.github.com/repos/andyxning/kube-state-metrics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andyxning/kube-state-metrics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andyxning/kube-state-metrics/git/refs{/sha}","trees_url":"https://api.github.com/repos/andyxning/kube-state-metrics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andyxning/kube-state-metrics/statuses/{sha}","languages_url":"https://api.github.com/repos/andyxning/kube-state-metrics/languages","stargazers_url":"https://api.github.com/repos/andyxning/kube-state-metrics/stargazers","contributors_url":"https://api.github.com/repos/andyxning/kube-state-metrics/contributors","subscribers_url":"https://api.github.com/repos/andyxning/kube-state-metrics/subscribers","subscription_url":"https://api.github.com/repos/andyxning/kube-state-metrics/subscription","commits_url":"https://api.github.com/repos/andyxning/kube-state-metrics/commits{/sha}","git_commits_url":"https://api.github.com/repos/andyxning/kube-state-metrics/git/commits{/sha}","comments_url":"https://api.github.com/repos/andyxning/kube-state-metrics/comments{/number}","issue_comment_url":"https://api.github.com/repos/andyxning/kube-state-metrics/issues/comments{/number}","contents_url":"https://api.github.com/repos/andyxning/kube-state-metrics/contents/{+path}","compare_url":"https://api.github.com/repos/andyxning/kube-state-metrics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andyxning/kube-state-metrics/merges","archive_url":"https://api.github.com/repos/andyxning/kube-state-metrics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andyxning/kube-state-metrics/downloads","issues_url":"https://api.github.com/repos/andyxning/kube-state-metrics/issues{/number}","pulls_url":"https://api.github.com/repos/andyxning/kube-state-metrics/pulls{/number}","milestones_url":"https://api.github.com/repos/andyxning/kube-state-metrics/milestones{/number}","notifications_url":"https://api.github.com/repos/andyxning/kube-state-metrics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andyxning/kube-state-metrics/labels{/name}","releases_url":"https://api.github.com/repos/andyxning/kube-state-metrics/releases{/id}","deployments_url":"https://api.github.com/repos/andyxning/kube-state-metrics/deployments","created_at":"2017-02-08T04:07:55Z","updated_at":"2017-02-08T04:07:57Z","pushed_at":"2018-02-28T05:33:39Z","git_url":"git://github.com/andyxning/kube-state-metrics.git","ssh_url":"git@github.com:andyxning/kube-state-metrics.git","clone_url":"https://github.com/andyxning/kube-state-metrics.git","svn_url":"https://github.com/andyxning/kube-state-metrics","homepage":"","size":7561,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kubernetes:master","ref":"master","sha":"8a70a92f642e77c26f911419c64b4e0fb36227eb","user":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars2.githubusercontent.com/u/13629408?v=4","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"repo":{"id":58184885,"name":"kube-state-metrics","full_name":"kubernetes/kube-state-metrics","owner":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars2.githubusercontent.com/u/13629408?v=4","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kubernetes/kube-state-metrics","description":"Add-on agent to generate and expose cluster-level metrics.","fork":false,"url":"https://api.github.com/repos/kubernetes/kube-state-metrics","forks_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/forks","keys_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/teams","hooks_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/hooks","issue_events_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/issues/events{/number}","events_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/events","assignees_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/assignees{/user}","branches_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/branches{/branch}","tags_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/tags","blobs_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/git/refs{/sha}","trees_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/statuses/{sha}","languages_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/languages","stargazers_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/stargazers","contributors_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/contributors","subscribers_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/subscribers","subscription_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/subscription","commits_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/commits{/sha}","git_commits_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/git/commits{/sha}","comments_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/comments{/number}","issue_comment_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/issues/comments{/number}","contents_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/contents/{+path}","compare_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/merges","archive_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/downloads","issues_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/issues{/number}","pulls_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/pulls{/number}","milestones_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/milestones{/number}","notifications_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/labels{/name}","releases_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/releases{/id}","deployments_url":"https://api.github.com/repos/kubernetes/kube-state-metrics/deployments","created_at":"2016-05-06T06:10:13Z","updated_at":"2018-02-27T23:52:18Z","pushed_at":"2018-02-27T08:52:42Z","git_url":"git://github.com/kubernetes/kube-state-metrics.git","ssh_url":"git@github.com:kubernetes/kube-state-metrics.git","clone_url":"https://github.com/kubernetes/kube-state-metrics.git","svn_url":"https://github.com/kubernetes/kube-state-metrics","homepage":"","size":8702,"stargazers_count":535,"watchers_count":535,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":145,"mirror_url":null,"archived":false,"open_issues_count":37,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":145,"open_issues":37,"watchers":535,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubernetes/kube-state-metrics/pulls/378"},"html":{"href":"https://github.com/kubernetes/kube-state-metrics/pull/378"},"issue":{"href":"https://api.github.com/repos/kubernetes/kube-state-metrics/issues/378"},"comments":{"href":"https://api.github.com/repos/kubernetes/kube-state-metrics/issues/378/comments"},"review_comments":{"href":"https://api.github.com/repos/kubernetes/kube-state-metrics/pulls/378/comments"},"review_comment":{"href":"https://api.github.com/repos/kubernetes/kube-state-metrics/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubernetes/kube-state-metrics/pulls/378/commits"},"statuses":{"href":"https://api.github.com/repos/kubernetes/kube-state-metrics/statuses/720e1f4783ee55f8ee42d7685a3b93b97b2e37c1"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":17,"deletions":0,"changed_files":17}}
{"actor":{"display_login":"andyxning"}}