{"action":"created","issue":{"url":"https://api.github.com/repos/DataDog/dd-agent/issues/2067","labels_url":"https://api.github.com/repos/DataDog/dd-agent/issues/2067/labels{/name}","comments_url":"https://api.github.com/repos/DataDog/dd-agent/issues/2067/comments","events_url":"https://api.github.com/repos/DataDog/dd-agent/issues/2067/events","html_url":"https://github.com/DataDog/dd-agent/pull/2067","id":115719892,"number":2067,"title":"Add custom provided hostname to dd-agent config","user":{"login":"lowl4tency","id":6414316,"avatar_url":"https://avatars.githubusercontent.com/u/6414316?v=3","gravatar_id":"","url":"https://api.github.com/users/lowl4tency","html_url":"https://github.com/lowl4tency","followers_url":"https://api.github.com/users/lowl4tency/followers","following_url":"https://api.github.com/users/lowl4tency/following{/other_user}","gists_url":"https://api.github.com/users/lowl4tency/gists{/gist_id}","starred_url":"https://api.github.com/users/lowl4tency/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lowl4tency/subscriptions","organizations_url":"https://api.github.com/users/lowl4tency/orgs","repos_url":"https://api.github.com/users/lowl4tency/repos","events_url":"https://api.github.com/users/lowl4tency/events{/privacy}","received_events_url":"https://api.github.com/users/lowl4tency/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-08T09:32:36Z","updated_at":"2015-11-18T21:17:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/DataDog/dd-agent/pulls/2067","html_url":"https://github.com/DataDog/dd-agent/pull/2067","diff_url":"https://github.com/DataDog/dd-agent/pull/2067.diff","patch_url":"https://github.com/DataDog/dd-agent/pull/2067.patch"},"body":"Add posibility to provide custom datadog-agent hostname.\r\n\r\nWorks same way as DD_API_KEY. If DD_HOSTNAME variable is not defined works with old logic.\r\n\r\nDD_HOSTNAME=test.example.com DD_API_KEY=testapihash bash -c \"$(curl -L https://raw.githubusercontent.com/DataDog/dd-agent/master/packaging/datadog-agent/source/install_agent.sh)\""},"comment":{"url":"https://api.github.com/repos/DataDog/dd-agent/issues/comments/157866111","html_url":"https://github.com/DataDog/dd-agent/pull/2067#issuecomment-157866111","issue_url":"https://api.github.com/repos/DataDog/dd-agent/issues/2067","id":157866111,"user":{"login":"remh","id":1311477,"avatar_url":"https://avatars.githubusercontent.com/u/1311477?v=3","gravatar_id":"","url":"https://api.github.com/users/remh","html_url":"https://github.com/remh","followers_url":"https://api.github.com/users/remh/followers","following_url":"https://api.github.com/users/remh/following{/other_user}","gists_url":"https://api.github.com/users/remh/gists{/gist_id}","starred_url":"https://api.github.com/users/remh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remh/subscriptions","organizations_url":"https://api.github.com/users/remh/orgs","repos_url":"https://api.github.com/users/remh/repos","events_url":"https://api.github.com/users/remh/events{/privacy}","received_events_url":"https://api.github.com/users/remh/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T21:17:59Z","updated_at":"2015-11-18T21:17:59Z","body":"Thanks a lot @lowl4tency !\r\nCan you describe the use case please ?\r\n\r\nAlso can you make sure to respecting the contributing guidelines ?\r\nhttps://github.com/DataDog/dd-agent/blob/master/CONTRIBUTING.md\r\n\r\n(Especially the guidelines about commits)\r\n\r\nThanks again!\r\n"}}