{"action":"created","issue":{"url":"https://api.github.com/repos/convox/rack/issues/483","repository_url":"https://api.github.com/repos/convox/rack","labels_url":"https://api.github.com/repos/convox/rack/issues/483/labels{/name}","comments_url":"https://api.github.com/repos/convox/rack/issues/483/comments","events_url":"https://api.github.com/repos/convox/rack/issues/483/events","html_url":"https://github.com/convox/rack/issues/483","id":144058561,"number":483,"title":"More meaningful container hostnames","user":{"login":"mattmanning","id":44615,"avatar_url":"https://avatars.githubusercontent.com/u/44615?v=3","gravatar_id":"","url":"https://api.github.com/users/mattmanning","html_url":"https://github.com/mattmanning","followers_url":"https://api.github.com/users/mattmanning/followers","following_url":"https://api.github.com/users/mattmanning/following{/other_user}","gists_url":"https://api.github.com/users/mattmanning/gists{/gist_id}","starred_url":"https://api.github.com/users/mattmanning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattmanning/subscriptions","organizations_url":"https://api.github.com/users/mattmanning/orgs","repos_url":"https://api.github.com/users/mattmanning/repos","events_url":"https://api.github.com/users/mattmanning/events{/privacy}","received_events_url":"https://api.github.com/users/mattmanning/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/convox/rack/labels/priority","name":"priority","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/convox/rack/milestones/6","html_url":"https://github.com/convox/rack/milestones/Runtime%20/%20Processes","labels_url":"https://api.github.com/repos/convox/rack/milestones/6/labels","id":1612954,"number":6,"title":"Runtime / Processes","description":"Solidify the `convox ps` and `convox run` namespace. Goals:\r\n\r\n- [ ] Measure process quality-of-service (success/failure rates)\r\n- [ ] Achieve a high QoS\r\n- [ ] Add more `convox run` primatives\r\n  - [ ] Run against a specific release\r\n  - [ ] Run with resource limits\r\n  - [ ] Run on specific or random instance\r\n- [ ] Add more `convox ps` primatives\r\n  - [ ] List and kill one-off processes\r\n  - [ ] List processes via Docker ID\r\n- [ ] Add more deployment primatives\r\n  - [ ] Automate rolling back deployments that are failing\r\n  - [ ] List pending process stops\r\n","creator":{"login":"nzoschke","id":147410,"avatar_url":"https://avatars.githubusercontent.com/u/147410?v=3","gravatar_id":"","url":"https://api.github.com/users/nzoschke","html_url":"https://github.com/nzoschke","followers_url":"https://api.github.com/users/nzoschke/followers","following_url":"https://api.github.com/users/nzoschke/following{/other_user}","gists_url":"https://api.github.com/users/nzoschke/gists{/gist_id}","starred_url":"https://api.github.com/users/nzoschke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nzoschke/subscriptions","organizations_url":"https://api.github.com/users/nzoschke/orgs","repos_url":"https://api.github.com/users/nzoschke/repos","events_url":"https://api.github.com/users/nzoschke/events{/privacy}","received_events_url":"https://api.github.com/users/nzoschke/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":4,"state":"open","created_at":"2016-02-29T18:51:48Z","updated_at":"2016-03-28T20:09:57Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-03-28T19:21:30Z","updated_at":"2016-03-28T20:10:53Z","closed_at":null,"body":"By default the HOSTNAME of a container running in ECS is the Docker-generated random hostname. It's usually hex that looks like this: `ca89d71f07da`. A new hostname gets generated each time a container starts.\r\n\r\nThis is somewhat problematic for users who want to track host-specific metrics. For example, we have a user using New Relic who would rather see something more meaningful like `appname:processname` for example.\r\n\r\nIs this something we can reasonably do? I know the `--hostname` option can be passed via Docker, but are there side effects to consider in the AWS deployment? For logging? Do hostnames have to be unique? What hostname should we set? Can we allow the user to set an arbitrary host name?"},"comment":{"url":"https://api.github.com/repos/convox/rack/issues/comments/202562805","html_url":"https://github.com/convox/rack/issues/483#issuecomment-202562805","issue_url":"https://api.github.com/repos/convox/rack/issues/483","id":202562805,"user":{"login":"mattmanning","id":44615,"avatar_url":"https://avatars.githubusercontent.com/u/44615?v=3","gravatar_id":"","url":"https://api.github.com/users/mattmanning","html_url":"https://github.com/mattmanning","followers_url":"https://api.github.com/users/mattmanning/followers","following_url":"https://api.github.com/users/mattmanning/following{/other_user}","gists_url":"https://api.github.com/users/mattmanning/gists{/gist_id}","starred_url":"https://api.github.com/users/mattmanning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattmanning/subscriptions","organizations_url":"https://api.github.com/users/mattmanning/orgs","repos_url":"https://api.github.com/users/mattmanning/repos","events_url":"https://api.github.com/users/mattmanning/events{/privacy}","received_events_url":"https://api.github.com/users/mattmanning/received_events","type":"User","site_admin":false},"created_at":"2016-03-28T20:10:52Z","updated_at":"2016-03-28T20:10:52Z","body":"@nzoschke The user I'm working with is using New Relic APM, but they can still slice data by server (hostname). I would assume New Relic Servers has similar functionality.\r\n\r\nFWIW, New Relic does have a \"categories and labels\" feature that would allow one to get around this issue with clever configuration, but I think having meaningful hostnames has other benefits besides New Relic convenience."}}