{"action":"created","issue":{"url":"https://api.github.com/repos/dcos/dcos-go/issues/62","repository_url":"https://api.github.com/repos/dcos/dcos-go","labels_url":"https://api.github.com/repos/dcos/dcos-go/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/dcos/dcos-go/issues/62/comments","events_url":"https://api.github.com/repos/dcos/dcos-go/issues/62/events","html_url":"https://github.com/dcos/dcos-go/pull/62","id":374079384,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI1ODYzMjE1","number":62,"title":"Add User-Agent header to requests","user":{"login":"gracedo","id":5897740,"node_id":"MDQ6VXNlcjU4OTc3NDA=","avatar_url":"https://avatars3.githubusercontent.com/u/5897740?v=4","gravatar_id":"","url":"https://api.github.com/users/gracedo","html_url":"https://github.com/gracedo","followers_url":"https://api.github.com/users/gracedo/followers","following_url":"https://api.github.com/users/gracedo/following{/other_user}","gists_url":"https://api.github.com/users/gracedo/gists{/gist_id}","starred_url":"https://api.github.com/users/gracedo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gracedo/subscriptions","organizations_url":"https://api.github.com/users/gracedo/orgs","repos_url":"https://api.github.com/users/gracedo/repos","events_url":"https://api.github.com/users/gracedo/events{/privacy}","received_events_url":"https://api.github.com/users/gracedo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-25T18:42:07Z","updated_at":"2018-11-19T19:40:05Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/dcos/dcos-go/pulls/62","html_url":"https://github.com/dcos/dcos-go/pull/62","diff_url":"https://github.com/dcos/dcos-go/pull/62.diff","patch_url":"https://github.com/dcos/dcos-go/pull/62.patch"},"body":"# Add User-Agent header to requests\r\n\r\nnote: windows build will fail until https://jira.mesosphere.com/browse/DCOS-44309 is resolved\r\n\r\n## Checklist\r\n- [] ~80% unit test coverage?\r\n- [x] Updated [README.md](README.md)?\r\n- [x] Completed sections of this PR template?\r\n- [x] Edited all sections [IN BRACKETS]\r\n\r\n## Overview of Change\r\nhttps://jira.mesosphere.com/browse/DCOS_OSS-4168\r\nIt would be valuable to send a `User-Agent` with requests to correlate them with the originator. The `User-Agent` defaults to `dcos-go` (or `dcos-go (systemd:<unit name>)` if systemd process) if one is not passed through using [`OptionUserAgent`](https://github.com/dcos/dcos-go/compare/gracedo/add_user_agent_header?expand=1#diff-15f81910753ae4f24ad4f94b11f3bde1R115)\r\n\r\n## Affected Usage\r\nA `User-Agent` header will be sent along with all requests going through this transport."},"comment":{"url":"https://api.github.com/repos/dcos/dcos-go/issues/comments/440016785","html_url":"https://github.com/dcos/dcos-go/pull/62#issuecomment-440016785","issue_url":"https://api.github.com/repos/dcos/dcos-go/issues/62","id":440016785,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDAxNjc4NQ==","user":{"login":"gracedo","id":5897740,"node_id":"MDQ6VXNlcjU4OTc3NDA=","avatar_url":"https://avatars3.githubusercontent.com/u/5897740?v=4","gravatar_id":"","url":"https://api.github.com/users/gracedo","html_url":"https://github.com/gracedo","followers_url":"https://api.github.com/users/gracedo/followers","following_url":"https://api.github.com/users/gracedo/following{/other_user}","gists_url":"https://api.github.com/users/gracedo/gists{/gist_id}","starred_url":"https://api.github.com/users/gracedo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gracedo/subscriptions","organizations_url":"https://api.github.com/users/gracedo/orgs","repos_url":"https://api.github.com/users/gracedo/repos","events_url":"https://api.github.com/users/gracedo/events{/privacy}","received_events_url":"https://api.github.com/users/gracedo/received_events","type":"User","site_admin":false},"created_at":"2018-11-19T19:40:05Z","updated_at":"2018-11-19T19:40:05Z","author_association":"COLLABORATOR","body":"retest this please"}}
{"actor":{"display_login":"gracedo"}}