Skip to content

[Backport 2.x] Fixed search monitor API to return alert counts.#990

Merged
AWSHurneyt merged 2 commits intoopensearch-project:2.xfrom
AWSHurneyt:2.x_pr984_backport
Jul 11, 2023
Merged

[Backport 2.x] Fixed search monitor API to return alert counts.#990
AWSHurneyt merged 2 commits intoopensearch-project:2.xfrom
AWSHurneyt:2.x_pr984_backport

Conversation

@AWSHurneyt
Copy link
Collaborator

Issue #, if available:

Description of changes:
Manual backport of PR #978

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.

)

* Fixed a bug in the search monitor API when which prevent alert counts from being returned.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

* Implemented integration test for frontend use case.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

* Fixed ktlint errors.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

* Fixed ktlint errors.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

* Removed redundant code.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

* Fixed ktlint errors.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

* Added back check for null query.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

---------

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
@AWSHurneyt AWSHurneyt changed the title 2.x pr984 backport [Backport 2.x] Fixed search monitor API to return alert counts. Jul 11, 2023
@AWSHurneyt AWSHurneyt merged commit 9c81139 into opensearch-project:2.x Jul 11, 2023
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