You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2021/12/31 09:13:53 UTC

[GitHub] [rocketmq-exporter] cserwen opened a new issue #86: The value of rocketmq_brokeruntime_commitlogdir_capacity_free is not true.

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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-exporter] hdchen closed issue #86: The value of rocketmq_brokeruntime_commitlogdir_capacity_free is not true.

Posted by GitBox <gi...@apache.org>.
hdchen closed issue #86:
URL: https://github.com/apache/rocketmq-exporter/issues/86


   


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org