{"action":"created","issue":{"url":"https://api.github.com/repos/DataDog/dd-agent/issues/2415","repository_url":"https://api.github.com/repos/DataDog/dd-agent","labels_url":"https://api.github.com/repos/DataDog/dd-agent/issues/2415/labels{/name}","comments_url":"https://api.github.com/repos/DataDog/dd-agent/issues/2415/comments","events_url":"https://api.github.com/repos/DataDog/dd-agent/issues/2415/events","html_url":"https://github.com/DataDog/dd-agent/issues/2415","id":147874773,"number":2415,"title":"get_metadata for EC2 doesn't retrieve availability zone","user":{"login":"matthayes","id":212331,"avatar_url":"https://avatars.githubusercontent.com/u/212331?v=3","gravatar_id":"","url":"https://api.github.com/users/matthayes","html_url":"https://github.com/matthayes","followers_url":"https://api.github.com/users/matthayes/followers","following_url":"https://api.github.com/users/matthayes/following{/other_user}","gists_url":"https://api.github.com/users/matthayes/gists{/gist_id}","starred_url":"https://api.github.com/users/matthayes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthayes/subscriptions","organizations_url":"https://api.github.com/users/matthayes/orgs","repos_url":"https://api.github.com/users/matthayes/repos","events_url":"https://api.github.com/users/matthayes/events{/privacy}","received_events_url":"https://api.github.com/users/matthayes/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-04-12T21:15:24Z","updated_at":"2016-04-26T20:07:20Z","closed_at":"2016-04-26T19:49:36Z","body":"The availability zone can be retrieved from `http://169.254.169.254/latest/meta-data/placement/availability-zone`.  Is there any reason not to retrieve it?  Also, if we were to retrieve it, how should it be returned to datadog so it appears in the UI?  I see that when the AWS integration is enabled there is a tag `#availability-zone:blah`.  Does the availability zone need to be added to the list of tags?  I'm looking at `_populate_payload_metadata` specifically and wondering what would need to change."},"comment":{"url":"https://api.github.com/repos/DataDog/dd-agent/issues/comments/214870322","html_url":"https://github.com/DataDog/dd-agent/issues/2415#issuecomment-214870322","issue_url":"https://api.github.com/repos/DataDog/dd-agent/issues/2415","id":214870322,"user":{"login":"matthayes","id":212331,"avatar_url":"https://avatars.githubusercontent.com/u/212331?v=3","gravatar_id":"","url":"https://api.github.com/users/matthayes","html_url":"https://github.com/matthayes","followers_url":"https://api.github.com/users/matthayes/followers","following_url":"https://api.github.com/users/matthayes/following{/other_user}","gists_url":"https://api.github.com/users/matthayes/gists{/gist_id}","starred_url":"https://api.github.com/users/matthayes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthayes/subscriptions","organizations_url":"https://api.github.com/users/matthayes/orgs","repos_url":"https://api.github.com/users/matthayes/repos","events_url":"https://api.github.com/users/matthayes/events{/privacy}","received_events_url":"https://api.github.com/users/matthayes/received_events","type":"User","site_admin":false},"created_at":"2016-04-26T20:07:20Z","updated_at":"2016-04-26T20:07:20Z","body":"Well, I don't think you should have closed this ticket because it is an unresolved issue and now anyone else interested in this issue can't track the status of it (e.g. ETA for fix).  I could have made the changes with a PR but needed someone to respond."}}