Skip to content

Commit 59360b1

Browse files
Change default values for window,n and exporter (#196) (#198)
(cherry picked from commit 5eeb8fe) Signed-off-by: Siddhant Deshmukh <deshsid@amazon.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 65fafc6 commit 59360b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/opensearch/plugin/insights/settings/QueryInsightsSettings.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ public class QueryInsightsSettings {
6262
/** Default N size for top N queries */
6363
public static final int MAX_N_SIZE = 100;
6464
/** Default window size in seconds to keep the top N queries with latency data in query insight store */
65-
public static final TimeValue DEFAULT_WINDOW_SIZE = new TimeValue(1, TimeUnit.MINUTES);
65+
public static final TimeValue DEFAULT_WINDOW_SIZE = new TimeValue(5, TimeUnit.MINUTES);
6666
/** Default top N size to keep the data in query insight store */
67-
public static final int DEFAULT_TOP_N_SIZE = 3;
67+
public static final int DEFAULT_TOP_N_SIZE = 10;
6868
/**
6969
* Query Insights base uri
7070
*/

0 commit comments

Comments
 (0)