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

changes to add support for remote monitors in alerting #662

Merged
merged 2 commits into from
May 28, 2024

Conversation

sbcd90
Copy link
Collaborator

@sbcd90 sbcd90 commented May 25, 2024

Description

changes to add support for remote monitors in alerting

Issues Resolved

opensearch-project/alerting#1546

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • 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.

@sbcd90 sbcd90 marked this pull request as draft May 25, 2024 03:41
@sbcd90 sbcd90 marked this pull request as ready for review May 28, 2024 02:18

import org.opensearch.action.ActionType

class DocLevelMonitorFanOutAction private constructor() : ActionType<DocLevelMonitorFanOutResponse>(NAME, ::DocLevelMonitorFanOutResponse) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are all these classes not in alerting commons?

/**
* Converts into a user friendly message.
*/
class AlertingException(message: String, val status: RestStatus, val ex: Exception) : OpenSearchException(message, ex) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why did we move this class??

eirsep
eirsep previously approved these changes May 28, 2024
@eirsep
Copy link
Member

eirsep commented May 28, 2024

what about the åctual fan out logic?

Signed-off-by: Subhobrata Dey <[email protected]>
@eirsep eirsep merged commit 7706019 into opensearch-project:main May 28, 2024
9 checks passed
AWSHurneyt pushed a commit to AWSHurneyt/common-utils that referenced this pull request Jun 25, 2024
…oject#662)

* changes to add support for remote monitors in alerting

Signed-off-by: Subhobrata Dey <[email protected]>

* add tests for moved classes

Signed-off-by: Subhobrata Dey <[email protected]>

---------

Signed-off-by: Subhobrata Dey <[email protected]>
jowg-amazon pushed a commit that referenced this pull request Jul 2, 2024
* changes to add support for remote monitors in alerting

Signed-off-by: Subhobrata Dey <[email protected]>

* add tests for moved classes

Signed-off-by: Subhobrata Dey <[email protected]>

---------

Signed-off-by: Subhobrata Dey <[email protected]>
jowg-amazon pushed a commit to jowg-amazon/common-utils that referenced this pull request Jul 2, 2024
…oject#662)

* changes to add support for remote monitors in alerting

Signed-off-by: Subhobrata Dey <[email protected]>

* add tests for moved classes

Signed-off-by: Subhobrata Dey <[email protected]>

---------

Signed-off-by: Subhobrata Dey <[email protected]>
jowg-amazon added a commit that referenced this pull request Jul 2, 2024
* changes to add support for remote monitors in alerting (#661)

Signed-off-by: Subhobrata Dey <[email protected]>

* changes to add support for remote monitors in alerting (#662)

* changes to add support for remote monitors in alerting

Signed-off-by: Subhobrata Dey <[email protected]>

* add tests for moved classes

Signed-off-by: Subhobrata Dey <[email protected]>

---------

Signed-off-by: Subhobrata Dey <[email protected]>

* changes to support generic inputs and triggers in remote monitors (#664)

Signed-off-by: Subhobrata Dey <[email protected]>

* add remote doc level monitor input (#665)

Signed-off-by: Subhobrata Dey <[email protected]>

* fix serde of RemoteDocLevelMonitorInput (#666)

Signed-off-by: Subhobrata Dey <[email protected]>

* fix serde for monitor (#692)

Signed-off-by: Subhobrata Dey <[email protected]>

---------

Signed-off-by: Subhobrata Dey <[email protected]>
Co-authored-by: Subhobrata Dey <[email protected]>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jul 2, 2024
* changes to add support for remote monitors in alerting (#661)

Signed-off-by: Subhobrata Dey <[email protected]>

* changes to add support for remote monitors in alerting (#662)

* changes to add support for remote monitors in alerting

Signed-off-by: Subhobrata Dey <[email protected]>

* add tests for moved classes

Signed-off-by: Subhobrata Dey <[email protected]>

---------

Signed-off-by: Subhobrata Dey <[email protected]>

* changes to support generic inputs and triggers in remote monitors (#664)

Signed-off-by: Subhobrata Dey <[email protected]>

* add remote doc level monitor input (#665)

Signed-off-by: Subhobrata Dey <[email protected]>

* fix serde of RemoteDocLevelMonitorInput (#666)

Signed-off-by: Subhobrata Dey <[email protected]>

* fix serde for monitor (#692)

Signed-off-by: Subhobrata Dey <[email protected]>

---------

Signed-off-by: Subhobrata Dey <[email protected]>
Co-authored-by: Subhobrata Dey <[email protected]>
(cherry picked from commit fbb297b)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
jowg-amazon pushed a commit that referenced this pull request Jul 2, 2024
* changes to add support for remote monitors in alerting (#661)



* changes to add support for remote monitors in alerting (#662)

* changes to add support for remote monitors in alerting



* add tests for moved classes



---------



* changes to support generic inputs and triggers in remote monitors (#664)



* add remote doc level monitor input (#665)



* fix serde of RemoteDocLevelMonitorInput (#666)



* fix serde for monitor (#692)



---------



(cherry picked from commit fbb297b)

Signed-off-by: Subhobrata Dey <[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: Subhobrata Dey <[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.

3 participants