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: monitoring:Implement BlueStore onode hit/miss counters into the dashboard #44294
Conversation
|
Some unit-test would be nice to have @aaSharma14 |
2f256a6
to
d650b12
Compare
Done. Thanks @avanthakkar |
|
jenkins test make check |
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 good
|
jenkins test make check |
|
@neha-ojha @ljflores @markhpc folks, what do you think about this one? |
|
jenkins test dashboard |
|
jenkins test dashboard |
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 great!
I want to mention that there is another PR open right now (#44334) that shortens the names of the BlueStore onode hit/miss counters when printed. I don't think that would affect this PR, but linking it just in case.
Thanks @ljflores , Yes, in this case we need to change the metrics name here in this PR as well. We can merge this one after #44334 gets merged. |
|
@aaSharma14 the branch needs to be updated |
49f09b7
to
c09149f
Compare
|
jenkins test dashboard cephadm |
59ab38b
to
917649d
Compare
|
@epuertat sounds good |
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 great!
|
Now I check the time-series chart again, being both series monotonic counters, I realize that if the hit/miss ratio is uneven (let's say 90% hit ratio, or 90% miss ratio), over time the smallest metric will be almost zero, and a temporal chart won't be very informative. A possibility would be to display the hit-miss ratio over time. There's this Grafana Stat Panel widget that we don't use, and allows us printing a percentage (e.g.: hit ratio), a trend in the background, and also a threshold-driven color. And coming back to the pie chart, we could replace it with the built-in gauge panel (which is great for displaying a binary dataset). One issue with pie-charts (vs. doughnut charts or gauges), is that for conveying information they rely on areas, and areas are squared values, so they actually display information^2. Gauges also allow defining thresholds, so we can visually tell users whether a 20% hit rate is actually a good (green) or bad (red) value. So, summarizing my point:
|
Thank you for the suggestion @epuertat . I am currently implementing a gauge panel for this one. In any case what is the ideal onode Hits ratio ? so we can display a warning or error scenario if the ratio goes below that value. Eg. I have kept it 50% as of now, so if the ratio goes below 50%, it would show that in red color and otherwise green. @ljflores @neha-ojha Do you guys have some insight about this? |
@aaSharma14 @epuertat Just talked with @aclamk about this. He said he uses the threshold of 75%, where above that is fine, and below that is something to investigate. This is looking great! Edit: I switched the "above" and "below" scenarios. Apologies, the comment is correct now. |
917649d
to
dcf4849
Compare
Thankyou @ljflores for the information, I have updated the PR accordingly. |
… into the dashboard Provide the details pulled from Bluestore stats in order to display the onode hit/miss counters Fixes: https://tracker.ceph.com/issues/53577 Signed-off-by: Aashish Sharma <aasharma@redhat.com>
dcf4849
to
15aa4df
Compare
|
jenkins test dashboard |
|
jenkins test make check |
|
jenkins test api |
|
jenkins test make check |
…node mgr/dashboard: monitoring:Implement BlueStore onode hit/miss counters into the dashboard Reviewed-by: Aashish Sharma <aasharma@redhat.com> Reviewed-by: Alfonso Martínez <almartin@redhat.com> Reviewed-by: Avan Thakkar <athakkar@redhat.com> Reviewed-by: Ernesto Puerta <epuertat@redhat.com> Reviewed-by: Laura Flores <lflores@redhat.com> Reviewed-by: neha-ojha <NOT@FOUND> Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com> Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>




Provide the details pulled from Bluestore stats in order to display the onode hit/miss counters
Depends on #44334
Fixes: https://tracker.ceph.com/issues/53577
Signed-off-by: Aashish Sharma aasharma@redhat.com
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume tox