{"action":"created","issue":{"url":"https://api.github.com/repos/DataDog/datadog-agent/issues/1477","repository_url":"https://api.github.com/repos/DataDog/datadog-agent","labels_url":"https://api.github.com/repos/DataDog/datadog-agent/issues/1477/labels{/name}","comments_url":"https://api.github.com/repos/DataDog/datadog-agent/issues/1477/comments","events_url":"https://api.github.com/repos/DataDog/datadog-agent/issues/1477/events","html_url":"https://github.com/DataDog/datadog-agent/issues/1477","id":306068662,"node_id":"MDU6SXNzdWUzMDYwNjg2NjI=","number":1477,"title":"Feature request: add option to locally inject tags in dogstatsd before forwarding","user":{"login":"ewdurbin","id":1200832,"node_id":"MDQ6VXNlcjEyMDA4MzI=","avatar_url":"https://avatars3.githubusercontent.com/u/1200832?v=4","gravatar_id":"","url":"https://api.github.com/users/ewdurbin","html_url":"https://github.com/ewdurbin","followers_url":"https://api.github.com/users/ewdurbin/followers","following_url":"https://api.github.com/users/ewdurbin/following{/other_user}","gists_url":"https://api.github.com/users/ewdurbin/gists{/gist_id}","starred_url":"https://api.github.com/users/ewdurbin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ewdurbin/subscriptions","organizations_url":"https://api.github.com/users/ewdurbin/orgs","repos_url":"https://api.github.com/users/ewdurbin/repos","events_url":"https://api.github.com/users/ewdurbin/events{/privacy}","received_events_url":"https://api.github.com/users/ewdurbin/received_events","type":"User","site_admin":false},"labels":[{"id":516312991,"node_id":"MDU6TGFiZWw1MTYzMTI5OTE=","url":"https://api.github.com/repos/DataDog/datadog-agent/labels/component/dogstatsd","name":"component/dogstatsd","color":"0052cc","default":false},{"id":783730933,"node_id":"MDU6TGFiZWw3ODM3MzA5MzM=","url":"https://api.github.com/repos/DataDog/datadog-agent/labels/kind/feature","name":"kind/feature","color":"84b6eb","default":false},{"id":695415843,"node_id":"MDU6TGFiZWw2OTU0MTU4NDM=","url":"https://api.github.com/repos/DataDog/datadog-agent/labels/team/agent-core","name":"team/agent-core","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/DataDog/datadog-agent/milestones/22","html_url":"https://github.com/DataDog/datadog-agent/milestone/22","labels_url":"https://api.github.com/repos/DataDog/datadog-agent/milestones/22/labels","id":3212275,"node_id":"MDk6TWlsZXN0b25lMzIxMjI3NQ==","number":22,"title":"Triage","description":"","creator":{"login":"olivielpeau","id":4912500,"node_id":"MDQ6VXNlcjQ5MTI1MDA=","avatar_url":"https://avatars2.githubusercontent.com/u/4912500?v=4","gravatar_id":"","url":"https://api.github.com/users/olivielpeau","html_url":"https://github.com/olivielpeau","followers_url":"https://api.github.com/users/olivielpeau/followers","following_url":"https://api.github.com/users/olivielpeau/following{/other_user}","gists_url":"https://api.github.com/users/olivielpeau/gists{/gist_id}","starred_url":"https://api.github.com/users/olivielpeau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olivielpeau/subscriptions","organizations_url":"https://api.github.com/users/olivielpeau/orgs","repos_url":"https://api.github.com/users/olivielpeau/repos","events_url":"https://api.github.com/users/olivielpeau/events{/privacy}","received_events_url":"https://api.github.com/users/olivielpeau/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":0,"state":"open","created_at":"2018-03-23T14:07:14Z","updated_at":"2018-07-25T09:32:18Z","due_on":null,"closed_at":null},"comments":11,"created_at":"2018-03-16T20:36:14Z","updated_at":"2018-07-26T15:23:10Z","closed_at":null,"author_association":"NONE","body":"**Describe what happened:**\r\n\r\nI set `DD_TAGS` to a set of tags joined by spaces and kicked off `dogstatsd`\r\n\r\n**Describe what you expected:**\r\n\r\nI expected the tags to be added before metrics were submitted to DataDog's endpoints\r\n\r\n**Steps to reproduce the issue:**\r\n\r\n```\r\nexport DD_API_KEY=deadbeefdeadbeefdeadbeef\r\nexport DD_TAGS=\"simple-tag-0 key-tag-0:value-0\"\r\n./dogstatsd\r\n```\r\n\r\nThen submit some metrics, note that nothing from DD_TAGS is added before submitting\r\n"},"comment":{"url":"https://api.github.com/repos/DataDog/datadog-agent/issues/comments/408134633","html_url":"https://github.com/DataDog/datadog-agent/issues/1477#issuecomment-408134633","issue_url":"https://api.github.com/repos/DataDog/datadog-agent/issues/1477","id":408134633,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODEzNDYzMw==","user":{"login":"olivielpeau","id":4912500,"node_id":"MDQ6VXNlcjQ5MTI1MDA=","avatar_url":"https://avatars2.githubusercontent.com/u/4912500?v=4","gravatar_id":"","url":"https://api.github.com/users/olivielpeau","html_url":"https://github.com/olivielpeau","followers_url":"https://api.github.com/users/olivielpeau/followers","following_url":"https://api.github.com/users/olivielpeau/following{/other_user}","gists_url":"https://api.github.com/users/olivielpeau/gists{/gist_id}","starred_url":"https://api.github.com/users/olivielpeau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olivielpeau/subscriptions","organizations_url":"https://api.github.com/users/olivielpeau/orgs","repos_url":"https://api.github.com/users/olivielpeau/repos","events_url":"https://api.github.com/users/olivielpeau/events{/privacy}","received_events_url":"https://api.github.com/users/olivielpeau/received_events","type":"User","site_admin":false},"created_at":"2018-07-26T15:23:10Z","updated_at":"2018-07-26T15:23:10Z","author_association":"MEMBER","body":"@2rs2ts Thanks for your response. From what I've checked there hasn't been any backend change that could explain what you're experiencing: host aliases are only used so that metrics coming in with a host alias can be attached to the host that has that host alias (and once the metric is attached to the host, the host tags of that host are applied to the metric).\r\n\r\nI don't think the feature request here is going to solve the issue you're experiencing with host aliases on 5.x and 6.x agents for metrics coming from both dogstatsd and agent checks. Could you share more information about what you're experiencing in the open ticket you have with our support team? (in particular, instances of metrics from 5.x agent checks being attached to the wrong host, or of dogstatsd metrics coming attached to wrong host tags). Thanks!"}}
{"actor":{"display_login":"olivielpeau"}}