{"action":"created","issue":{"url":"https://api.github.com/repos/3scale/porta/issues/274","repository_url":"https://api.github.com/repos/3scale/porta","labels_url":"https://api.github.com/repos/3scale/porta/issues/274/labels{/name}","comments_url":"https://api.github.com/repos/3scale/porta/issues/274/comments","events_url":"https://api.github.com/repos/3scale/porta/issues/274/events","html_url":"https://github.com/3scale/porta/pull/274","id":376012666,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI3MzI1NDIw","number":274,"title":"[wip][gem] Expose sidekiq metrics to prometheus","user":{"login":"hallelujah","id":64276,"node_id":"MDQ6VXNlcjY0Mjc2","avatar_url":"https://avatars3.githubusercontent.com/u/64276?v=4","gravatar_id":"","url":"https://api.github.com/users/hallelujah","html_url":"https://github.com/hallelujah","followers_url":"https://api.github.com/users/hallelujah/followers","following_url":"https://api.github.com/users/hallelujah/following{/other_user}","gists_url":"https://api.github.com/users/hallelujah/gists{/gist_id}","starred_url":"https://api.github.com/users/hallelujah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hallelujah/subscriptions","organizations_url":"https://api.github.com/users/hallelujah/orgs","repos_url":"https://api.github.com/users/hallelujah/repos","events_url":"https://api.github.com/users/hallelujah/events{/privacy}","received_events_url":"https://api.github.com/users/hallelujah/received_events","type":"User","site_admin":false},"labels":[{"id":1061163922,"node_id":"MDU6TGFiZWwxMDYxMTYzOTIy","url":"https://api.github.com/repos/3scale/porta/labels/jenkins","name":"jenkins","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-10-31T15:12:09Z","updated_at":"2018-10-31T15:33:49Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/3scale/porta/pulls/274","html_url":"https://github.com/3scale/porta/pull/274","diff_url":"https://github.com/3scale/porta/pull/274.diff","patch_url":"https://github.com/3scale/porta/pull/274.patch"},"body":"Closes https://github.com/3scale/infrastructure/issues/574\r\n\r\nThe metrics are exposed as:\r\n\r\nhttp://${MASTER_DOMAIN}/sidekiq/metrics\r\n\r\nThis URL is protected by cookie authentication but I will make it accessible by Auth Basic\r\n"},"comment":{"url":"https://api.github.com/repos/3scale/porta/issues/comments/434733864","html_url":"https://github.com/3scale/porta/pull/274#issuecomment-434733864","issue_url":"https://api.github.com/repos/3scale/porta/issues/274","id":434733864,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDczMzg2NA==","user":{"login":"slopezz","id":41513123,"node_id":"MDQ6VXNlcjQxNTEzMTIz","avatar_url":"https://avatars0.githubusercontent.com/u/41513123?v=4","gravatar_id":"","url":"https://api.github.com/users/slopezz","html_url":"https://github.com/slopezz","followers_url":"https://api.github.com/users/slopezz/followers","following_url":"https://api.github.com/users/slopezz/following{/other_user}","gists_url":"https://api.github.com/users/slopezz/gists{/gist_id}","starred_url":"https://api.github.com/users/slopezz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slopezz/subscriptions","organizations_url":"https://api.github.com/users/slopezz/orgs","repos_url":"https://api.github.com/users/slopezz/repos","events_url":"https://api.github.com/users/slopezz/events{/privacy}","received_events_url":"https://api.github.com/users/slopezz/received_events","type":"User","site_admin":false},"created_at":"2018-10-31T15:33:49Z","updated_at":"2018-10-31T15:33:49Z","author_association":"NONE","body":"AFAIK, prometheus does not support even Auth basic, and you need to use a reverse proxy to do so:\r\n\r\nhttps://prometheus.io/docs/guides/basic-auth/\r\n\r\nWhat normally is done is to expose this metrics on a different port (like 9292, each exporter uses a different port), and protect that access using security groups for example."}}
{"actor":{"display_login":"slopezz"}}