Skip to content

Conversation

@vikram-raj
Copy link
Member

@vikram-raj vikram-raj commented Jan 22, 2020

Stories - https://issues.redhat.com/browse/ODC-2596 and https://issues.redhat.com/browse/ODC-2600

This PR adds the Alerts and Events section under the monitoring tab of the overview panel.

Peek 2020-01-23 16-42

@openshift-ci-robot openshift-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Jan 22, 2020
@vikram-raj
Copy link
Member Author

/kind feature

@openshift-ci-robot openshift-ci-robot added kind/feature Categorizes issue or PR as related to a new feature. component/core Related to console core functionality component/dev-console Related to dev-console component/sdk Related to console-plugin-sdk labels Jan 22, 2020
Copy link
Contributor

@serenamarie125 serenamarie125 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change the "Events" accordion to say "All Events"
Please change the "Alerts" section to "Events (Warning)", and only show the warning level events

@vikram-raj vikram-raj force-pushed the monitoring-alert-event branch 2 times, most recently from 29c6b97 to 50dcd81 Compare January 23, 2020 08:01
@openshift-ci-robot openshift-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Jan 23, 2020
@vikram-raj vikram-raj force-pushed the monitoring-alert-event branch 3 times, most recently from bc973e5 to 701037c Compare January 23, 2020 10:51
@openshift-ci-robot openshift-ci-robot added the component/shared Related to console-shared label Jan 23, 2020
@vikram-raj vikram-raj force-pushed the monitoring-alert-event branch from 701037c to f85bb20 Compare January 23, 2020 11:03
@vikram-raj vikram-raj changed the title [WIP] add events and alerts to monitoring tab on overview page Add events and alerts to monitoring tab on overview page Jan 23, 2020
@openshift-ci-robot openshift-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 23, 2020
@vikram-raj
Copy link
Member Author

vikram-raj commented Jan 23, 2020

Please change the "Events" accordion to say "All Events"
Please change the "Alerts" section to "Events (Warning)", and only show the warning level events

@serenamarie125 I rename the accordion and keep metrics accordion expanded by default as per your requested changes.

@vikram-raj vikram-raj force-pushed the monitoring-alert-event branch from f85bb20 to 2fb8c94 Compare January 23, 2020 12:31
@vikram-raj vikram-raj force-pushed the monitoring-alert-event branch from 2fb8c94 to 7ab90b1 Compare January 23, 2020 13:04
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Better if renamed as MonitoringMetrics & moved to separate file.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Comment on lines 66 to 68
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better if we move each AccordionItem into specific section components

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I already added separate component for events (Warning), Metrics, Events. I added AccordianItem here so that state can be maintained for the accordion.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MonitoringMetricsSection has been renamed. Use MonitoringOverview

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Import appropriate module name & also rename the spec file.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above comment

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@vikram-raj vikram-raj force-pushed the monitoring-alert-event branch 2 times, most recently from 34483cc to 89b96d8 Compare January 23, 2020 15:42
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: odc-monitoring-event should odc-monitoring-events based on filename

@vikram-raj vikram-raj force-pushed the monitoring-alert-event branch from 89b96d8 to af8a0e6 Compare January 23, 2020 16:06
@invincibleJai
Copy link
Member

All looks good , one css issue

Screenshot 2020-01-23 at 9 41 14 PM

@vikram-raj vikram-raj force-pushed the monitoring-alert-event branch from af8a0e6 to 15c2e1f Compare January 23, 2020 16:18
@vikram-raj
Copy link
Member Author

All looks good , one css issue

Screenshot 2020-01-23 at 9 41 14 PM

Thanks @invincibleJai Fixed this.
Screenshot from 2020-01-23 21-47-29

@invincibleJai
Copy link
Member

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 23, 2020
@debsmita1
Copy link
Contributor

tested this locally and it works fine
/lgtm

Copy link
Contributor

@serenamarie125 serenamarie125 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for doing the rework! This looks great

@christianvogt
Copy link
Contributor

/approve

@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: christianvogt, debsmita1, invincibleJai, serenamarie125, vikram-raj

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 24, 2020
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

1 similar comment
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit 20a757d into openshift:master Jan 24, 2020
@vikram-raj vikram-raj deleted the monitoring-alert-event branch January 24, 2020 05:49
@spadgett spadgett added this to the v4.4 milestone Jan 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. component/core Related to console core functionality component/dev-console Related to dev-console component/sdk Related to console-plugin-sdk component/shared Related to console-shared kind/feature Categorizes issue or PR as related to a new feature. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants