{"action":"closed","number":6,"pull_request":{"url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/pulls/6","id":209446166,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5NDQ2MTY2","html_url":"https://github.com/orange-cloudfoundry/prometheus-boshrelease/pull/6","diff_url":"https://github.com/orange-cloudfoundry/prometheus-boshrelease/pull/6.diff","patch_url":"https://github.com/orange-cloudfoundry/prometheus-boshrelease/pull/6.patch","issue_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/issues/6","number":6,"state":"closed","locked":false,"title":"[INTERNAL] Add credhub exporter","user":{"login":"psycofdj","id":1496191,"node_id":"MDQ6VXNlcjE0OTYxOTE=","avatar_url":"https://avatars1.githubusercontent.com/u/1496191?v=4","gravatar_id":"","url":"https://api.github.com/users/psycofdj","html_url":"https://github.com/psycofdj","followers_url":"https://api.github.com/users/psycofdj/followers","following_url":"https://api.github.com/users/psycofdj/following{/other_user}","gists_url":"https://api.github.com/users/psycofdj/gists{/gist_id}","starred_url":"https://api.github.com/users/psycofdj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psycofdj/subscriptions","organizations_url":"https://api.github.com/users/psycofdj/orgs","repos_url":"https://api.github.com/users/psycofdj/repos","events_url":"https://api.github.com/users/psycofdj/events{/privacy}","received_events_url":"https://api.github.com/users/psycofdj/received_events","type":"User","site_admin":false},"body":"This is an Orange internal PR to prepare an upsteam PR to [bosh-prometheus/prometheus-boshrelease](https://github.com/bosh-prometheus/prometheus-boshrelease).\r\n\r\nThe text below aims at being included in the upstream PR\r\n\r\n-----\r\nThis PR integrates a new exporter for monitoring some content of a [credhub](https://github.com/cloudfoundry-incubator/credhub) server, specifically creation dates of credentials and expiration of certificates (it does not yet provide metrics about the credhub server health such as error rates, response times, or total number of entries).\r\n\r\nThis PR includes an associated dashboard and alerts that triggers when certificates are close to expiration.\r\n\r\nWe'd be happy to transfer ownership of the [orange-cloudfoundry/credhub_exporter](https://github.com/orange-cloudfoundry/credhub_exporter) to the https://github.com/bosh-prometheus/ organization if this makes more sense for the community to contribute maintenance.\r\n\r\nRelates to https://github.com/orange-cloudfoundry/paas-templates/issues/84","created_at":"2018-08-20T08:27:34Z","updated_at":"2018-08-22T15:54:59Z","closed_at":"2018-08-22T15:54:59Z","merged_at":"2018-08-22T15:54:58Z","merge_commit_sha":"3f9022e91f4b41df84173d89a7242a2d0e0ae5ae","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/pulls/6/commits","review_comments_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/pulls/6/comments","review_comment_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/pulls/comments{/number}","comments_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/issues/6/comments","statuses_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/statuses/aabf8ca27b09c39ecda6fd71fa6cfb47b3e5fbcb","head":{"label":"orange-cloudfoundry:add-credhub-exporter","ref":"add-credhub-exporter","sha":"aabf8ca27b09c39ecda6fd71fa6cfb47b3e5fbcb","user":{"login":"orange-cloudfoundry","id":6417290,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY0MTcyOTA=","avatar_url":"https://avatars1.githubusercontent.com/u/6417290?v=4","gravatar_id":"","url":"https://api.github.com/users/orange-cloudfoundry","html_url":"https://github.com/orange-cloudfoundry","followers_url":"https://api.github.com/users/orange-cloudfoundry/followers","following_url":"https://api.github.com/users/orange-cloudfoundry/following{/other_user}","gists_url":"https://api.github.com/users/orange-cloudfoundry/gists{/gist_id}","starred_url":"https://api.github.com/users/orange-cloudfoundry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orange-cloudfoundry/subscriptions","organizations_url":"https://api.github.com/users/orange-cloudfoundry/orgs","repos_url":"https://api.github.com/users/orange-cloudfoundry/repos","events_url":"https://api.github.com/users/orange-cloudfoundry/events{/privacy}","received_events_url":"https://api.github.com/users/orange-cloudfoundry/received_events","type":"Organization","site_admin":false},"repo":{"id":71341799,"node_id":"MDEwOlJlcG9zaXRvcnk3MTM0MTc5OQ==","name":"prometheus-boshrelease","full_name":"orange-cloudfoundry/prometheus-boshrelease","owner":{"login":"orange-cloudfoundry","id":6417290,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY0MTcyOTA=","avatar_url":"https://avatars1.githubusercontent.com/u/6417290?v=4","gravatar_id":"","url":"https://api.github.com/users/orange-cloudfoundry","html_url":"https://github.com/orange-cloudfoundry","followers_url":"https://api.github.com/users/orange-cloudfoundry/followers","following_url":"https://api.github.com/users/orange-cloudfoundry/following{/other_user}","gists_url":"https://api.github.com/users/orange-cloudfoundry/gists{/gist_id}","starred_url":"https://api.github.com/users/orange-cloudfoundry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orange-cloudfoundry/subscriptions","organizations_url":"https://api.github.com/users/orange-cloudfoundry/orgs","repos_url":"https://api.github.com/users/orange-cloudfoundry/repos","events_url":"https://api.github.com/users/orange-cloudfoundry/events{/privacy}","received_events_url":"https://api.github.com/users/orange-cloudfoundry/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/orange-cloudfoundry/prometheus-boshrelease","description":"Prometheus BOSH Release","fork":true,"url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease","forks_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/forks","keys_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/keys{/key_id}","collaborators_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/teams","hooks_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/hooks","issue_events_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/issues/events{/number}","events_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/events","assignees_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/assignees{/user}","branches_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/branches{/branch}","tags_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/tags","blobs_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/git/refs{/sha}","trees_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/git/trees{/sha}","statuses_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/statuses/{sha}","languages_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/languages","stargazers_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/stargazers","contributors_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/contributors","subscribers_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/subscribers","subscription_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/subscription","commits_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/commits{/sha}","git_commits_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/git/commits{/sha}","comments_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/comments{/number}","issue_comment_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/issues/comments{/number}","contents_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/contents/{+path}","compare_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/compare/{base}...{head}","merges_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/merges","archive_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/downloads","issues_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/issues{/number}","pulls_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/pulls{/number}","milestones_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/milestones{/number}","notifications_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/labels{/name}","releases_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/releases{/id}","deployments_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/deployments","created_at":"2016-10-19T09:38:44Z","updated_at":"2018-08-20T08:27:21Z","pushed_at":"2018-08-22T15:54:58Z","git_url":"git://github.com/orange-cloudfoundry/prometheus-boshrelease.git","ssh_url":"git@github.com:orange-cloudfoundry/prometheus-boshrelease.git","clone_url":"https://github.com/orange-cloudfoundry/prometheus-boshrelease.git","svn_url":"https://github.com/orange-cloudfoundry/prometheus-boshrelease","homepage":"","size":2173,"stargazers_count":1,"watchers_count":1,"language":"Shell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"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":3,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"orange-cloudfoundry:master","ref":"master","sha":"1aa3247204e5c27255acba469e29d632de5257bc","user":{"login":"orange-cloudfoundry","id":6417290,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY0MTcyOTA=","avatar_url":"https://avatars1.githubusercontent.com/u/6417290?v=4","gravatar_id":"","url":"https://api.github.com/users/orange-cloudfoundry","html_url":"https://github.com/orange-cloudfoundry","followers_url":"https://api.github.com/users/orange-cloudfoundry/followers","following_url":"https://api.github.com/users/orange-cloudfoundry/following{/other_user}","gists_url":"https://api.github.com/users/orange-cloudfoundry/gists{/gist_id}","starred_url":"https://api.github.com/users/orange-cloudfoundry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orange-cloudfoundry/subscriptions","organizations_url":"https://api.github.com/users/orange-cloudfoundry/orgs","repos_url":"https://api.github.com/users/orange-cloudfoundry/repos","events_url":"https://api.github.com/users/orange-cloudfoundry/events{/privacy}","received_events_url":"https://api.github.com/users/orange-cloudfoundry/received_events","type":"Organization","site_admin":false},"repo":{"id":71341799,"node_id":"MDEwOlJlcG9zaXRvcnk3MTM0MTc5OQ==","name":"prometheus-boshrelease","full_name":"orange-cloudfoundry/prometheus-boshrelease","owner":{"login":"orange-cloudfoundry","id":6417290,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY0MTcyOTA=","avatar_url":"https://avatars1.githubusercontent.com/u/6417290?v=4","gravatar_id":"","url":"https://api.github.com/users/orange-cloudfoundry","html_url":"https://github.com/orange-cloudfoundry","followers_url":"https://api.github.com/users/orange-cloudfoundry/followers","following_url":"https://api.github.com/users/orange-cloudfoundry/following{/other_user}","gists_url":"https://api.github.com/users/orange-cloudfoundry/gists{/gist_id}","starred_url":"https://api.github.com/users/orange-cloudfoundry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orange-cloudfoundry/subscriptions","organizations_url":"https://api.github.com/users/orange-cloudfoundry/orgs","repos_url":"https://api.github.com/users/orange-cloudfoundry/repos","events_url":"https://api.github.com/users/orange-cloudfoundry/events{/privacy}","received_events_url":"https://api.github.com/users/orange-cloudfoundry/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/orange-cloudfoundry/prometheus-boshrelease","description":"Prometheus BOSH Release","fork":true,"url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease","forks_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/forks","keys_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/keys{/key_id}","collaborators_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/teams","hooks_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/hooks","issue_events_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/issues/events{/number}","events_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/events","assignees_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/assignees{/user}","branches_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/branches{/branch}","tags_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/tags","blobs_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/git/refs{/sha}","trees_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/git/trees{/sha}","statuses_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/statuses/{sha}","languages_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/languages","stargazers_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/stargazers","contributors_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/contributors","subscribers_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/subscribers","subscription_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/subscription","commits_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/commits{/sha}","git_commits_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/git/commits{/sha}","comments_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/comments{/number}","issue_comment_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/issues/comments{/number}","contents_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/contents/{+path}","compare_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/compare/{base}...{head}","merges_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/merges","archive_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/downloads","issues_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/issues{/number}","pulls_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/pulls{/number}","milestones_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/milestones{/number}","notifications_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/labels{/name}","releases_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/releases{/id}","deployments_url":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/deployments","created_at":"2016-10-19T09:38:44Z","updated_at":"2018-08-20T08:27:21Z","pushed_at":"2018-08-22T15:54:58Z","git_url":"git://github.com/orange-cloudfoundry/prometheus-boshrelease.git","ssh_url":"git@github.com:orange-cloudfoundry/prometheus-boshrelease.git","clone_url":"https://github.com/orange-cloudfoundry/prometheus-boshrelease.git","svn_url":"https://github.com/orange-cloudfoundry/prometheus-boshrelease","homepage":"","size":2173,"stargazers_count":1,"watchers_count":1,"language":"Shell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"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":3,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/pulls/6"},"html":{"href":"https://github.com/orange-cloudfoundry/prometheus-boshrelease/pull/6"},"issue":{"href":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/issues/6"},"comments":{"href":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/orange-cloudfoundry/prometheus-boshrelease/statuses/aabf8ca27b09c39ecda6fd71fa6cfb47b3e5fbcb"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"psycofdj","id":1496191,"node_id":"MDQ6VXNlcjE0OTYxOTE=","avatar_url":"https://avatars1.githubusercontent.com/u/1496191?v=4","gravatar_id":"","url":"https://api.github.com/users/psycofdj","html_url":"https://github.com/psycofdj","followers_url":"https://api.github.com/users/psycofdj/followers","following_url":"https://api.github.com/users/psycofdj/following{/other_user}","gists_url":"https://api.github.com/users/psycofdj/gists{/gist_id}","starred_url":"https://api.github.com/users/psycofdj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psycofdj/subscriptions","organizations_url":"https://api.github.com/users/psycofdj/orgs","repos_url":"https://api.github.com/users/psycofdj/repos","events_url":"https://api.github.com/users/psycofdj/events{/privacy}","received_events_url":"https://api.github.com/users/psycofdj/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":8,"additions":334,"deletions":1,"changed_files":15}}
{"actor":{"display_login":"psycofdj"}}