{"action":"opened","number":753,"pull_request":{"url":"https://api.github.com/repos/operator-framework/operator-sdk/pulls/753","id":231483536,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMxNDgzNTM2","html_url":"https://github.com/operator-framework/operator-sdk/pull/753","diff_url":"https://github.com/operator-framework/operator-sdk/pull/753.diff","patch_url":"https://github.com/operator-framework/operator-sdk/pull/753.patch","issue_url":"https://api.github.com/repos/operator-framework/operator-sdk/issues/753","number":753,"state":"open","locked":false,"title":"doc/proposals: Add operator specific metrics proposal","user":{"login":"LiliC","id":6232346,"node_id":"MDQ6VXNlcjYyMzIzNDY=","avatar_url":"https://avatars2.githubusercontent.com/u/6232346?v=4","gravatar_id":"","url":"https://api.github.com/users/LiliC","html_url":"https://github.com/LiliC","followers_url":"https://api.github.com/users/LiliC/followers","following_url":"https://api.github.com/users/LiliC/following{/other_user}","gists_url":"https://api.github.com/users/LiliC/gists{/gist_id}","starred_url":"https://api.github.com/users/LiliC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LiliC/subscriptions","organizations_url":"https://api.github.com/users/LiliC/orgs","repos_url":"https://api.github.com/users/LiliC/repos","events_url":"https://api.github.com/users/LiliC/events{/privacy}","received_events_url":"https://api.github.com/users/LiliC/received_events","type":"User","site_admin":false},"body":"**Motivation:**\r\n\r\nSee https://github.com/operator-framework/operator-sdk/issues/616 for background and initial discussion.\r\n\r\nThis is a working PR, with two proposals for us to decide on. I looked over all the options and I believe there are both valid and have their own drawbacks. Once we agree on an option, either kube-state-metrics or client_golang, I will reflect that in the PR by leaving the agreed upon option.\r\n\r\nI have created a working POC operator https://github.com/LiliC/operator-sdk-metric-example, it takes the kube-state-metrics as an example implemtation.\r\n\r\nFor a in depth explanation of kube-state-metrics I found this blog post useful. https://brancz.com/2017/11/13/kube-state-metrics-the-past-the-present-and-the-future/ \r\n","created_at":"2018-11-16T10:29:58Z","updated_at":"2018-11-16T10:29:59Z","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/operator-framework/operator-sdk/pulls/753/commits","review_comments_url":"https://api.github.com/repos/operator-framework/operator-sdk/pulls/753/comments","review_comment_url":"https://api.github.com/repos/operator-framework/operator-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/operator-framework/operator-sdk/issues/753/comments","statuses_url":"https://api.github.com/repos/operator-framework/operator-sdk/statuses/a5317757860b7818adc6245317fc72c72190ca76","head":{"label":"LiliC:lili/prop-crd-metrics","ref":"lili/prop-crd-metrics","sha":"a5317757860b7818adc6245317fc72c72190ca76","user":{"login":"LiliC","id":6232346,"node_id":"MDQ6VXNlcjYyMzIzNDY=","avatar_url":"https://avatars2.githubusercontent.com/u/6232346?v=4","gravatar_id":"","url":"https://api.github.com/users/LiliC","html_url":"https://github.com/LiliC","followers_url":"https://api.github.com/users/LiliC/followers","following_url":"https://api.github.com/users/LiliC/following{/other_user}","gists_url":"https://api.github.com/users/LiliC/gists{/gist_id}","starred_url":"https://api.github.com/users/LiliC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LiliC/subscriptions","organizations_url":"https://api.github.com/users/LiliC/orgs","repos_url":"https://api.github.com/users/LiliC/repos","events_url":"https://api.github.com/users/LiliC/events{/privacy}","received_events_url":"https://api.github.com/users/LiliC/received_events","type":"User","site_admin":false},"repo":{"id":149102652,"node_id":"MDEwOlJlcG9zaXRvcnkxNDkxMDI2NTI=","name":"operator-sdk","full_name":"LiliC/operator-sdk","private":false,"owner":{"login":"LiliC","id":6232346,"node_id":"MDQ6VXNlcjYyMzIzNDY=","avatar_url":"https://avatars2.githubusercontent.com/u/6232346?v=4","gravatar_id":"","url":"https://api.github.com/users/LiliC","html_url":"https://github.com/LiliC","followers_url":"https://api.github.com/users/LiliC/followers","following_url":"https://api.github.com/users/LiliC/following{/other_user}","gists_url":"https://api.github.com/users/LiliC/gists{/gist_id}","starred_url":"https://api.github.com/users/LiliC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LiliC/subscriptions","organizations_url":"https://api.github.com/users/LiliC/orgs","repos_url":"https://api.github.com/users/LiliC/repos","events_url":"https://api.github.com/users/LiliC/events{/privacy}","received_events_url":"https://api.github.com/users/LiliC/received_events","type":"User","site_admin":false},"html_url":"https://github.com/LiliC/operator-sdk","description":"SDK for building Kubernetes applications. Provides high level APIs, useful abstractions, and project scaffolding.","fork":true,"url":"https://api.github.com/repos/LiliC/operator-sdk","forks_url":"https://api.github.com/repos/LiliC/operator-sdk/forks","keys_url":"https://api.github.com/repos/LiliC/operator-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LiliC/operator-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LiliC/operator-sdk/teams","hooks_url":"https://api.github.com/repos/LiliC/operator-sdk/hooks","issue_events_url":"https://api.github.com/repos/LiliC/operator-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/LiliC/operator-sdk/events","assignees_url":"https://api.github.com/repos/LiliC/operator-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/LiliC/operator-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/LiliC/operator-sdk/tags","blobs_url":"https://api.github.com/repos/LiliC/operator-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LiliC/operator-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LiliC/operator-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/LiliC/operator-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LiliC/operator-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/LiliC/operator-sdk/languages","stargazers_url":"https://api.github.com/repos/LiliC/operator-sdk/stargazers","contributors_url":"https://api.github.com/repos/LiliC/operator-sdk/contributors","subscribers_url":"https://api.github.com/repos/LiliC/operator-sdk/subscribers","subscription_url":"https://api.github.com/repos/LiliC/operator-sdk/subscription","commits_url":"https://api.github.com/repos/LiliC/operator-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/LiliC/operator-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/LiliC/operator-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/LiliC/operator-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/LiliC/operator-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/LiliC/operator-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LiliC/operator-sdk/merges","archive_url":"https://api.github.com/repos/LiliC/operator-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LiliC/operator-sdk/downloads","issues_url":"https://api.github.com/repos/LiliC/operator-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/LiliC/operator-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/LiliC/operator-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/LiliC/operator-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LiliC/operator-sdk/labels{/name}","releases_url":"https://api.github.com/repos/LiliC/operator-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/LiliC/operator-sdk/deployments","created_at":"2018-09-17T09:39:45Z","updated_at":"2018-09-28T09:06:52Z","pushed_at":"2018-11-16T10:11:17Z","git_url":"git://github.com/LiliC/operator-sdk.git","ssh_url":"git@github.com:LiliC/operator-sdk.git","clone_url":"https://github.com/LiliC/operator-sdk.git","svn_url":"https://github.com/LiliC/operator-sdk","homepage":"https://coreos.com/operators","size":12336,"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":{"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":"operator-framework:master","ref":"master","sha":"8412ccb47e4c7e14a5634e563e38e6bc05faa434","user":{"login":"operator-framework","id":38202270,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4MjAyMjcw","avatar_url":"https://avatars0.githubusercontent.com/u/38202270?v=4","gravatar_id":"","url":"https://api.github.com/users/operator-framework","html_url":"https://github.com/operator-framework","followers_url":"https://api.github.com/users/operator-framework/followers","following_url":"https://api.github.com/users/operator-framework/following{/other_user}","gists_url":"https://api.github.com/users/operator-framework/gists{/gist_id}","starred_url":"https://api.github.com/users/operator-framework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/operator-framework/subscriptions","organizations_url":"https://api.github.com/users/operator-framework/orgs","repos_url":"https://api.github.com/users/operator-framework/repos","events_url":"https://api.github.com/users/operator-framework/events{/privacy}","received_events_url":"https://api.github.com/users/operator-framework/received_events","type":"Organization","site_admin":false},"repo":{"id":120650407,"node_id":"MDEwOlJlcG9zaXRvcnkxMjA2NTA0MDc=","name":"operator-sdk","full_name":"operator-framework/operator-sdk","private":false,"owner":{"login":"operator-framework","id":38202270,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4MjAyMjcw","avatar_url":"https://avatars0.githubusercontent.com/u/38202270?v=4","gravatar_id":"","url":"https://api.github.com/users/operator-framework","html_url":"https://github.com/operator-framework","followers_url":"https://api.github.com/users/operator-framework/followers","following_url":"https://api.github.com/users/operator-framework/following{/other_user}","gists_url":"https://api.github.com/users/operator-framework/gists{/gist_id}","starred_url":"https://api.github.com/users/operator-framework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/operator-framework/subscriptions","organizations_url":"https://api.github.com/users/operator-framework/orgs","repos_url":"https://api.github.com/users/operator-framework/repos","events_url":"https://api.github.com/users/operator-framework/events{/privacy}","received_events_url":"https://api.github.com/users/operator-framework/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/operator-framework/operator-sdk","description":"SDK for building Kubernetes applications. Provides high level APIs, useful abstractions, and project scaffolding.","fork":false,"url":"https://api.github.com/repos/operator-framework/operator-sdk","forks_url":"https://api.github.com/repos/operator-framework/operator-sdk/forks","keys_url":"https://api.github.com/repos/operator-framework/operator-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/operator-framework/operator-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/operator-framework/operator-sdk/teams","hooks_url":"https://api.github.com/repos/operator-framework/operator-sdk/hooks","issue_events_url":"https://api.github.com/repos/operator-framework/operator-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/operator-framework/operator-sdk/events","assignees_url":"https://api.github.com/repos/operator-framework/operator-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/operator-framework/operator-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/operator-framework/operator-sdk/tags","blobs_url":"https://api.github.com/repos/operator-framework/operator-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/operator-framework/operator-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/operator-framework/operator-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/operator-framework/operator-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/operator-framework/operator-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/operator-framework/operator-sdk/languages","stargazers_url":"https://api.github.com/repos/operator-framework/operator-sdk/stargazers","contributors_url":"https://api.github.com/repos/operator-framework/operator-sdk/contributors","subscribers_url":"https://api.github.com/repos/operator-framework/operator-sdk/subscribers","subscription_url":"https://api.github.com/repos/operator-framework/operator-sdk/subscription","commits_url":"https://api.github.com/repos/operator-framework/operator-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/operator-framework/operator-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/operator-framework/operator-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/operator-framework/operator-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/operator-framework/operator-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/operator-framework/operator-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/operator-framework/operator-sdk/merges","archive_url":"https://api.github.com/repos/operator-framework/operator-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/operator-framework/operator-sdk/downloads","issues_url":"https://api.github.com/repos/operator-framework/operator-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/operator-framework/operator-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/operator-framework/operator-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/operator-framework/operator-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/operator-framework/operator-sdk/labels{/name}","releases_url":"https://api.github.com/repos/operator-framework/operator-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/operator-framework/operator-sdk/deployments","created_at":"2018-02-07T17:53:51Z","updated_at":"2018-11-16T07:48:47Z","pushed_at":"2018-11-15T22:44:10Z","git_url":"git://github.com/operator-framework/operator-sdk.git","ssh_url":"git@github.com:operator-framework/operator-sdk.git","clone_url":"https://github.com/operator-framework/operator-sdk.git","svn_url":"https://github.com/operator-framework/operator-sdk","homepage":"https://coreos.com/operators","size":12359,"stargazers_count":978,"watchers_count":978,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":190,"mirror_url":null,"archived":false,"open_issues_count":106,"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":190,"open_issues":106,"watchers":978,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/operator-framework/operator-sdk/pulls/753"},"html":{"href":"https://github.com/operator-framework/operator-sdk/pull/753"},"issue":{"href":"https://api.github.com/repos/operator-framework/operator-sdk/issues/753"},"comments":{"href":"https://api.github.com/repos/operator-framework/operator-sdk/issues/753/comments"},"review_comments":{"href":"https://api.github.com/repos/operator-framework/operator-sdk/pulls/753/comments"},"review_comment":{"href":"https://api.github.com/repos/operator-framework/operator-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/operator-framework/operator-sdk/pulls/753/commits"},"statuses":{"href":"https://api.github.com/repos/operator-framework/operator-sdk/statuses/a5317757860b7818adc6245317fc72c72190ca76"}},"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":99,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"LiliC"}}