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

acknowledge chained alert request for workflow #459

Merged
merged 1 commit into from
Jun 21, 2023

Conversation

eirsep
Copy link
Member

@eirsep eirsep commented Jun 21, 2023

Description

adds request dto for acknowledging chained alerts.

Current ack alerts API requires monitor Id.

Chained alerts will not have monitor id and are set with workflow id as routing. We will have a new request body accepting alert ids and workflow id to acknowledge chained alerts.

Signed-off-by: Surya Sashank Nistala <snistala@amazon.com>
@codecov
Copy link

codecov bot commented Jun 21, 2023

Codecov Report

Merging #459 (3eb433d) into main (5ef9b55) will increase coverage by 0.02%.
The diff coverage is 91.66%.

@@             Coverage Diff              @@
##               main     #459      +/-   ##
============================================
+ Coverage     73.78%   73.80%   +0.02%     
- Complexity      819      824       +5     
============================================
  Files           126      127       +1     
  Lines          5341     5353      +12     
  Branches        675      675              
============================================
+ Hits           3941     3951      +10     
- Misses         1103     1104       +1     
- Partials        297      298       +1     
Impacted Files Coverage Δ
.../alerting/action/AcknowledgeChainedAlertRequest.kt 91.66% <91.66%> (ø)

... and 1 file with indirect coverage changes

@eirsep eirsep merged commit fcb853e into opensearch-project:main Jun 21, 2023
9 of 10 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jun 21, 2023
Signed-off-by: Surya Sashank Nistala <snistala@amazon.com>
(cherry picked from commit fcb853e)
eirsep added a commit that referenced this pull request Jun 21, 2023
Signed-off-by: Surya Sashank Nistala <snistala@amazon.com>
(cherry picked from commit fcb853e)

Co-authored-by: Surya Sashank Nistala <sashank.nistala@gmail.com>
AWSHurneyt pushed a commit to AWSHurneyt/common-utils that referenced this pull request Apr 12, 2024
… (opensearch-project#460)

Signed-off-by: Surya Sashank Nistala <snistala@amazon.com>
(cherry picked from commit fcb853e)

Co-authored-by: Surya Sashank Nistala <sashank.nistala@gmail.com>
Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
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.

3 participants