Skip to content

Commit 5eeb8fe

Browse files
authored
Change default values for window,n and exporter (#196)
Signed-off-by: Siddhant Deshmukh <deshsid@amazon.com>
1 parent 1d991b8 commit 5eeb8fe

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)