Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add socket support for memcached #891

Merged
merged 2 commits into from May 20, 2014
Merged

add socket support for memcached #891

merged 2 commits into from May 20, 2014

Conversation

mike-lerch
Copy link
Contributor

include socket: in the yaml instead of server: and port:

@mike-lerch
Copy link
Contributor Author

Working example of /etc/dd-agent/conf.d/mcache.yaml:

init_config:

instances:
- socket: /var/run/memcached/memcached.socket

@@ -180,12 +185,14 @@ def parse_agent_config(agentConfig):
all_instances = []

# Load the conf according to the old schema
memcache_socket = agentConfig.get("memcache_socket", None)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need to add that.
This function is used to read from a deprecated configuration format (in datadog.conf)
Can you remove that ?

@mike-lerch
Copy link
Contributor Author

@remh updated

@remh remh added this to the 4.3.x milestone May 8, 2014
@remh
Copy link
Contributor

remh commented May 20, 2014

Looks good to me!
Thanks a lot @mike-lerch !

remh added a commit that referenced this pull request May 20, 2014
add socket support for memcached
@remh remh merged commit 4fb1db1 into DataDog:master May 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants