-
Notifications
You must be signed in to change notification settings - Fork 7
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
[BUG] type param not working as expected for the Top N queries API #80
[BUG] type param not working as expected for the Top N queries API #80
Comments
This behavior is only when We append latency, cpu, memory data here based on
|
When Example: 1st query has only latency, 2nd query has latency & cpu
|
This is an expected behavior, we always measure latency, cpu and memory usage unless you turn off |
What is the bug?
Need to filter out memory and cpu when we query top queries using param :
GET /_insights/top_queries?type=latency
However, looks like this is not getting filtered out and might be a regressions.
How can one reproduce the bug?
Enabled topN:
Index docs and run a few search queries.
GET
http://{{hostname}}/_insights/top_queries?type=latency
What is the expected behavior?
returns latency, cpu and memory but should only return latency. Same for all the other combinations.
What is your host/environment?
mac localhost
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.
The text was updated successfully, but these errors were encountered: