Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 2.x] Context aware alert analysis #1097

Merged
merged 1 commit into from
Sep 19, 2024
Merged

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 6dbdc2e from #996.

* support date_nanos type

Signed-off-by: Hailong Cui <[email protected]>

* support context aware alert analysis

Signed-off-by: Hailong Cui <[email protected]>

* Register summary generation type of IncontextInsight for alert summarization

Signed-off-by: Songkan Tang <[email protected]>

* Fix dashboard unit test failure

Signed-off-by: Songkan Tang <[email protected]>

* Make each alert register its own IncontextInsight

Signed-off-by: Songkan Tang <[email protected]>

* Enable context aware alert only if feature flag is enabled

Signed-off-by: Songkan Tang <[email protected]>

* Avoid unnecessary change and minorly change summary question

Signed-off-by: Songkan Tang <[email protected]>

* Fix undefined alert name

Signed-off-by: Songkan Tang <[email protected]>

* Pass monitor type to additional info object of contextProvider

Signed-off-by: Songkan Tang <[email protected]>

* Address some comments and change feature flag

Signed-off-by: Songkan Tang <[email protected]>

* Add assistant capabilities check to control component rendering

Signed-off-by: Songkan Tang <[email protected]>

* Fix mismatched unit test snapshots

Signed-off-by: Songkan Tang <[email protected]>

* Handle the edge case of multiple indices in search and return more information in additionalInfo

Signed-off-by: Songkan Tang <[email protected]>

* Reduce llm context input size by taking topN active alerts

Signed-off-by: Songkan Tang <[email protected]>

* Distinguish source data and aggregation that trigger the alert

Signed-off-by: Songkan Tang <[email protected]>

* Rename the capability UI rendering flag per assistant plugin change

Signed-off-by: Songkan Tang <[email protected]>

* Remove alert sample data per current requirement from context

Signed-off-by: Songkan Tang <[email protected]>

---------

Signed-off-by: Hailong Cui <[email protected]>
Signed-off-by: Songkan Tang <[email protected]>
Co-authored-by: Hailong Cui <[email protected]>
(cherry picked from commit 6dbdc2e)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@amsiglan amsiglan merged commit 10fba98 into 2.x Sep 19, 2024
14 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants