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

QueryTagBuilder the range time is not effect bug #84

Closed
liuxianqiang001 opened this issue Oct 25, 2019 · 3 comments
Closed

QueryTagBuilder the range time is not effect bug #84

liuxianqiang001 opened this issue Oct 25, 2019 · 3 comments

Comments

@liuxianqiang001
Copy link

liuxianqiang001 commented Oct 25, 2019

QueryTagBuilder queryTagBuilder = QueryTagBuilder.getInstance();
queryTagBuilder.addMetric("aaa".toUpperCase());
queryTagBuilder.setStart(new Date(1357023600000L));
queryTagBuilder.setEnd(new Date(1357023600006L));

the result is all tags , not the range time's tag

I guess the reason may be :
set
HttpClient
((HttpPost) apacheRequest).setEntity(((StringBodySource) request.getBodySource()).toHttpEntity());

get
ProtocolExec
HttpParams params = request.getParams();

@liuxianqiang001 liuxianqiang001 changed the title QueryTagBuilder a range time is not effect QueryTagBuilder the range time is not effect Oct 25, 2019
@liuxianqiang001 liuxianqiang001 changed the title QueryTagBuilder the range time is not effect QueryTagBuilder the range time is not effect bug Oct 28, 2019
@BrentonPoke
Copy link

I'm having trouble understanding why those two lines are at fault. Can you walk me through how you got here?

@liuxianqiang001
Copy link
Author

I'm having trouble understanding why those two lines are at fault. Can you walk me through how you got here?

the first set the query time, the second get the query time, maybe it is not the reason, it is only my guess. In fact ,when i use QueryTagBuilder ,I set the range time ,but it not effect.

@liuxianqiang001
Copy link
Author

so so

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

No branches or pull requests

2 participants