-
Notifications
You must be signed in to change notification settings - Fork 797
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
Feature request: Allow indices stats search API to support groups. #223
Comments
I think it'd be very valuable to be able to request and monitor all groups when fetching the node statistics: |
I don't have an overview what metrics we would add compared to the existing stats collector. If it makes sense (as @nomoa indicates with the <3), we can discuss the technical implications (compatibility with the existing stats collector, json unmarshaling, ...). I'm a bit conservative with adding more and more collectors to the exporter that increase the number of http calls and load on the ES nodes, but if provides a significant benefit to the majority of users, we can of cause discuss it. Can you please elaborate a bit on it? I currently don't have much time to work on this, but I'm happy to review PRs |
This feature would not require another api call I think as it would fit in the current Stats groups allow application developers to tag their elasticsearch queries with a specific group, elasticsearch will then make these groups available through the stats API.
By scanning the This would allow to graph a specific group (e.g. fetch times of autocomplete queries vs fulltext search queries). |
I fully agree with @onimisionipe and @nomoa, this is a feature that would allow to compare different dashboard performance, or compare different queries performance based on their target index. It would allow to benchmark specific queries and understand optimizations once they are in place. |
Hello again and thank you for this good work!
Would be nice to have groups option for indices stats (https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-stats.html).
e.g
GET /_stats/search?groups=group1,group2
This would help us track some specific group performance metrics.
This is currently being tracked here: https://phabricator.wikimedia.org/T214547
The text was updated successfully, but these errors were encountered: