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

fix success flag emitted in router query metrics #1653

Merged
merged 1 commit into from
Aug 21, 2015

Conversation

nishantmonu51
Copy link
Member

check the success flag on result instead of always returning true.

@@ -274,7 +274,7 @@ public void onComplete(Result result)
"query/time",
requestTime,
"success",
true
result.isSucceeded()
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this would cause requests to fail more often, wouldn't it be better if requests were always successful?

@gianm
Copy link
Contributor

gianm commented Aug 21, 2015

👍

fjy added a commit that referenced this pull request Aug 21, 2015
fix success flag emitted in router query metrics
@fjy fjy merged commit e3964cd into apache:master Aug 21, 2015
@drcrallen drcrallen deleted the fix-success-flag branch August 21, 2015 16:22
@xvrl xvrl mentioned this pull request Aug 21, 2015
seoeun25 pushed a commit to seoeun25/incubator-druid that referenced this pull request Jan 10, 2020
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

3 participants