{"action":"created","issue":{"url":"https://api.github.com/repos/DataDog/dd-agent/issues/1591","labels_url":"https://api.github.com/repos/DataDog/dd-agent/issues/1591/labels{/name}","comments_url":"https://api.github.com/repos/DataDog/dd-agent/issues/1591/comments","events_url":"https://api.github.com/repos/DataDog/dd-agent/issues/1591/events","html_url":"https://github.com/DataDog/dd-agent/issues/1591","id":73082967,"number":1591,"title":"External DogStatsD","user":{"login":"sschepens","id":3072509,"avatar_url":"https://avatars.githubusercontent.com/u/3072509?v=3","gravatar_id":"","url":"https://api.github.com/users/sschepens","html_url":"https://github.com/sschepens","followers_url":"https://api.github.com/users/sschepens/followers","following_url":"https://api.github.com/users/sschepens/following{/other_user}","gists_url":"https://api.github.com/users/sschepens/gists{/gist_id}","starred_url":"https://api.github.com/users/sschepens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sschepens/subscriptions","organizations_url":"https://api.github.com/users/sschepens/orgs","repos_url":"https://api.github.com/users/sschepens/repos","events_url":"https://api.github.com/users/sschepens/events{/privacy}","received_events_url":"https://api.github.com/users/sschepens/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-04T17:48:47Z","updated_at":"2015-05-04T18:53:51Z","closed_at":null,"body":"I'm trying to make a setup where multiple instances report to a single DogStatsD server, is this possible?\r\nI found configurations `statsd_forward_host` and `statsd_forward_port` but they suggest that the server should be a StatsD not a DogStatsD, and this options make DogStatsD start all the same but forward all requests, wouldn't it be better to allow configuration of DogStatsD server? After all there's also a docker image to lift only a DogStatsD server.\r\n"},"comment":{"url":"https://api.github.com/repos/DataDog/dd-agent/issues/comments/98812245","html_url":"https://github.com/DataDog/dd-agent/issues/1591#issuecomment-98812245","issue_url":"https://api.github.com/repos/DataDog/dd-agent/issues/1591","id":98812245,"user":{"login":"LeoCavaille","id":1788830,"avatar_url":"https://avatars.githubusercontent.com/u/1788830?v=3","gravatar_id":"","url":"https://api.github.com/users/LeoCavaille","html_url":"https://github.com/LeoCavaille","followers_url":"https://api.github.com/users/LeoCavaille/followers","following_url":"https://api.github.com/users/LeoCavaille/following{/other_user}","gists_url":"https://api.github.com/users/LeoCavaille/gists{/gist_id}","starred_url":"https://api.github.com/users/LeoCavaille/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeoCavaille/subscriptions","organizations_url":"https://api.github.com/users/LeoCavaille/orgs","repos_url":"https://api.github.com/users/LeoCavaille/repos","events_url":"https://api.github.com/users/LeoCavaille/events{/privacy}","received_events_url":"https://api.github.com/users/LeoCavaille/received_events","type":"User","site_admin":false},"created_at":"2015-05-04T18:53:51Z","updated_at":"2015-05-04T18:53:51Z","body":"Hey @sschepens. I am not sure to get exactly what is your setup.\r\nWhat are the _instances_ you're talking about? agent instances? dogstatsd instances?\r\n\r\ndogstatsd aggregates the data and then flushes it to [this URL](https://github.com/DataDog/dd-agent/blob/5.3.2/datadog.conf.example#L95-L98), which is by default the local forwarder. You could target a unique forwarder for the whole cluster if that the case.\r\nAnother possibility is to keep the local flushing to the forwarder but set up one agent as a proxy for all the other forwarder, see [those instructions](https://github.com/Datadog/dd-agent/wiki/Proxy-Configuration).\r\nLast, you can allow non-local traffic on a dogstatsd instance, that is receiving payloads from other hosts than localhost, this can be setup [here](https://github.com/DataDog/dd-agent/blob/5.3.2/datadog.conf.example#L57-L62).\r\n\r\nLet me know if that answers your question."}}