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] Alerting Enhancements: Alerting Comments (Experimental) (#1561) #1572

Merged
merged 2 commits into from
Jun 12, 2024
Merged

Conversation

toepkerd
Copy link
Contributor

  • initial commit, functional but needs refactoring

  • refactored QueryLevelTriggerExecutionContext to not need both Alert and AlertContext field, but only AlertContext field

  • misc additions and fixes

  • misc cleanup

  • misc changes and basic ITs

  • cleanup

  • renaming notes to comments

  • misc changes

  • changed API endpoints

  • more misc changes and fixes

  • misc cleanup

  • updated a comment

  • misc cleanup and setting refresh policy to immediate

  • fixed lint issues and other restructuring

  • review-based changes

  • update after adding entityType to Comment model

  • misc fixes

  • removing comments history enabled setting

  • adding release notes

  • IT fixes

  • removing dev code vestiges

  • changing logger calls


Issue #, if available:

Description of changes:

CheckList:

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

* initial commit, functional but needs refactoring

Signed-off-by: Dennis Toepker <[email protected]>

* refactored QueryLevelTriggerExecutionContext to not need both Alert and AlertContext field, but only AlertContext field

Signed-off-by: Dennis Toepker <[email protected]>

* misc additions and fixes

Signed-off-by: Dennis Toepker <[email protected]>

* misc cleanup

Signed-off-by: Dennis Toepker <[email protected]>

* misc changes and basic ITs

Signed-off-by: Dennis Toepker <[email protected]>

* cleanup

Signed-off-by: Dennis Toepker <[email protected]>

* renaming notes to comments

Signed-off-by: Dennis Toepker <[email protected]>

* misc changes

Signed-off-by: Dennis Toepker <[email protected]>

* changed API endpoints

Signed-off-by: Dennis Toepker <[email protected]>

* more misc changes and fixes

Signed-off-by: Dennis Toepker <[email protected]>

* misc cleanup

Signed-off-by: Dennis Toepker <[email protected]>

* updated a comment

Signed-off-by: Dennis Toepker <[email protected]>

* misc cleanup and setting refresh policy to immediate

Signed-off-by: Dennis Toepker <[email protected]>

* fixed lint issues and other restructuring

Signed-off-by: Dennis Toepker <[email protected]>

* review-based changes

Signed-off-by: Dennis Toepker <[email protected]>

* update after adding entityType to Comment model

Signed-off-by: Dennis Toepker <[email protected]>

* misc fixes

Signed-off-by: Dennis Toepker <[email protected]>

* removing comments history enabled setting

Signed-off-by: Dennis Toepker <[email protected]>

* adding release notes

Signed-off-by: Dennis Toepker <[email protected]>

* IT fixes

Signed-off-by: Dennis Toepker <[email protected]>

* removing dev code vestiges

Signed-off-by: Dennis Toepker <[email protected]>

* changing logger calls

Signed-off-by: Dennis Toepker <[email protected]>

---------

Signed-off-by: Dennis Toepker <[email protected]>
Co-authored-by: Dennis Toepker <[email protected]>
@toepkerd toepkerd marked this pull request as ready for review June 12, 2024 01:37
@toepkerd
Copy link
Contributor Author

toepkerd commented Jun 12, 2024

As per this comment, CI Failures will be addressed at a later time: #1561 (comment). The failing tests, latest error is not lost when alert is completed and test alert completion are the same ones failing in the original PR.

Signed-off-by: Dennis Toepker <[email protected]>
@AWSHurneyt AWSHurneyt merged commit f52eb2a into opensearch-project:2.x Jun 12, 2024
7 of 18 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jun 12, 2024
#1561) (#1572)

* Alerting Enhancements: Alerting Comments (Experimental) (#1561)

* initial commit, functional but needs refactoring

Signed-off-by: Dennis Toepker <[email protected]>

* refactored QueryLevelTriggerExecutionContext to not need both Alert and AlertContext field, but only AlertContext field

Signed-off-by: Dennis Toepker <[email protected]>

* misc additions and fixes

Signed-off-by: Dennis Toepker <[email protected]>

* misc cleanup

Signed-off-by: Dennis Toepker <[email protected]>

* misc changes and basic ITs

Signed-off-by: Dennis Toepker <[email protected]>

* cleanup

Signed-off-by: Dennis Toepker <[email protected]>

* renaming notes to comments

Signed-off-by: Dennis Toepker <[email protected]>

* misc changes

Signed-off-by: Dennis Toepker <[email protected]>

* changed API endpoints

Signed-off-by: Dennis Toepker <[email protected]>

* more misc changes and fixes

Signed-off-by: Dennis Toepker <[email protected]>

* misc cleanup

Signed-off-by: Dennis Toepker <[email protected]>

* updated a comment

Signed-off-by: Dennis Toepker <[email protected]>

* misc cleanup and setting refresh policy to immediate

Signed-off-by: Dennis Toepker <[email protected]>

* fixed lint issues and other restructuring

Signed-off-by: Dennis Toepker <[email protected]>

* review-based changes

Signed-off-by: Dennis Toepker <[email protected]>

* update after adding entityType to Comment model

Signed-off-by: Dennis Toepker <[email protected]>

* misc fixes

Signed-off-by: Dennis Toepker <[email protected]>

* removing comments history enabled setting

Signed-off-by: Dennis Toepker <[email protected]>

* adding release notes

Signed-off-by: Dennis Toepker <[email protected]>

* IT fixes

Signed-off-by: Dennis Toepker <[email protected]>

* removing dev code vestiges

Signed-off-by: Dennis Toepker <[email protected]>

* changing logger calls

Signed-off-by: Dennis Toepker <[email protected]>

---------

Signed-off-by: Dennis Toepker <[email protected]>
Co-authored-by: Dennis Toepker <[email protected]>

* fixed imports

Signed-off-by: Dennis Toepker <[email protected]>

---------

Signed-off-by: Dennis Toepker <[email protected]>
Co-authored-by: Dennis Toepker <[email protected]>
(cherry picked from commit f52eb2a)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
jowg-amazon pushed a commit that referenced this pull request Jun 12, 2024
#1561) (#1572) (#1573)

* Alerting Enhancements: Alerting Comments (Experimental) (#1561)

* initial commit, functional but needs refactoring



* refactored QueryLevelTriggerExecutionContext to not need both Alert and AlertContext field, but only AlertContext field



* misc additions and fixes



* misc cleanup



* misc changes and basic ITs



* cleanup



* renaming notes to comments



* misc changes



* changed API endpoints



* more misc changes and fixes



* misc cleanup



* updated a comment



* misc cleanup and setting refresh policy to immediate



* fixed lint issues and other restructuring



* review-based changes



* update after adding entityType to Comment model



* misc fixes



* removing comments history enabled setting



* adding release notes



* IT fixes



* removing dev code vestiges



* changing logger calls



---------




* fixed imports



---------



(cherry picked from commit f52eb2a)

Signed-off-by: Dennis Toepker <[email protected]>
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: Dennis Toepker <[email protected]>
@toepkerd toepkerd deleted the 2xbackport branch June 12, 2024 02:29
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.

4 participants