{"action":"created","issue":{"url":"https://api.github.com/repos/DataDog/datadog-trace-agent/issues/221","repository_url":"https://api.github.com/repos/DataDog/datadog-trace-agent","labels_url":"https://api.github.com/repos/DataDog/datadog-trace-agent/issues/221/labels{/name}","comments_url":"https://api.github.com/repos/DataDog/datadog-trace-agent/issues/221/comments","events_url":"https://api.github.com/repos/DataDog/datadog-trace-agent/issues/221/events","html_url":"https://github.com/DataDog/datadog-trace-agent/issues/221","id":205201304,"number":221,"title":"`bind_host` does not work the same as Datadog agent","user":{"login":"silas","id":18528,"avatar_url":"https://avatars1.githubusercontent.com/u/18528?v=4","gravatar_id":"","url":"https://api.github.com/users/silas","html_url":"https://github.com/silas","followers_url":"https://api.github.com/users/silas/followers","following_url":"https://api.github.com/users/silas/following{/other_user}","gists_url":"https://api.github.com/users/silas/gists{/gist_id}","starred_url":"https://api.github.com/users/silas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/silas/subscriptions","organizations_url":"https://api.github.com/users/silas/orgs","repos_url":"https://api.github.com/users/silas/repos","events_url":"https://api.github.com/users/silas/events{/privacy}","received_events_url":"https://api.github.com/users/silas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-02-03T16:18:07Z","updated_at":"2018-02-01T22:14:21Z","closed_at":null,"author_association":"NONE","body":"The datadog-agent currently uses Tornado's `bind_sockets` to listen to the address defined in `bind_host`. `bind_sockets` uses `socket.getaddrinfo` to get a list all IPs associated with a given hostname and binds to them (both IPv4 and IPv6). `datadog-trace-agent` uses `bind_host` with Go's Listen which does not support this behavior (see golang/go#9334).\r\n\r\nThe result of this is that 1) if you bind to a hostname you'll only get the IPv4 IP address and 2) you can't bind `datadog-trace-agent` to multiple interfaces.\r\n\r\nI'm not sure if you explicitly support this behavior, but I figured I might as well raise the issue.\r\n\r\nFeel free to close if it's not something you think should be supported."},"comment":{"url":"https://api.github.com/repos/DataDog/datadog-trace-agent/issues/comments/362420072","html_url":"https://github.com/DataDog/datadog-trace-agent/issues/221#issuecomment-362420072","issue_url":"https://api.github.com/repos/DataDog/datadog-trace-agent/issues/221","id":362420072,"user":{"login":"byronwolfman","id":11906832,"avatar_url":"https://avatars3.githubusercontent.com/u/11906832?v=4","gravatar_id":"","url":"https://api.github.com/users/byronwolfman","html_url":"https://github.com/byronwolfman","followers_url":"https://api.github.com/users/byronwolfman/followers","following_url":"https://api.github.com/users/byronwolfman/following{/other_user}","gists_url":"https://api.github.com/users/byronwolfman/gists{/gist_id}","starred_url":"https://api.github.com/users/byronwolfman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/byronwolfman/subscriptions","organizations_url":"https://api.github.com/users/byronwolfman/orgs","repos_url":"https://api.github.com/users/byronwolfman/repos","events_url":"https://api.github.com/users/byronwolfman/events{/privacy}","received_events_url":"https://api.github.com/users/byronwolfman/received_events","type":"User","site_admin":false},"created_at":"2018-02-01T22:14:21Z","updated_at":"2018-02-01T22:14:21Z","author_association":"NONE","body":"I think I've misunderstood silas' original request so I'm going to tap out of this issue. I've submitted a PR to address the problem our org has been running into, which is different (see the above referenced PR!) Apologies for muddying the waters on this issue."}}
{"actor":{"display_login":"byronwolfman"}}