[Monitoring] Cluster state watch to Kibana alerting#61685
Merged
chrisronline merged 11 commits intoelastic:masterfrom Apr 6, 2020
Merged
[Monitoring] Cluster state watch to Kibana alerting#61685chrisronline merged 11 commits intoelastic:masterfrom
chrisronline merged 11 commits intoelastic:masterfrom
Conversation
Contributor
|
Pinging @elastic/stack-monitoring (Team:Monitoring) |
10 tasks
Contributor
Author
|
@elasticmachine merge upstream |
Contributor
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
igoristic
reviewed
Apr 6, 2020
| } | ||
| } | ||
|
|
||
| if (alerts.total !== 1) { |
Contributor
There was a problem hiding this comment.
nit: Should this maybe be if (alerts.total > 1) {? Since it can still be a different falsy value
Contributor
|
The i18n tests started failing once this was merged, so I've reverted it for now: https://kibana-ci.elastic.co/job/elastic+kibana+master/4238/execution/node/148/log/ |
gmmorris
added a commit
to gmmorris/kibana
that referenced
this pull request
Apr 7, 2020
* master: (36 commits) [data.search.aggs] Remove service getters from agg types (elastic#61628) fixing APM internationalization (elastic#62757) fix: 🐛 correctly create error on no_matching_indices (elastic#61257) [Lens] Remove all legacy imports (elastic#62596) Add label for ace editor (elastic#62588) [ML] Show better file structure finder explanations (elastic#62316) Fix old pathes in eslintrc (elastic#62580) [Uptime] Improve Telemetry test (elastic#62428) [SIEM] Adds sort rules Cypress test (elastic#62700) [Uptime]Abstracted 'access:uptime-read' tag into a wrapper for… (elastic#62576) fixing bug (elastic#62577) [Maps] Allow updating requestType for ESGeoGridSource (elastic#62365) [Maps] do not show circle border when symbol size is zero (elastic#62644) [Maps] Always show current zoom level (elastic#62684) bc5 siem rules merge (elastic#62679) Revert "[Monitoring] Cluster state watch to Kibana alerting (elastic#61685)" Fix visual tests (elastic#62660) [Telemetry] update crypto packages (elastic#62469) [DOCS] Removed references to left (elastic#60807) [Maps] Move layers to np maps (elastic#61877) ...
chrisronline
added a commit
to chrisronline/kibana
that referenced
this pull request
Apr 7, 2020
…ng (elastic#62793) * Revert "Revert "[Monitoring] Cluster state watch to Kibana alerting (elastic#61685)"" This reverts commit f1bd3bd. * Fix i18n error * Fix test
chrisronline
added a commit
that referenced
this pull request
Apr 7, 2020
10 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Builds upon #54306
Relates to #42960
This PR migrates the next cluster alert, the cluster state one.
Most of the changes in the PR are due to the initial work not working that well for multiple alerts, so some refactoring was necessary.
In particular, the way in which we tell the client what to show in the alert in the UI changed. The original implementation didn't support what we needed to do with other alerts so that's been changed and hopefully makes sense. It's a bit of a "generic" approach and I am welcome to any better approaches here.
Testing
KIBANA_ALERTING_ENABLEDtotruein bothlegacy/plugins/monitoring/common/constants.jsandplugins/monitoring/common/constants.tsScreenshots
Creation
Post creation
TODO