Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi Hakim committed Apr 9, 2014
2 parents b29abea + db106fa commit eed6e91
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ def get_config(parse_args=True, cfg_path=None, options=None):
# Dogstatsd config
dogstatsd_defaults = {
'dogstatsd_port': 8125,
'dogstatsd_target': 'http://localhost:17123',
'dogstatsd_target': 'http://' + agentConfig['bind_host'] + ':17123',
'dogstatsd_interval': dogstatsd_interval,
'dogstatsd_agregator_bucket_size': dogstatsd_agregator_bucket_size,
'dogstatsd_normalize': 'yes',
Expand Down
7 changes: 4 additions & 3 deletions datadog.conf.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
# The host of the Datadog intake server to send Agent data to
dd_url: https://app.datadoghq.com

# The loopback address the Agent will bind
# bind_host: localhost

# If you need a proxy to connect to the Internet, provide the settings here
# proxy_host: my-proxy.com
# proxy_port: 3128
Expand Down Expand Up @@ -57,6 +54,10 @@ use_mount: no
# Default to the simple http client
# use_curl_http_client: False

# The loopback address the Forwarder and Dogstatsd will bind.
# Optional, it is mainly used when running the agent on Openshift
# bind_host: localhost

# ========================================================================== #
# Pup configuration
# ========================================================================== #
Expand Down

0 comments on commit eed6e91

Please sign in to comment.