opensearch-project / query-insights

Query Insights plugin offers frameworks and APIs for analyzing and optimizing query performance in OpenSearch.
Apache License 2.0
7 stars 4 forks source link

[FEATURE] Top N Queries API should be able to get historical data from index #12

Closed ansjcy closed 3 days ago

ansjcy commented 2 months ago

Is your feature request related to a problem?

Currently we can export historical top n queries data into local index, and to view the historical data we have to manually search the index. It would be convenient if we can provide the functionality to specify time ranges in the top n queries API, and the API handles the logic to search in local index.

What alternatives have you considered?

We keep the current logic, but it would not be convenient for the user and also make the dashboard logic complex when getting historical top n queries.

Do you have any additional context?

Add any other context or screenshots about the feature request here.

dblock commented 1 month ago

[Catch All Triage - 1, 2, 3, 4]