-
Notifications
You must be signed in to change notification settings - Fork 615
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
Bug-fix: Fixing updated prometheus queries in object service dashboard #2255
Bug-fix: Fixing updated prometheus queries in object service dashboard #2255
Conversation
/kind bug |
ec7260a
to
52a032d
Compare
@rawagner @cloudbehl please review the PR |
: null; | ||
const savingsFormattted = humanizeBinaryBytesWithoutB(Number(savings)); | ||
text = ( | ||
<span className="nb-object-data-reduction-card__row-status-item-text"> | ||
{savingsFormattted.value} | ||
{savingsFormattted.unit}({savingsPercentage.string}) | ||
{savingsFormattted.unit} |
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.
you should use savingsFormattted.string
instead of value
and unit
as string
property adds space between unit and value per unit definition.
also it seems to me that savingsFormattted
and savingsPercentage
is going to be shown right next to each other without any space ? like 20Ki(10%)
?
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.
@rawagner yes as per the mock https://projects.invisionapp.com/share/BRS4A5ETN3H#/screens/364134659_Object_storage_Dashboard-_IO_operations_for_providers
its together without space
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.
made it spacious @rawagner so as to be consistent with overall console
change of num pools query in health card change of savings query in object data reduction card change of system name query in details card Signed-off-by: Afreen Rahman <afrahman@redhat.com>
52a032d
to
6383368
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: afreen23, cloudbehl, rawagner The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/test e2e-aws-console |
https://jira.coreos.com/browse/RHSTOR-662
change of num pools and buckets query in health card
change of savings query in object data reduction card
change of system name query in details card
The changed queries are raising bugs and some can raise bugs in object service dashboard.