Skip to content

Commit

Permalink
Change default values for window,n and exporter (opensearch-project#196)
Browse files Browse the repository at this point in the history
Signed-off-by: Siddhant Deshmukh <[email protected]>
  • Loading branch information
deshsidd authored Jan 23, 2025
1 parent 1d991b8 commit 5eeb8fe
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ public class QueryInsightsSettings {
/** Default N size for top N queries */
public static final int MAX_N_SIZE = 100;
/** Default window size in seconds to keep the top N queries with latency data in query insight store */
public static final TimeValue DEFAULT_WINDOW_SIZE = new TimeValue(1, TimeUnit.MINUTES);
public static final TimeValue DEFAULT_WINDOW_SIZE = new TimeValue(5, TimeUnit.MINUTES);
/** Default top N size to keep the data in query insight store */
public static final int DEFAULT_TOP_N_SIZE = 3;
public static final int DEFAULT_TOP_N_SIZE = 10;
/**
* Query Insights base uri
*/
Expand Down

0 comments on commit 5eeb8fe

Please sign in to comment.