-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* support date_nanos type * support context aware alert analysis * Register summary generation type of IncontextInsight for alert summarization * Fix dashboard unit test failure * Make each alert register its own IncontextInsight * Enable context aware alert only if feature flag is enabled * Avoid unnecessary change and minorly change summary question * Fix undefined alert name * Pass monitor type to additional info object of contextProvider * Address some comments and change feature flag * Add assistant capabilities check to control component rendering * Fix mismatched unit test snapshots * Handle the edge case of multiple indices in search and return more information in additionalInfo * Reduce llm context input size by taking topN active alerts * Distinguish source data and aggregation that trigger the alert * Rename the capability UI rendering flag per assistant plugin change * Remove alert sample data per current requirement from context --------- (cherry picked from commit 6dbdc2e) Signed-off-by: Hailong Cui <ihailong@amazon.com> Signed-off-by: Songkan Tang <songkant@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> Co-authored-by: Hailong Cui <ihailong@amazon.com>
- Loading branch information
1 parent
4e7f2af
commit 10fba98
Showing
9 changed files
with
135 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/* | ||
* Copyright OpenSearch Contributors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/** | ||
* Introduce a compile dependency on dashboards-assistant | ||
* as alerting need some types from the plugin. | ||
* It will give a type error when dashboards-assistant is not installed so add a ts-ignore to suppress the error. | ||
*/ | ||
// @ts-ignore | ||
export type { AssistantSetup } from '../../dashboards-assistant/public'; |