Skip to content

Commit

Permalink
Make default window size valid for all metric types
Browse files Browse the repository at this point in the history
Signed-off-by: Siddhant Deshmukh <[email protected]>
  • Loading branch information
deshsidd committed Nov 12, 2024
1 parent a5d0de7 commit 66f9aed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ 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(60, TimeUnit.SECONDS);
public static final TimeValue DEFAULT_WINDOW_SIZE = new TimeValue(1, TimeUnit.MINUTES);
/** Default top N size to keep the data in query insight store */
public static final int DEFAULT_TOP_N_SIZE = 3;
/**
Expand Down

0 comments on commit 66f9aed

Please sign in to comment.