cserwen opened a new issue #86:
URL: https://github.com/apache/rocketmq-exporter/issues/86


   **Is your feature request related to a problem? Please describe.**
   - The value of `rocketmq_brokeruntime_commitlogdir_capacity_free` is not 
true. It uses the digital part directly without considering the unit.
   
   **Describe the solution you'd like**
   - Convert the value which can be read by human to the value which can be 
read by machine.
   - Refer to the following code:
   
https://github.com/apache/rocketmq/blob/e24794da71beef185221220ba817e9b4aafbf8f2/common/src/main/java/org/apache/rocketmq/common/MixAll.java#L438
   
   **Additional context**
   - This is an example:
   if the value of commitLogDirCapacity is `Total : 3.4 TiB, Free : 2.5 TiB. `, 
Now the value of `rocketmq_brokeruntime_commitlogdir_capacity_free` will be 
`2.5`. 
   


-- 
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]


Reply via email to