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

[core] avoid calls to service discovery from dogstatsd #2798

Merged
merged 1 commit into from Sep 6, 2016

Conversation

hkaj
Copy link
Member

@hkaj hkaj commented Aug 31, 2016

What does this PR do?

Dogstatsd calls util.get_hostname that in turn was making calls to service discovery related code. This PR remove this behavior.

Motivation

Although it was just calling the constructor of the config store class as a side effect, it's better to keep things separated.

Testing Guidelines

We should make sure the hostname is still resolved the same way to avoid breaking things. This was tested locally with and without docker and the results are satisfying.

Additional Notes

🙈

@hkaj hkaj changed the title [core] Make sure that starting dogstatsd doesn't create calls to service dis… [core] avoid calls to service discovery from dogstatsd Aug 31, 2016
@hkaj hkaj force-pushed the haissam/dogstatsd-sd-issue branch from 5d9727d to 4bc1b22 Compare August 31, 2016 16:34
@hkaj
Copy link
Member Author

hkaj commented Aug 31, 2016

CI failures are unrelated (timeouts)

@hkaj hkaj added this to the 5.9.0 milestone Aug 31, 2016
@hkaj hkaj assigned yannmh and unassigned remh Sep 2, 2016
@olivielpeau
Copy link
Member

LGTM!

@hkaj hkaj unassigned yannmh Sep 6, 2016
@hkaj
Copy link
Member Author

hkaj commented Sep 6, 2016

thanks @olivielpeau

@hkaj hkaj merged commit fdecc52 into master Sep 6, 2016
@hkaj hkaj deleted the haissam/dogstatsd-sd-issue branch September 6, 2016 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants