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
mgr/dashboard: Improve monitoring tabs content #46811
Conversation
Some ideas:
|
ee740fb
to
b15935c
Compare
Thanks @epuertat for the suggestions. Updated the PR accordingly. PTAL. |
b15935c
to
13f7e28
Compare
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.
Looks much better now! Just some comments about the implementation and another suggestion (although feel free to drop it for a follow-up PR).
.../mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/rules-list/rules-list.component.html
Outdated
Show resolved
Hide resolved
...nd/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/rules-list/rules-list.component.ts
Outdated
Show resolved
Hide resolved
13f7e28
to
e122838
Compare
jenkins test dashboard cephadm |
jenkins test api |
e122838
to
6888bd8
Compare
prop: 'labels.severity', | ||
flexGrow: 1, | ||
cellTransformation: CellTemplate.badge, | ||
customTemplateConfig: { | ||
map: { | ||
critical: { class: 'badge-danger' }, | ||
warning: { class: 'badge-warning' } |
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.
Would it make sense to sort by severity as default? I feel people would prefer seeing the critical first then warnings.
jenkins test dashboard cephadm |
jenkins test api |
jenkins test dashboard cephadm |
Discussed in today's daily meeting:
|
6888bd8
to
cee1ad8
Compare
Thankyou for the suggestion @epuertat , Updated the PR accordingly. |
cee1ad8
to
a12702c
Compare
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 @aaSharma14 ! Thanks for addressing my suggestions.
Once the following issues are fixed I'm ok with it:
- Padding between badges:
- And while switching from tab Active Alerts to Alerts I got the following dump:
polyfills.js:214 Uncaught TypeError: ctx_r5.updateSelection is not a function
at RulesListComponent_cd_table_2_Template_cd_table_updateSelection_0_listener (main.js:11918:634)
at executeListenerWithErrorHandling (vendor.js:29760:16)
at Object.wrapListenerIn_markDirtyAndPreventDefault [as next] (vendor.js:29798:22)
at SafeSubscriber.__tryOrUnsub (vendor.js:155859:16)
at SafeSubscriber.next (vendor.js:155798:22)
at Subscriber._next (vendor.js:155748:26)
at Subscriber.next (vendor.js:155725:18)
at EventEmitter_.next (vendor.js:155509:25)
at EventEmitter_.emit (vendor.js:40388:15)
at TableComponent.ngOnInit (main.js:36088:30)
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.
177 - mgr-dashboard-frontend-unittests (Failed)
I still think sorting by critical could be a nice touch. nevertheless, looks good.
...oard/frontend/src/app/ceph/cluster/prometheus/prometheus-tabs/prometheus-tabs.component.html
Outdated
Show resolved
Hide resolved
src/pybind/mgr/dashboard/frontend/src/app/core/navigation/navigation/navigation.component.html
Outdated
Show resolved
Hide resolved
This PR intends to fix the column spacing in the alert list in the alerts tab Fixes:https://tracker.ceph.com/issues/56165 Signed-off-by: Aashish Sharma <aasharma@redhat.com>
a12702c
to
d60ca04
Compare
Done |
jenkins test make check |
jenkins test dashboard cephadm |
jenkins test dashboard cephadm |
jenkins test dashboard cephadm |
cephadm e2e failures are tracked here : https://tracker.ceph.com/issues/55609 |
This PR intends to fix the column spacing in the alert list in the alerts tab
Fixes:https://tracker.ceph.com/issues/56165
Signed-off-by: Aashish Sharma aasharma@redhat.com
Active Alerts -
Alerts -
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "pacific"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
Checklist
Show available Jenkins commands
jenkins retest this please
jenkins test classic perf
jenkins test crimson perf
jenkins test signed
jenkins test make check
jenkins test make check arm64
jenkins test submodules
jenkins test dashboard
jenkins test dashboard cephadm
jenkins test api
jenkins test docs
jenkins render docs
jenkins test ceph-volume all
jenkins test ceph-volume tox
jenkins test windows