-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Uptime] Ml anomaly alert edit #76909
Conversation
Pinging @elastic/uptime (Team:uptime) |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@justinkambic please review this when you get chance |
@elasticmachine merge upstream |
@drewpost @paulb-elastic WDYT about this change? This makes the alert ONLY editable from the app, not from the global alerts page. I'm not sure I like this solution, but I'd be curious to hear another thought. |
@andrewvc do you have an alternative solution in mind? |
In the issue #75080 I mentioned making it editable from the alerts manager. I'd still like to hear feedback from @drewpost an @paulb-elastic on this one. |
Yeah biggest problem with that is that it needs context if job is enabled or not, also allowing editing from alert management will also allow to create alert from alerting app. which doesn't make sense at all. I can enable editing the threshold part from alert app, but like i said, it also will allow user to create an alert. |
@elasticmachine merge upstream |
I would think that having the alert be created in Uptime, but then not be available (even listed?) in the central Alerts and Actions section, would be confusing to a user (they may think it is a bug, where has it gone?). Having the ability to define which monitor it relates to also seems necessary (so it doesn't treat all monitors the same, and trigger on any of them, e.g. a dev or staging environment). Being able to do this by selecting the monitor in the |
@paulb-elastic given our discussion about priorities today, I've actually reversed my thinking on this. I'm inclined to accept this patch as is given that selecting the monitor ID in the alert dialog doesn't make much sense, since we'd also need to validate that it has ML properly processing. I think we can improve this flow, but the effort is high, but the benefit not commensurate. Your thoughts? |
@elasticmachine merge upstream |
@andrewvc please give this another look when you get chance :) |
@elasticmachine merge upstream |
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@shahzad31 can you check with @paulb-elastic before merging ? I don't think he has any objections now but it'd be good to be sure |
I talked with @paulb-elastic offline, he gave go ahead, so merging it. |
Co-authored-by: Elastic Machine <[email protected]>
Co-authored-by: Elastic Machine <[email protected]> Co-authored-by: Elastic Machine <[email protected]>
…-to-timeline * 'master' of github.com:elastic/kibana: (22 commits) update apm index pattern (elastic#78732) 78024: move transform out of dataset (elastic#78216) [QA][Code Coverage] Upload the coverage static site before ingestion (elastic#78695) [Discover] Make _source field not clickable (elastic#78698) [Fleet] Rename Ingest Manager => Fleet, Fleet => Agents in the UI (elastic#78685) [APM] Review feedback from distribution + transaction metrics (elastic#78752) [Ingest pipelines] Add ability to stop pipeline simulation (elastic#78183) [CSM] Fix core vital legend background (elastic#78273) [Usage Collection] [schema] Support spreads + `canvas` definition (elastic#78481) fix lodash imports (elastic#78456) [Maps] Add layer type preview icons (elastic#78650) [APM] Use transaction metrics for distribution charts (elastic#78484) [Uptime] Ml anomaly alert edit (elastic#76909) [ML] Limit exposing shared static code through ml/public/index.ts. (elastic#77745) making expression debug info serializable (elastic#78727) fix lodahs imports in app-arch code (elastic#78582) Make Field a React.lazy export (elastic#78483) [Security Solution] Improves detections tests (elastic#77295) [TSVB] Different field format on different series is ignored (elastic#78138) RFC: Improve saved object migrations (elastic#66056) ...
Summary
Fixes: #75080
Enabled requireAppContext true for uptime anomaly alert, because it doesn't make sense to enable/disable it outside uptime app.
ML job needs to be enabled for this alert to work. User enable/edit/delete job via popover alongside ml job.