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] Implemented cross-cluster monitors. #872

Merged
merged 1 commit into from
Feb 6, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport fb82368 from #871.

* Support any channel types from Notification (#743)

* Support any channel types from Notification

Signed-off-by: Ashish Agrawal <[email protected]>

* Remove unused CHANNEL_TYPES constant

Signed-off-by: Ashish Agrawal <[email protected]>

* Return empty array if failed to get features

Signed-off-by: Ashish Agrawal <[email protected]>

---------

Signed-off-by: Ashish Agrawal <[email protected]>
Signed-off-by: AWSHurneyt <[email protected]>

* Drafted 2.11 release notes. (#764)

* Drafted 2.11 release notes.

Signed-off-by: AWSHurneyt <[email protected]>

* Drafted 2.11 release notes.

Signed-off-by: AWSHurneyt <[email protected]>

---------

Signed-off-by: AWSHurneyt <[email protected]>

* Removed "last updated by" sections from the UI. (#767)

* Removed "last updated by" section from the UI as the SearchMonitor API can no longer return that info.

Signed-off-by: AWSHurneyt <[email protected]>

* Updated cypress workflow.

Signed-off-by: AWSHurneyt <[email protected]>

---------

Signed-off-by: AWSHurneyt <[email protected]>

* Onboard Jenkins prod docker image to github actions (#789)

* Onboard Jenkins prod docker image to github actions

Signed-off-by: Peter Zhu <[email protected]>

* Small typos

Signed-off-by: Peter Zhu <[email protected]>

* Add back workflows

Signed-off-by: Peter Zhu <[email protected]>

* Restore macos/windows

Signed-off-by: Peter Zhu <[email protected]>

---------

Signed-off-by: Peter Zhu <[email protected]>
Signed-off-by: AWSHurneyt <[email protected]>

* Bumped babel version. (#821)

* Bumped babel version. Adjusted babel config. Refactored unit test that started failing after bump.

Signed-off-by: AWSHurneyt <[email protected]>

* Updated yarn file.

Signed-off-by: AWSHurneyt <[email protected]>

---------

Signed-off-by: AWSHurneyt <[email protected]>

* Fix fetching of channels for composite monitors (#820)

* fixed incorrect use of this.props

Signed-off-by: Amardeepsingh Siglani <[email protected]>

* resolved dependency conflict

Signed-off-by: Amardeepsingh Siglani <[email protected]>

* updated babel config

Signed-off-by: Amardeepsingh Siglani <[email protected]>

---------

Signed-off-by: Amardeepsingh Siglani <[email protected]>
Signed-off-by: AWSHurneyt <[email protected]>

* Added 2.11.1 release notes. (#828)

* Amended 2.11.0 release notes.

Signed-off-by: AWSHurneyt <[email protected]>

* Added 2.11.1 release notes.

Signed-off-by: AWSHurneyt <[email protected]>

* Added 2.11.1 release notes.

Signed-off-by: AWSHurneyt <[email protected]>

* Added 2.11.1 release notes.

Signed-off-by: AWSHurneyt <[email protected]>

* Added 2.11.1 release notes.

Signed-off-by: AWSHurneyt <[email protected]>

---------

Signed-off-by: AWSHurneyt <[email protected]>

* Fixed bucket monitor groupBy/aggregation display bug. (#827)

* Fixed a bug that was causing groupBy/aggregation fields from displaying in various areas of the UI. Related issues: 816, 817, 818.

Signed-off-by: AWSHurneyt <[email protected]>

* Fixed trigger context object bug in issue 791.

Signed-off-by: AWSHurneyt <[email protected]>

* Capitalized bucket column titles, and moved bucket columns to the end of the column array.

Signed-off-by: AWSHurneyt <[email protected]>

* Added wait steps to reduce test flakiness.

Signed-off-by: AWSHurneyt <[email protected]>

* Added wait step to reduce test flakiness. Adjusted test monitor trigger condition to always triggers on a healthy clusters.

Signed-off-by: AWSHurneyt <[email protected]>

* Removed unused imports.

Signed-off-by: AWSHurneyt <[email protected]>

* fixed bucket level monitor flaky cypress test

Signed-off-by: Amardeepsingh Siglani <[email protected]>

---------

Signed-off-by: AWSHurneyt <[email protected]>
Signed-off-by: Amardeepsingh Siglani <[email protected]>
Co-authored-by: Amardeepsingh Siglani <[email protected]>
Signed-off-by: AWSHurneyt <[email protected]>

* Issue #671 fix trigger name validation (#794)

Signed-off-by: Chenxi Wang <[email protected]>
Signed-off-by: AWSHurneyt <[email protected]>

* Remove integtest.sh since it is not being used (#849)

Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: AWSHurneyt <[email protected]>

* do not create Message component on every text change (#854)

Signed-off-by: Amardeepsingh Siglani <[email protected]>
Signed-off-by: AWSHurneyt <[email protected]>

* Implemented server API call to feature backend API.

Signed-off-by: AWSHurneyt <[email protected]>

* Implemented remote cluster support for creating/editing query, bucket, and cluster metrics monitors.

Signed-off-by: AWSHurneyt <[email protected]>

* Implemented warning model when monitor execution time exceeds a certain value.

Signed-off-by: AWSHurneyt <[email protected]>

* Updated alert details flyout to show remote cluster info. Updated monitor details page to show data sources.

Signed-off-by: AWSHurneyt <[email protected]>

* Updated unit tests.

Signed-off-by: AWSHurneyt <[email protected]>

* Added experimental banner.

Signed-off-by: AWSHurneyt <[email protected]>

* Updated snapshots.

Signed-off-by: AWSHurneyt <[email protected]>

* Edited text on the experimental banner.

Signed-off-by: AWSHurneyt <[email protected]>

* Moved getSettings call to hide Data source panel for cluster metrics monitors when remote monitoring is disabled.

Signed-off-by: AWSHurneyt <[email protected]>

* Updated snapshots.

Signed-off-by: AWSHurneyt <[email protected]>

* Increased cypress test timeout.

Signed-off-by: AWSHurneyt <[email protected]>

---------

Signed-off-by: Ashish Agrawal <[email protected]>
Signed-off-by: AWSHurneyt <[email protected]>
Signed-off-by: Peter Zhu <[email protected]>
Signed-off-by: Amardeepsingh Siglani <[email protected]>
Signed-off-by: Chenxi Wang <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
Co-authored-by: Ashish Agrawal <[email protected]>
Co-authored-by: Peter Zhu <[email protected]>
Co-authored-by: Amardeepsingh Siglani <[email protected]>
Co-authored-by: Chenxi Wang <[email protected]>
Co-authored-by: Derek Ho <[email protected]>
(cherry picked from commit fb82368)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Copy link

codecov bot commented Feb 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (607b2d7) 49.80% compared to head (f2dfb7e) 48.74%.

Additional details and impacted files
@@            Coverage Diff             @@
##              2.x     #872      +/-   ##
==========================================
- Coverage   49.80%   48.74%   -1.06%     
==========================================
  Files         232      236       +4     
  Lines        6565     6839     +274     
  Branches      939      995      +56     
==========================================
+ Hits         3270     3334      +64     
- Misses       3292     3502     +210     
  Partials        3        3              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@AWSHurneyt
Copy link
Collaborator

As mentioned in the original PR, the cluster metrics cypress tests pass locally.
#871 (comment)

@AWSHurneyt
Copy link
Collaborator

Ran all the cypress tests locally again just to make sure. All passed.
Screenshot 2024-02-06 at 12 19 41 PM
Screenshot 2024-02-06 at 12 23 01 PM
Screenshot 2024-02-06 at 12 29 03 PM
Screenshot 2024-02-06 at 12 31 32 PM
Screenshot 2024-02-06 at 12 33 20 PM
Screenshot 2024-02-06 at 12 37 34 PM
Screenshot 2024-02-06 at 12 41 26 PM
Screenshot 2024-02-06 at 12 43 01 PM
Screenshot 2024-02-06 at 12 46 58 PM

@AWSHurneyt AWSHurneyt merged commit a66a331 into 2.x Feb 6, 2024
13 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants