payload: {"action":"opened","number":2893,"pull_request":{"url":"https://api.github.com/repos/coreos/prometheus-operator/pulls/2893","id":348199489,"node_id":"MDExOlB1bGxSZXF1ZXN0MzQ4MTk5NDg5","html_url":"https://github.com/coreos/prometheus-operator/pull/2893","diff_url":"https://github.com/coreos/prometheus-operator/pull/2893.diff","patch_url":"https://github.com/coreos/prometheus-operator/pull/2893.patch","issue_url":"https://api.github.com/repos/coreos/prometheus-operator/issues/2893","number":2893,"state":"open","locked":false,"title":"*: instrument operator's list operations","user":{"login":"simonpasquier","id":2587585,"node_id":"MDQ6VXNlcjI1ODc1ODU=","avatar_url":"https://avatars1.githubusercontent.com/u/2587585?v=4","gravatar_id":"","url":"https://api.github.com/users/simonpasquier","html_url":"https://github.com/simonpasquier","followers_url":"https://api.github.com/users/simonpasquier/followers","following_url":"https://api.github.com/users/simonpasquier/following{/other_user}","gists_url":"https://api.github.com/users/simonpasquier/gists{/gist_id}","starred_url":"https://api.github.com/users/simonpasquier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonpasquier/subscriptions","organizations_url":"https://api.github.com/users/simonpasquier/orgs","repos_url":"https://api.github.com/users/simonpasquier/repos","events_url":"https://api.github.com/users/simonpasquier/events{/privacy}","received_events_url":"https://api.github.com/users/simonpasquier/received_events","type":"User","site_admin":false},"body":"Related to #2727 \r\n\r\nThere's no way to detect that the operator fails to list resouces. This PR adds metrics on which we could alert.","created_at":"2019-12-03T08:49:16Z","updated_at":"2019-12-03T08:49:16Z","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/coreos/prometheus-operator/pulls/2893/commits","review_comments_url":"https://api.github.com/repos/coreos/prometheus-operator/pulls/2893/comments","review_comment_url":"https://api.github.com/repos/coreos/prometheus-operator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coreos/prometheus-operator/issues/2893/comments","statuses_url":"https://api.github.com/repos/coreos/prometheus-operator/statuses/64fe8de535e89650f87b50c24660f495e160cee6","head":{"label":"simonpasquier:add-list-metrics","ref":"add-list-metrics","sha":"64fe8de535e89650f87b50c24660f495e160cee6","user":{"login":"simonpasquier","id":2587585,"node_id":"MDQ6VXNlcjI1ODc1ODU=","avatar_url":"https://avatars1.githubusercontent.com/u/2587585?v=4","gravatar_id":"","url":"https://api.github.com/users/simonpasquier","html_url":"https://github.com/simonpasquier","followers_url":"https://api.github.com/users/simonpasquier/followers","following_url":"https://api.github.com/users/simonpasquier/following{/other_user}","gists_url":"https://api.github.com/users/simonpasquier/gists{/gist_id}","starred_url":"https://api.github.com/users/simonpasquier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonpasquier/subscriptions","organizations_url":"https://api.github.com/users/simonpasquier/orgs","repos_url":"https://api.github.com/users/simonpasquier/repos","events_url":"https://api.github.com/users/simonpasquier/events{/privacy}","received_events_url":"https://api.github.com/users/simonpasquier/received_events","type":"User","site_admin":false},"repo":{"id":136613292,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY2MTMyOTI=","name":"prometheus-operator","full_name":"simonpasquier/prometheus-operator","private":false,"owner":{"login":"simonpasquier","id":2587585,"node_id":"MDQ6VXNlcjI1ODc1ODU=","avatar_url":"https://avatars1.githubusercontent.com/u/2587585?v=4","gravatar_id":"","url":"https://api.github.com/users/simonpasquier","html_url":"https://github.com/simonpasquier","followers_url":"https://api.github.com/users/simonpasquier/followers","following_url":"https://api.github.com/users/simonpasquier/following{/other_user}","gists_url":"https://api.github.com/users/simonpasquier/gists{/gist_id}","starred_url":"https://api.github.com/users/simonpasquier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonpasquier/subscriptions","organizations_url":"https://api.github.com/users/simonpasquier/orgs","repos_url":"https://api.github.com/users/simonpasquier/repos","events_url":"https://api.github.com/users/simonpasquier/events{/privacy}","received_events_url":"https://api.github.com/users/simonpasquier/received_events","type":"User","site_admin":false},"html_url":"https://github.com/simonpasquier/prometheus-operator","description":"Prometheus Operator creates/configures/manages Prometheus clusters atop Kubernetes","fork":true,"url":"https://api.github.com/repos/simonpasquier/prometheus-operator","forks_url":"https://api.github.com/repos/simonpasquier/prometheus-operator/forks","keys_url":"https://api.github.com/repos/simonpasquier/prometheus-operator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/simonpasquier/prometheus-operator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/simonpasquier/prometheus-operator/teams","hooks_url":"https://api.github.com/repos/simonpasquier/prometheus-operator/hooks","issue_events_url":"https://api.github.com/repos/simonpasquier/prometheus-operator/issues/events{/number}","events_url":"https://api.github.com/repos/simonpasquier/prometheus-operator/events","assignees_url":"https://api.github.com/repos/simonpasquier/prometheus-operator/assignees{/user}","branches_url":"https://api.github.com/repos/simonpasquier/prometheus-operator/branches{/branch}","tags_url":"https://api.github.com/repos/simonpasquier/prometheus-operator/tags","blobs_url":"https://api.github.com/repos/simonpasquier/prometheus-operator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/simonpasquier/prometheus-operator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/simonpasquier/prometheus-operator/git/refs{/sha}","trees_url":"https://api.github.com/repos/simonpasquier/prometheus-operator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/simonpasquier/prometheus-operator/statuses/{sha}","languages_url":"https://api.github.com/repos/simonpasquier/prometheus-operator/languages","stargazers_url":"https://api.github.com/repos/simonpasquier/prometheus-operator/stargazers","contributors_url":"https://api.github.com/repos/simonpasquier/prometheus-operator/contributors","subscribers_url":"https://api.github.com/repos/simonpasquier/prometheus-operator/subscribers","subscription_url":"https://api.github.com/repos/simonpasquier/prometheus-operator/subscription","commits_url":"https://api.github.com/repos/simonpasquier/prometheus-operator/commits{/sha}","git_commits_url":"https://api.github.com/repos/simonpasquier/prometheus-operator/git/commits{/sha}","comments_url":"https://api.github.com/repos/simonpasquier/prometheus-operator/comments{/number}","issue_comment_url":"https://api.github.com/repos/simonpasquier/prometheus-operator/issues/comments{/number}","contents_url":"https://api.github.com/repos/simonpasquier/prometheus-operator/contents/{+path}","compare_url":"https://api.github.com/repos/simonpasquier/prometheus-operator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/simonpasquier/prometheus-operator/merges","archive_url":"https://api.github.com/repos/simonpasquier/prometheus-operator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/simonpasquier/prometheus-operator/downloads","issues_url":"https://api.github.com/repos/simonpasquier/prometheus-operator/issues{/number}","pulls_url":"https://api.github.com/repos/simonpasquier/prometheus-operator/pulls{/number}","milestones_url":"https://api.github.com/repos/simonpasquier/prometheus-operator/milestones{/number}","notifications_url":"https://api.github.com/repos/simonpasquier/prometheus-operator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/simonpasquier/prometheus-operator/labels{/name}","releases_url":"https://api.github.com/repos/simonpasquier/prometheus-operator/releases{/id}","deployments_url":"https://api.github.com/repos/simonpasquier/prometheus-operator/deployments","created_at":"2018-06-08T12:00:19Z","updated_at":"2018-06-08T12:00:22Z","pushed_at":"2019-12-02T10:04:59Z","git_url":"git://github.com/simonpasquier/prometheus-operator.git","ssh_url":"git@github.com:simonpasquier/prometheus-operator.git","clone_url":"https://github.com/simonpasquier/prometheus-operator.git","svn_url":"https://github.com/simonpasquier/prometheus-operator","homepage":"https://coreos.com/operators/prometheus","size":63133,"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,"disabled":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"coreos:master","ref":"master","sha":"53cee6376f5f7c45a2ff8a15a60dd342eb662ddc","user":{"login":"coreos","id":3730757,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3MzA3NTc=","avatar_url":"https://avatars3.githubusercontent.com/u/3730757?v=4","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"repo":{"id":68964263,"node_id":"MDEwOlJlcG9zaXRvcnk2ODk2NDI2Mw==","name":"prometheus-operator","full_name":"coreos/prometheus-operator","private":false,"owner":{"login":"coreos","id":3730757,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3MzA3NTc=","avatar_url":"https://avatars3.githubusercontent.com/u/3730757?v=4","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/coreos/prometheus-operator","description":"Prometheus Operator creates/configures/manages Prometheus clusters atop Kubernetes","fork":false,"url":"https://api.github.com/repos/coreos/prometheus-operator","forks_url":"https://api.github.com/repos/coreos/prometheus-operator/forks","keys_url":"https://api.github.com/repos/coreos/prometheus-operator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coreos/prometheus-operator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coreos/prometheus-operator/teams","hooks_url":"https://api.github.com/repos/coreos/prometheus-operator/hooks","issue_events_url":"https://api.github.com/repos/coreos/prometheus-operator/issues/events{/number}","events_url":"https://api.github.com/repos/coreos/prometheus-operator/events","assignees_url":"https://api.github.com/repos/coreos/prometheus-operator/assignees{/user}","branches_url":"https://api.github.com/repos/coreos/prometheus-operator/branches{/branch}","tags_url":"https://api.github.com/repos/coreos/prometheus-operator/tags","blobs_url":"https://api.github.com/repos/coreos/prometheus-operator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coreos/prometheus-operator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coreos/prometheus-operator/git/refs{/sha}","trees_url":"https://api.github.com/repos/coreos/prometheus-operator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coreos/prometheus-operator/statuses/{sha}","languages_url":"https://api.github.com/repos/coreos/prometheus-operator/languages","stargazers_url":"https://api.github.com/repos/coreos/prometheus-operator/stargazers","contributors_url":"https://api.github.com/repos/coreos/prometheus-operator/contributors","subscribers_url":"https://api.github.com/repos/coreos/prometheus-operator/subscribers","subscription_url":"https://api.github.com/repos/coreos/prometheus-operator/subscription","commits_url":"https://api.github.com/repos/coreos/prometheus-operator/commits{/sha}","git_commits_url":"https://api.github.com/repos/coreos/prometheus-operator/git/commits{/sha}","comments_url":"https://api.github.com/repos/coreos/prometheus-operator/comments{/number}","issue_comment_url":"https://api.github.com/repos/coreos/prometheus-operator/issues/comments{/number}","contents_url":"https://api.github.com/repos/coreos/prometheus-operator/contents/{+path}","compare_url":"https://api.github.com/repos/coreos/prometheus-operator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coreos/prometheus-operator/merges","archive_url":"https://api.github.com/repos/coreos/prometheus-operator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coreos/prometheus-operator/downloads","issues_url":"https://api.github.com/repos/coreos/prometheus-operator/issues{/number}","pulls_url":"https://api.github.com/repos/coreos/prometheus-operator/pulls{/number}","milestones_url":"https://api.github.com/repos/coreos/prometheus-operator/milestones{/number}","notifications_url":"https://api.github.com/repos/coreos/prometheus-operator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coreos/prometheus-operator/labels{/name}","releases_url":"https://api.github.com/repos/coreos/prometheus-operator/releases{/id}","deployments_url":"https://api.github.com/repos/coreos/prometheus-operator/deployments","created_at":"2016-09-22T21:38:06Z","updated_at":"2019-12-03T08:16:18Z","pushed_at":"2019-11-28T15:41:57Z","git_url":"git://github.com/coreos/prometheus-operator.git","ssh_url":"git@github.com:coreos/prometheus-operator.git","clone_url":"https://github.com/coreos/prometheus-operator.git","svn_url":"https://github.com/coreos/prometheus-operator","homepage":"","size":63078,"stargazers_count":3641,"watchers_count":3641,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1702,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":278,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":1702,"open_issues":278,"watchers":3641,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coreos/prometheus-operator/pulls/2893"},"html":{"href":"https://github.com/coreos/prometheus-operator/pull/2893"},"issue":{"href":"https://api.github.com/repos/coreos/prometheus-operator/issues/2893"},"comments":{"href":"https://api.github.com/repos/coreos/prometheus-operator/issues/2893/comments"},"review_comments":{"href":"https://api.github.com/repos/coreos/prometheus-operator/pulls/2893/comments"},"review_comment":{"href":"https://api.github.com/repos/coreos/prometheus-operator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coreos/prometheus-operator/pulls/2893/commits"},"statuses":{"href":"https://api.github.com/repos/coreos/prometheus-operator/statuses/64fe8de535e89650f87b50c24660f495e160cee6"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":242,"deletions":180,"changed_files":4}}
other: {"actor":{"display_login":"simonpasquier"}}