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

return an empty array when using percentile #2207

Closed
ss666 opened this issue Dec 9, 2021 · 0 comments
Closed

return an empty array when using percentile #2207

ss666 opened this issue Dec 9, 2021 · 0 comments

Comments

@ss666
Copy link

ss666 commented Dec 9, 2021

opentsdb version 2.4.1
HTTP requests were implemented in Python. Just wondering is there something wrong with data stored or query format, because query Q2 worked well, but query Q1 just returned an empty array []:

Q1. requests.get(OPENTSDB_QUERY_URL + 'start=' + str(start_time) + '&m=sum:percentiles[99.9,75.0] :cluster_allocatedVCores'+'&show_query=true', verify=False).json()

Q2. requests.get(OPENTSDB_QUERY_URL + 'start=' + str(start_time) + '&m=sum:cluster_allocatedVCores'+'&show_query=true', verify=False).json()

@ss666 ss666 closed this as completed Dec 27, 2021
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

1 participant