{"action":"created","issue":{"url":"https://api.github.com/repos/runconduit/conduit/issues/665","repository_url":"https://api.github.com/repos/runconduit/conduit","labels_url":"https://api.github.com/repos/runconduit/conduit/issues/665/labels{/name}","comments_url":"https://api.github.com/repos/runconduit/conduit/issues/665/comments","events_url":"https://api.github.com/repos/runconduit/conduit/issues/665/events","html_url":"https://github.com/runconduit/conduit/pull/665","id":310652501,"number":665,"title":"Add optional GZIP compression to proxy /metrics endpoint","user":{"login":"hawkw","id":2796466,"avatar_url":"https://avatars1.githubusercontent.com/u/2796466?v=4","gravatar_id":"","url":"https://api.github.com/users/hawkw","html_url":"https://github.com/hawkw","followers_url":"https://api.github.com/users/hawkw/followers","following_url":"https://api.github.com/users/hawkw/following{/other_user}","gists_url":"https://api.github.com/users/hawkw/gists{/gist_id}","starred_url":"https://api.github.com/users/hawkw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hawkw/subscriptions","organizations_url":"https://api.github.com/users/hawkw/orgs","repos_url":"https://api.github.com/users/hawkw/repos","events_url":"https://api.github.com/users/hawkw/events{/privacy}","received_events_url":"https://api.github.com/users/hawkw/received_events","type":"User","site_admin":false},"labels":[{"id":773709989,"url":"https://api.github.com/repos/runconduit/conduit/labels/area/proxy","name":"area/proxy","color":"0052CC","default":false},{"id":846665358,"url":"https://api.github.com/repos/runconduit/conduit/labels/area/telemetry","name":"area/telemetry","color":"0052CC","default":false},{"id":846634582,"url":"https://api.github.com/repos/runconduit/conduit/labels/priority/P2","name":"priority/P2","color":"eeeeee","default":false},{"id":866158135,"url":"https://api.github.com/repos/runconduit/conduit/labels/review","name":"review","color":"f4bffc","default":false}],"state":"open","locked":false,"assignee":{"login":"hawkw","id":2796466,"avatar_url":"https://avatars1.githubusercontent.com/u/2796466?v=4","gravatar_id":"","url":"https://api.github.com/users/hawkw","html_url":"https://github.com/hawkw","followers_url":"https://api.github.com/users/hawkw/followers","following_url":"https://api.github.com/users/hawkw/following{/other_user}","gists_url":"https://api.github.com/users/hawkw/gists{/gist_id}","starred_url":"https://api.github.com/users/hawkw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hawkw/subscriptions","organizations_url":"https://api.github.com/users/hawkw/orgs","repos_url":"https://api.github.com/users/hawkw/repos","events_url":"https://api.github.com/users/hawkw/events{/privacy}","received_events_url":"https://api.github.com/users/hawkw/received_events","type":"User","site_admin":false},"assignees":[{"login":"hawkw","id":2796466,"avatar_url":"https://avatars1.githubusercontent.com/u/2796466?v=4","gravatar_id":"","url":"https://api.github.com/users/hawkw","html_url":"https://github.com/hawkw","followers_url":"https://api.github.com/users/hawkw/followers","following_url":"https://api.github.com/users/hawkw/following{/other_user}","gists_url":"https://api.github.com/users/hawkw/gists{/gist_id}","starred_url":"https://api.github.com/users/hawkw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hawkw/subscriptions","organizations_url":"https://api.github.com/users/hawkw/orgs","repos_url":"https://api.github.com/users/hawkw/repos","events_url":"https://api.github.com/users/hawkw/events{/privacy}","received_events_url":"https://api.github.com/users/hawkw/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/runconduit/conduit/milestones/10","html_url":"https://github.com/runconduit/conduit/milestone/10","labels_url":"https://api.github.com/repos/runconduit/conduit/milestones/10/labels","id":3272052,"number":10,"title":"0.4.1","description":"Rich, Kubernetes-aware debugging","creator":{"login":"olix0r","id":240738,"avatar_url":"https://avatars3.githubusercontent.com/u/240738?v=4","gravatar_id":"","url":"https://api.github.com/users/olix0r","html_url":"https://github.com/olix0r","followers_url":"https://api.github.com/users/olix0r/followers","following_url":"https://api.github.com/users/olix0r/following{/other_user}","gists_url":"https://api.github.com/users/olix0r/gists{/gist_id}","starred_url":"https://api.github.com/users/olix0r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olix0r/subscriptions","organizations_url":"https://api.github.com/users/olix0r/orgs","repos_url":"https://api.github.com/users/olix0r/repos","events_url":"https://api.github.com/users/olix0r/events{/privacy}","received_events_url":"https://api.github.com/users/olix0r/received_events","type":"User","site_admin":false},"open_issues":29,"closed_issues":35,"state":"open","created_at":"2018-04-16T21:05:23Z","updated_at":"2018-04-23T02:34:58Z","due_on":"2018-04-26T07:00:00Z","closed_at":null},"comments":5,"created_at":"2018-04-03T00:20:11Z","updated_at":"2018-04-23T17:31:34Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/runconduit/conduit/pulls/665","html_url":"https://github.com/runconduit/conduit/pull/665","diff_url":"https://github.com/runconduit/conduit/pull/665.diff","patch_url":"https://github.com/runconduit/conduit/pull/665.patch"},"body":"Closes #598.\r\n\r\nAccording to the Prometheus documentation, metrics export endpoints should support serving metrics compressed using GZIP. I wrote [a quick library](https://github.com/hawkw/hyper-compress) for gluing together `flate2` and `hyper`, and used it to add support for serving GZIP-encoded metrics to the proxy.\r\n\r\nI've also added a new unit test that attempts to get the proxy's metrics endpoint as GZIP, and asserts that the metrics are decompressed successfully."},"comment":{"url":"https://api.github.com/repos/runconduit/conduit/issues/comments/383657536","html_url":"https://github.com/runconduit/conduit/pull/665#issuecomment-383657536","issue_url":"https://api.github.com/repos/runconduit/conduit/issues/665","id":383657536,"user":{"login":"hawkw","id":2796466,"avatar_url":"https://avatars1.githubusercontent.com/u/2796466?v=4","gravatar_id":"","url":"https://api.github.com/users/hawkw","html_url":"https://github.com/hawkw","followers_url":"https://api.github.com/users/hawkw/followers","following_url":"https://api.github.com/users/hawkw/following{/other_user}","gists_url":"https://api.github.com/users/hawkw/gists{/gist_id}","starred_url":"https://api.github.com/users/hawkw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hawkw/subscriptions","organizations_url":"https://api.github.com/users/hawkw/orgs","repos_url":"https://api.github.com/users/hawkw/repos","events_url":"https://api.github.com/users/hawkw/events{/privacy}","received_events_url":"https://api.github.com/users/hawkw/received_events","type":"User","site_admin":false},"created_at":"2018-04-23T17:31:34Z","updated_at":"2018-04-23T17:31:34Z","author_association":"MEMBER","body":"@carllerche I totally agree, that's why my first pass at implementing this was in a small library, so that it could eventually become part of `tower`. I'd be happy to work on adding a more generalized implementation to `tower-http` when more time-critical work is out of the way :)"}}
{"actor":{"display_login":"hawkw"}}