You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default window size for latency, cpu and memory is 60s hardcoded on the backend:
public static final TimeValue DEFAULT_WINDOW_SIZE = new TimeValue(60, TimeUnit.SECONDS);
The valid window sizes are defined as:
public static final Set<TimeValue> VALID_WINDOW_SIZES_IN_MINUTES = new HashSet<>(
Arrays.asList(
new TimeValue(1, TimeUnit.MINUTES),
new TimeValue(5, TimeUnit.MINUTES),
new TimeValue(10, TimeUnit.MINUTES),
new TimeValue(30, TimeUnit.MINUTES)
)
);
The default window size is not a valid window size based on the above.
What is the bug?
The default window size for latency, cpu and memory is
60s
hardcoded on the backend:The valid window sizes are defined as:
The default window size is not a valid window size based on the above.
This will break the QI dashboard since the dashboard only parses timeunit
m
andh
:https://github.com/opensearch-project/query-insights-dashboards/blob/main/public/pages/TopNQueries/TopNQueries.tsx#L192
How can one reproduce the bug?
Steps to reproduce the behavior.
What is the expected behavior?
A clear and concise description of what you expected to happen.
What is your host/environment?
Operating system, version.
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.
The text was updated successfully, but these errors were encountered: