Skip to content

Commit

Permalink
Make default window size valid for all metric types (#156)
Browse files Browse the repository at this point in the history
Signed-off-by: Siddhant Deshmukh <[email protected]>
(cherry picked from commit d2d20e4)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] committed Nov 18, 2024
1 parent 93405a9 commit 2566997
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 2566997

Please sign in to comment.