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

cannot query for minduration and tags simultaneously #690

Closed
rbtcollins opened this issue Feb 7, 2018 · 6 comments
Closed

cannot query for minduration and tags simultaneously #690

rbtcollins opened this issue Feb 7, 2018 · 6 comments

Comments

@rbtcollins
Copy link
Contributor

This is presumably known already, but its going to be quite a sharp limit for us as we're using tags to separate out different clusters, and that effectively means we cannot use minduration queries at all :(.


Status | 400
-- | --
Status text | Bad Request
URL | /api/traces
Query | end=1518034550576000&limit=2000&lookback=2d&maxDuration&minDuration=20s&operation=XXX&service=YYY&start=1517861750576000&tags=%7B%22http.status_code%22%3A%22503%22%7D
Response body | {   "data": null,   "total": 0,   "limit": 0,   "offset": 0,   "errors": [     {       "code": 400,       "msg": "Cannot query for tags when 'minDuration' is specified"     }   ] }
@liukai2012
Copy link

@rbtcollins Do you know why the limit exists?

@yurishkuro
Copy link
Member

this is essentially the same reason as #166

@liukai2012
Copy link

liukai2012 commented Sep 6, 2018

@yurishkuro if i use es as a backend storage, can I remove the limit (ps:i do not see the limit in zipkin)

@yurishkuro
Copy link
Member

to my knowledge queries in ES should always work

@liukai2012
Copy link

Ok, Thanks

@yurishkuro
Copy link
Member

Closing in favor of #166

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants