-
Notifications
You must be signed in to change notification settings - Fork 897
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
Show monitoring screen by default #14976
Conversation
@simon3z how do we move this forward? (we should have someone from core/other providers to work with) |
@moolitayer this is currently discussed at ManageIQ core level with @Loicavenel. @moolitayer would this show all the alerts from all the providers? The plan was to have a common story to enable this (maybe we could have enabled it only for OpenShift if the Alert path forward was more well defined). |
We probably will need another solution for resolving alerts for systems that do not support it. For example, I'm still trying to figure out what should be the Prometheus flow; they allow silencing alerts until a time in the future, but I find it hard to believe that's all they do. Just a reminder, Kenny(I think it was Kenny) from ops mentioned they could also use silencing if it's until a certain date [1] https://github.com/ManageIQ/manageiq/blob/master/app/models/miq_alert.rb#L221 |
@Loicavenel this uses the same table as other alerts, and we added some fields. Some are populated for all providers: Some will be populated only in the cm ops flow: Those would be empty for other providers and need more implementation |
@Loicavenel @simon3z bump |
1 similar comment
@Loicavenel @simon3z bump |
@Loicavenel FYI we'll move forward with this as soon as @moolitayer finalized his alerts collection side. |
@simon3z I have a first discussion with Dan C yesterday on it, he is looking in the effort to be able send CF Alert to this UI and update the severity and User should be able to Resolve it via an action. |
@Loicavenel see this comment on which alerts should show up on the screen |
@moolitayer Ok, so, if for other provider I want to see it, do I need to populate all fields ? Severity & Resolved will make sense but URL is more complex.. @dclarizio for visibility, we discuss this yesterday |
Severity has a default. URL and resolved are optional. There is however an unexpected behavior currently where if resolved is nil and not false (which would be the case for all non hawkular/openshift alerts) then the alert is not shown. I'm looking into it |
|
@simon3z @Loicavenel bump |
1 similar comment
@simon3z @Loicavenel bump |
@moolitayer I think we can remove this from |
92c9468
to
c88df59
Compare
@@ -1037,7 +1037,6 @@ | |||
:container_deployment_wizard: false | |||
:datawarehouse_manager: false | |||
:prototype: |
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.
I left the prototype section here although it's empty. It will be useful next time someone has a prototype.
Checked commit moolitayer@c88df59 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
UI change in ManageIQ/manageiq-ui-classic#1982 |
@moolitayer why should hide more recent Alerts? |
@Loicavenel that screen hasn't been designed and implemented |
@moolitayer purpose of this PR is not clear to me, Monitoring tab will be hidden by default before/after changes in this PR because of this check https://github.com/ManageIQ/manageiq-ui-classic/blob/master/app/presenters/menu/default_menu.rb#L267 |
@h-kataria that check is removed in ManageIQ/manageiq-ui-classic#1982. |
Added instructions on how to view the screen in the first comment |
looks good |
This suggest showing the new alerts screen by default.
Before this can go in:
[1]
Main differences in existing alerts:
miq_alert_status.message
message will come from themiq_alert.message
Screenshots
Playing with the screen
https://github.com/moolitayer/scripts-public/blob/master/ruby/miq-create-alert-statuses.rb
(The script needs a container provider and a node)