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

accept workflow argument in chained alert constructor #435

Merged

Conversation

eirsep
Copy link
Member

@eirsep eirsep commented May 22, 2023

accept workflow argument in chained alert constructor. Workflow would contain id, name and user fields which make it a good dto to pass along similar to how other types of alerts accept monitor object in constructor

@lezzago lezzago merged commit 2bcb529 into opensearch-project:feature/composite-monitors May 22, 2023
eirsep added a commit to eirsep/common-utils that referenced this pull request Jun 19, 2023
eirsep added a commit that referenced this pull request Jun 20, 2023
* adds models for chained alert trigger and chained alerts (#426)

Signed-off-by: Surya Sashank Nistala <[email protected]>

* fix execution id field in alerts (#429)

Signed-off-by: Surya Sashank Nistala <[email protected]>

* accept workflow argument in chained alert constructor (#435)

Signed-off-by: Surya Sashank Nistala <[email protected]>

* add tests for chained alert

Signed-off-by: Surya Sashank Nistala <[email protected]>

---------

Signed-off-by: Surya Sashank Nistala <[email protected]>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jun 20, 2023
* adds models for chained alert trigger and chained alerts (#426)

Signed-off-by: Surya Sashank Nistala <[email protected]>

* fix execution id field in alerts (#429)

Signed-off-by: Surya Sashank Nistala <[email protected]>

* accept workflow argument in chained alert constructor (#435)

Signed-off-by: Surya Sashank Nistala <[email protected]>

* add tests for chained alert

Signed-off-by: Surya Sashank Nistala <[email protected]>

---------

Signed-off-by: Surya Sashank Nistala <[email protected]>
(cherry picked from commit 5ef9b55)
eirsep added a commit that referenced this pull request Jun 20, 2023
* adds models for chained alert trigger and chained alerts (#426)

Signed-off-by: Surya Sashank Nistala <[email protected]>

* fix execution id field in alerts (#429)

Signed-off-by: Surya Sashank Nistala <[email protected]>

* accept workflow argument in chained alert constructor (#435)

Signed-off-by: Surya Sashank Nistala <[email protected]>

* add tests for chained alert

Signed-off-by: Surya Sashank Nistala <[email protected]>

---------

Signed-off-by: Surya Sashank Nistala <[email protected]>
(cherry picked from commit 5ef9b55)

Co-authored-by: Surya Sashank Nistala <[email protected]>
AWSHurneyt pushed a commit to AWSHurneyt/common-utils that referenced this pull request Apr 12, 2024
…pensearch-project#457)

* adds models for chained alert trigger and chained alerts (opensearch-project#426)

Signed-off-by: Surya Sashank Nistala <[email protected]>

* fix execution id field in alerts (opensearch-project#429)

Signed-off-by: Surya Sashank Nistala <[email protected]>

* accept workflow argument in chained alert constructor (opensearch-project#435)

Signed-off-by: Surya Sashank Nistala <[email protected]>

* add tests for chained alert

Signed-off-by: Surya Sashank Nistala <[email protected]>

---------

Signed-off-by: Surya Sashank Nistala <[email protected]>
(cherry picked from commit 5ef9b55)

Co-authored-by: Surya Sashank Nistala <[email protected]>
Signed-off-by: AWSHurneyt <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants