[ 
https://issues.apache.org/jira/browse/HDDS-15147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18078392#comment-18078392
 ] 

Priyesh K edited comment on HDDS-15147 at 5/5/26 9:16 AM:
----------------------------------------------------------

[~navink162]  [~asarin]  I’d prefer to keep the exported sheet values in bytes 
only. The primary purpose of this CSV report is to enable accurate comparisons 
and validate calculations, so exact byte-level values are more useful. If users 
want to view the data in GB, they can apply their own column conversions as 
needed. So it’s better not to convert the values to GB in the report. Renaming 
the columns would be fine.


was (Author: JIRAUSER308991):
@navinko @arunsarin85 I’d prefer to keep the exported sheet values in bytes 
only. The primary purpose of this CSV report is to enable accurate comparisons 
and validate calculations, so exact byte-level values are more useful. If users 
want to view the data in GB, they can apply their own column conversions as 
needed. So it’s better not to convert the values to GB in the report. Renaming 
the columns would be fine.

> [Cluster Capacity] Standardize Datanode Insight Export Filenames and Unit 
> Headers
> ---------------------------------------------------------------------------------
>
>                 Key: HDDS-15147
>                 URL: https://issues.apache.org/jira/browse/HDDS-15147
>             Project: Apache Ozone
>          Issue Type: Bug
>          Components: Ozone Recon
>            Reporter: Arun Sarin
>            Assignee: Navin Kumar
>            Priority: Minor
>              Labels: pull-request-available
>         Attachments: image-2026-05-02-02-56-38-055.png
>
>
> h3. *Summary*
> Currently, the "Download Insights" feature on the Datanodes dashboard 
> produces a file with a generic name and lacks unit indicators in the column 
> headers. This makes it difficult to distinguish between exports from 
> different clusters and leads to ambiguity when interpreting storage metrics 
> (e.g., Capacity, Used Space).
> h3. *Problem Description*
>  # *Non-descriptive Filenames:* The downloaded file lacks a unique 
> identifier. In environments with multiple clusters or recurring monitoring 
> tasks, users cannot distinguish which file belongs to which environment 
> without opening them.
>  # *Ambiguous Metrics:* The spreadsheet headers (e.g., Filesystem Capacity, 
> Ozone Used Space) do not specify units. As seen in the provided sheet, values 
> are large integers (bytes), which are difficult to read and verify against 
> the UI (which shows {*}GB{*}) without manual conversion.
> h3. *Proposed Improvements*
> h4. *1. Standardize Filename Convention*
> Incorporate the cluster name or CM hostname and a timestamp into the filename 
> to ensure uniqueness and traceability.
>  * *Suggested Format:* Datanode_Insights_[ClusterName]_[YYYYMMDD_HHMM].csv
>  * *Example:* Datanode_Insights_ccycloud-3_20240520_1430.csv
> h4. *2. Explicit Unit Headers*
> Update the export logic to include the unit of measurement in the column 
> headers. Since the raw data is currently exported in bytes, the headers 
> should reflect this to prevent calculation errors.
>  * *Current Header:* Filesystem Capacity
>  * *Recommended Header:* Filesystem Capacity (Bytes) or Filesystem Capacity 
> (GB) _if the data is pre-converted._
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to