navinko opened a new pull request, #10177:
URL: https://github.com/apache/ozone/pull/10177
## What changes were proposed in this pull request?
HDDS-15147. [Cluster Capacity] Standardize Datanode Insight Export Filenames
and Unit Headers
## Please describe your PR in detail:
* Updated Server side Datanode insight, export filename generation with
clusterId appended with timestamp.
Fomat used: Datanode_Insights_ClusterId_timestamp
Example:
Datanode_Insights_CID-ec3d0c23-7863-4f94-9e48-78134b891a62_20260502_1115.csv
* Unit of header kept as GB
* Byte to GB conversion upto 2 decimal places.
* Fixed PMD failures
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-15147
## How was this patch tested?
Verified with updated unit test class and dev tool downloaded filename.
<img width="500" height="200" alt="image"
src="https://github.com/user-attachments/assets/5bdf94fd-a9d1-4bac-bbaf-221d4d238d31"
/>
[Datanode_Insights_CID-ec3d0c23-7863-4f94-9e48-78134b891a62_20260502_1115.csv](https://github.com/user-attachments/files/27301909/Datanode_Insights_CID-ec3d0c23-7863-4f94-9e48-78134b891a62_20260502_1115.csv)
Successful CI :
[TBD](https://github.com/navinko/ozone/actions/runs/25251088885)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]