Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1801028

Summary: Number should be Int on integrated Grafana dashboard for etcd cluster
Product: OpenShift Container Platform Reporter: XiaochuanWang <xiaocwan>
Component: Management ConsoleAssignee: Samuel Padgett <spadgett>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.4CC: aos-bugs, jokerman, spadgett, yanpzhan
Target Milestone: ---   
Target Release: 4.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-13 21:57:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
number of etcd cluster none

Description XiaochuanWang 2020-02-10 03:39:28 UTC
Created attachment 1662034 [details]
number of etcd cluster

Description of problem:
Cluster admin check the integrated Grafana dashboard on the "Monitoring -> Dashboard" page, the etcd is 3.00. 

Version-Release number of selected component (if applicable):
4.4.0-0.nightly-2020-02-09-193413

How reproducible:
Always

Steps to Reproduce:
1. cluster-admin go to "Monitoring -> Dashboard" page and check the etcd cluster number.

Actual results:
The number is 3.00 (refer to the screenshot)

Expected results:
According to the design of integrated Grafana dashboard: https://docs.google.com/document/d/1yk-Ef_YGRJUiuVNFwxcar_qeFDveKYLyILAnbDDfTb0/edit#heading=h.mqgbeivyjj0u
The number should be Int.


Additional info:
Layout should better be adjusted.

Comment 1 Samuel Padgett 2020-02-10 14:04:20 UTC
We should share the `formatNumber` utility between the table component and single stat component:

https://github.com/openshift/console/blob/master/frontend/public/components/monitoring/dashboards/table.tsx#L28-L51

Comment 3 Yanping Zhang 2020-02-14 08:50:59 UTC
Checked on ocp 4.4 with payload 4.4.0-0.nightly-2020-02-13-212616, goto "Monitoring -> Dashboard" page, the number for etcd cluster is integer "3".
The bug is fixed, so move it to Verified.

Comment 5 errata-xmlrpc 2020-05-13 21:57:12 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:0581