{"action":"closed","number":33,"pull_request":{"url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/pulls/33","id":166562470,"html_url":"https://github.com/aerogearcatalog/keycloak-apb/pull/33","diff_url":"https://github.com/aerogearcatalog/keycloak-apb/pull/33.diff","patch_url":"https://github.com/aerogearcatalog/keycloak-apb/pull/33.patch","issue_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/issues/33","number":33,"state":"closed","locked":false,"title":"Adds a Grafana dashboard for the metrics gathered in Prometheus","user":{"login":"josemigallas","id":11672286,"avatar_url":"https://avatars0.githubusercontent.com/u/11672286?v=4","gravatar_id":"","url":"https://api.github.com/users/josemigallas","html_url":"https://github.com/josemigallas","followers_url":"https://api.github.com/users/josemigallas/followers","following_url":"https://api.github.com/users/josemigallas/following{/other_user}","gists_url":"https://api.github.com/users/josemigallas/gists{/gist_id}","starred_url":"https://api.github.com/users/josemigallas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josemigallas/subscriptions","organizations_url":"https://api.github.com/users/josemigallas/orgs","repos_url":"https://api.github.com/users/josemigallas/repos","events_url":"https://api.github.com/users/josemigallas/events{/privacy}","received_events_url":"https://api.github.com/users/josemigallas/received_events","type":"User","site_admin":false},"body":"## Description\r\nAdds a fancy dashboard that will be displayed in Grafana, provided a metrics service is provisioned.\r\n\r\nJIRA: https://issues.jboss.org/browse/AEROGEAR-1938\r\n\r\n### Note\r\nPie Charts are not included in Grafana by default, they have to be installed as a plugin and unfortunately there's no straightforward way to do this.\r\n@darahayes has been investigating this and wrote a document with some suggestions.\r\n\r\nCurrently the only way is doing it from the pod itself and then restart it. In `grafana` terminal:\r\n```sh\r\n$ grafana-cli plugins install grafana-piechart-panel\r\n```\r\n### Verification\r\nFor this to work:\r\n\r\n1. Metrics has to be provisioned before Keycloak\r\n2. Grafana's pod has to be restarted once Keycloak is provisioned.\r\n3. Pie-Chart plugin has to be installed manually for these charts to be shown.\r\n4. To make the dashboard editable, navigate to dashboard settings (cog image at the top) and click on \"Make Editable\".\r\n5. Expect to see the dashboard empty but without any warnings (left-top corner of each panel)\r\n\r\n### Tasks\r\n- [x] Fancy dashboard\r\n- [x] Useful metrics\r\n- [x] Automatically detect different identity providers\r\n- [x] Automatically added to Grafana once metrics is provisioned\r\n- [ ] Display pie-charts (install plugin needed)","created_at":"2018-02-01T15:07:00Z","updated_at":"2018-02-05T11:31:54Z","closed_at":"2018-02-05T11:31:54Z","merged_at":"2018-02-05T11:31:54Z","merge_commit_sha":"31539aae5b475ff64666ffbab496eca942fdd175","assignee":null,"assignees":[],"requested_reviewers":[{"login":"wtrocki","id":981838,"avatar_url":"https://avatars3.githubusercontent.com/u/981838?v=4","gravatar_id":"","url":"https://api.github.com/users/wtrocki","html_url":"https://github.com/wtrocki","followers_url":"https://api.github.com/users/wtrocki/followers","following_url":"https://api.github.com/users/wtrocki/following{/other_user}","gists_url":"https://api.github.com/users/wtrocki/gists{/gist_id}","starred_url":"https://api.github.com/users/wtrocki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wtrocki/subscriptions","organizations_url":"https://api.github.com/users/wtrocki/orgs","repos_url":"https://api.github.com/users/wtrocki/repos","events_url":"https://api.github.com/users/wtrocki/events{/privacy}","received_events_url":"https://api.github.com/users/wtrocki/received_events","type":"User","site_admin":false}],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/pulls/33/commits","review_comments_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/pulls/33/comments","review_comment_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/issues/33/comments","statuses_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/statuses/4d0e03633e779854d0d065ec357053a6465b6833","head":{"label":"josemigallas:AEROGEAR-1938","ref":"AEROGEAR-1938","sha":"4d0e03633e779854d0d065ec357053a6465b6833","user":{"login":"josemigallas","id":11672286,"avatar_url":"https://avatars0.githubusercontent.com/u/11672286?v=4","gravatar_id":"","url":"https://api.github.com/users/josemigallas","html_url":"https://github.com/josemigallas","followers_url":"https://api.github.com/users/josemigallas/followers","following_url":"https://api.github.com/users/josemigallas/following{/other_user}","gists_url":"https://api.github.com/users/josemigallas/gists{/gist_id}","starred_url":"https://api.github.com/users/josemigallas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josemigallas/subscriptions","organizations_url":"https://api.github.com/users/josemigallas/orgs","repos_url":"https://api.github.com/users/josemigallas/repos","events_url":"https://api.github.com/users/josemigallas/events{/privacy}","received_events_url":"https://api.github.com/users/josemigallas/received_events","type":"User","site_admin":false},"repo":{"id":117966608,"name":"keycloak-apb","full_name":"josemigallas/keycloak-apb","owner":{"login":"josemigallas","id":11672286,"avatar_url":"https://avatars0.githubusercontent.com/u/11672286?v=4","gravatar_id":"","url":"https://api.github.com/users/josemigallas","html_url":"https://github.com/josemigallas","followers_url":"https://api.github.com/users/josemigallas/followers","following_url":"https://api.github.com/users/josemigallas/following{/other_user}","gists_url":"https://api.github.com/users/josemigallas/gists{/gist_id}","starred_url":"https://api.github.com/users/josemigallas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josemigallas/subscriptions","organizations_url":"https://api.github.com/users/josemigallas/orgs","repos_url":"https://api.github.com/users/josemigallas/repos","events_url":"https://api.github.com/users/josemigallas/events{/privacy}","received_events_url":"https://api.github.com/users/josemigallas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/josemigallas/keycloak-apb","description":null,"fork":true,"url":"https://api.github.com/repos/josemigallas/keycloak-apb","forks_url":"https://api.github.com/repos/josemigallas/keycloak-apb/forks","keys_url":"https://api.github.com/repos/josemigallas/keycloak-apb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/josemigallas/keycloak-apb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/josemigallas/keycloak-apb/teams","hooks_url":"https://api.github.com/repos/josemigallas/keycloak-apb/hooks","issue_events_url":"https://api.github.com/repos/josemigallas/keycloak-apb/issues/events{/number}","events_url":"https://api.github.com/repos/josemigallas/keycloak-apb/events","assignees_url":"https://api.github.com/repos/josemigallas/keycloak-apb/assignees{/user}","branches_url":"https://api.github.com/repos/josemigallas/keycloak-apb/branches{/branch}","tags_url":"https://api.github.com/repos/josemigallas/keycloak-apb/tags","blobs_url":"https://api.github.com/repos/josemigallas/keycloak-apb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/josemigallas/keycloak-apb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/josemigallas/keycloak-apb/git/refs{/sha}","trees_url":"https://api.github.com/repos/josemigallas/keycloak-apb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/josemigallas/keycloak-apb/statuses/{sha}","languages_url":"https://api.github.com/repos/josemigallas/keycloak-apb/languages","stargazers_url":"https://api.github.com/repos/josemigallas/keycloak-apb/stargazers","contributors_url":"https://api.github.com/repos/josemigallas/keycloak-apb/contributors","subscribers_url":"https://api.github.com/repos/josemigallas/keycloak-apb/subscribers","subscription_url":"https://api.github.com/repos/josemigallas/keycloak-apb/subscription","commits_url":"https://api.github.com/repos/josemigallas/keycloak-apb/commits{/sha}","git_commits_url":"https://api.github.com/repos/josemigallas/keycloak-apb/git/commits{/sha}","comments_url":"https://api.github.com/repos/josemigallas/keycloak-apb/comments{/number}","issue_comment_url":"https://api.github.com/repos/josemigallas/keycloak-apb/issues/comments{/number}","contents_url":"https://api.github.com/repos/josemigallas/keycloak-apb/contents/{+path}","compare_url":"https://api.github.com/repos/josemigallas/keycloak-apb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/josemigallas/keycloak-apb/merges","archive_url":"https://api.github.com/repos/josemigallas/keycloak-apb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/josemigallas/keycloak-apb/downloads","issues_url":"https://api.github.com/repos/josemigallas/keycloak-apb/issues{/number}","pulls_url":"https://api.github.com/repos/josemigallas/keycloak-apb/pulls{/number}","milestones_url":"https://api.github.com/repos/josemigallas/keycloak-apb/milestones{/number}","notifications_url":"https://api.github.com/repos/josemigallas/keycloak-apb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/josemigallas/keycloak-apb/labels{/name}","releases_url":"https://api.github.com/repos/josemigallas/keycloak-apb/releases{/id}","deployments_url":"https://api.github.com/repos/josemigallas/keycloak-apb/deployments","created_at":"2018-01-18T10:15:42Z","updated_at":"2018-01-18T10:15:43Z","pushed_at":"2018-02-02T08:58:08Z","git_url":"git://github.com/josemigallas/keycloak-apb.git","ssh_url":"git@github.com:josemigallas/keycloak-apb.git","clone_url":"https://github.com/josemigallas/keycloak-apb.git","svn_url":"https://github.com/josemigallas/keycloak-apb","homepage":null,"size":216,"stargazers_count":0,"watchers_count":0,"language":"Makefile","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":"aerogearcatalog:master","ref":"master","sha":"c79da9bccc608c9a470d55fbee20c7d273f2554c","user":{"login":"aerogearcatalog","id":34546838,"avatar_url":"https://avatars1.githubusercontent.com/u/34546838?v=4","gravatar_id":"","url":"https://api.github.com/users/aerogearcatalog","html_url":"https://github.com/aerogearcatalog","followers_url":"https://api.github.com/users/aerogearcatalog/followers","following_url":"https://api.github.com/users/aerogearcatalog/following{/other_user}","gists_url":"https://api.github.com/users/aerogearcatalog/gists{/gist_id}","starred_url":"https://api.github.com/users/aerogearcatalog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aerogearcatalog/subscriptions","organizations_url":"https://api.github.com/users/aerogearcatalog/orgs","repos_url":"https://api.github.com/users/aerogearcatalog/repos","events_url":"https://api.github.com/users/aerogearcatalog/events{/privacy}","received_events_url":"https://api.github.com/users/aerogearcatalog/received_events","type":"Organization","site_admin":false},"repo":{"id":114350045,"name":"keycloak-apb","full_name":"aerogearcatalog/keycloak-apb","owner":{"login":"aerogearcatalog","id":34546838,"avatar_url":"https://avatars1.githubusercontent.com/u/34546838?v=4","gravatar_id":"","url":"https://api.github.com/users/aerogearcatalog","html_url":"https://github.com/aerogearcatalog","followers_url":"https://api.github.com/users/aerogearcatalog/followers","following_url":"https://api.github.com/users/aerogearcatalog/following{/other_user}","gists_url":"https://api.github.com/users/aerogearcatalog/gists{/gist_id}","starred_url":"https://api.github.com/users/aerogearcatalog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aerogearcatalog/subscriptions","organizations_url":"https://api.github.com/users/aerogearcatalog/orgs","repos_url":"https://api.github.com/users/aerogearcatalog/repos","events_url":"https://api.github.com/users/aerogearcatalog/events{/privacy}","received_events_url":"https://api.github.com/users/aerogearcatalog/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aerogearcatalog/keycloak-apb","description":null,"fork":false,"url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb","forks_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/forks","keys_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/teams","hooks_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/hooks","issue_events_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/issues/events{/number}","events_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/events","assignees_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/assignees{/user}","branches_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/branches{/branch}","tags_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/tags","blobs_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/git/refs{/sha}","trees_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/statuses/{sha}","languages_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/languages","stargazers_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/stargazers","contributors_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/contributors","subscribers_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/subscribers","subscription_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/subscription","commits_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/commits{/sha}","git_commits_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/git/commits{/sha}","comments_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/comments{/number}","issue_comment_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/issues/comments{/number}","contents_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/contents/{+path}","compare_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/merges","archive_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/downloads","issues_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/issues{/number}","pulls_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/pulls{/number}","milestones_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/milestones{/number}","notifications_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/labels{/name}","releases_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/releases{/id}","deployments_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/deployments","created_at":"2017-12-15T09:04:08Z","updated_at":"2018-01-30T16:54:24Z","pushed_at":"2018-02-05T11:31:54Z","git_url":"git://github.com/aerogearcatalog/keycloak-apb.git","ssh_url":"git@github.com:aerogearcatalog/keycloak-apb.git","clone_url":"https://github.com/aerogearcatalog/keycloak-apb.git","svn_url":"https://github.com/aerogearcatalog/keycloak-apb","homepage":null,"size":212,"stargazers_count":1,"watchers_count":1,"language":"Makefile","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"archived":false,"open_issues_count":5,"license":null,"forks":12,"open_issues":5,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/pulls/33"},"html":{"href":"https://github.com/aerogearcatalog/keycloak-apb/pull/33"},"issue":{"href":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/issues/33"},"comments":{"href":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/statuses/4d0e03633e779854d0d065ec357053a6465b6833"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"josemigallas","id":11672286,"avatar_url":"https://avatars0.githubusercontent.com/u/11672286?v=4","gravatar_id":"","url":"https://api.github.com/users/josemigallas","html_url":"https://github.com/josemigallas","followers_url":"https://api.github.com/users/josemigallas/followers","following_url":"https://api.github.com/users/josemigallas/following{/other_user}","gists_url":"https://api.github.com/users/josemigallas/gists{/gist_id}","starred_url":"https://api.github.com/users/josemigallas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josemigallas/subscriptions","organizations_url":"https://api.github.com/users/josemigallas/orgs","repos_url":"https://api.github.com/users/josemigallas/repos","events_url":"https://api.github.com/users/josemigallas/events{/privacy}","received_events_url":"https://api.github.com/users/josemigallas/received_events","type":"User","site_admin":false},"comments":17,"review_comments":1,"maintainer_can_modify":false,"commits":4,"additions":676,"deletions":13,"changed_files":2}}
{"actor":{"display_login":"josemigallas"}}