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

[checks] Handle requests raised timeouts in http_check #1761

Merged
merged 2 commits into from
Jul 15, 2015

Conversation

hkaj
Copy link
Member

@hkaj hkaj commented Jul 9, 2015

This fixes a bug reported by a customer where the service check wasn't set to DOWN since the exception was caught by the last, general except.

@remh
Copy link

remh commented Jul 13, 2015

Nice,

Can we refactor this part of the code ?
https://github.com/DataDog/dd-agent/blob/haissam/http_check_exception/checks.d/http_check.py#L88-L116

Looks like we could catch these 3 exceptions at once.

@remh remh self-assigned this Jul 13, 2015
@remh remh added this to the 5.5.0 milestone Jul 13, 2015
@hkaj hkaj force-pushed the haissam/http_check_exception branch from 71be407 to e780ca8 Compare July 13, 2015 16:48
@hkaj
Copy link
Member Author

hkaj commented Jul 13, 2015

thanks for the suggestion @remh, it's done

remh pushed a commit that referenced this pull request Jul 15, 2015
[checks] Handle requests raised timeouts in http_check
@remh remh merged commit 7ac665c into master Jul 15, 2015
@LeoCavaille LeoCavaille deleted the haissam/http_check_exception branch August 11, 2015 19:01
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.

2 participants