You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pegasus.apache.org by "empiredan (via GitHub)" <gi...@apache.org> on 2023/01/30 03:52:45 UTC

[GitHub] [incubator-pegasus] empiredan opened a new issue, #1334: Feature(new_metrics): migrate replica-level metrics for capacity_unit_calculator

empiredan opened a new issue, #1334:
URL: https://github.com/apache/incubator-pegasus/issues/1334

   As is described in https://github.com/apache/incubator-pegasus/issues/1326, the constructor of `capacity_unit_calculator` has a parameter of `replica_base`, which owns the *replica* entity that can be used to instantiate replica-level metrics for `capacity_unit_calculator`.
   
   Following metrics are the members of `capacity_unit_calculator` ([capacity_unit_calculator.cpp](https://github.com/apache/incubator-pegasus/blob/master/src/server/capacity_unit_calculator.cpp)), which is created at `pegasus_server_impl::start()`. Their variables in current source files and new types/computations in new framework are listed as below:
   
   | Variables | Types/Computations |
   | :--------: | :--------------------: |
   | _pfc_recent_read_cu |  increase(Counter) |
   | _pfc_recent_write_cu|  increase(Counter) |
   | _pfc_get_bytes | rate(Counter) |
   | _pfc_multi_get_bytes | rate(Counter)  |
   | _pfc_batch_get_bytes | rate(Counter)  |
   | _pfc_scan_bytes | rate(Counter)  |
   | _pfc_put_bytes | rate(Counter)  |
   | _pfc_multi_put_bytes | rate(Counter)  |
   | _pfc_check_and_set_bytes | rate(Counter) |
   | _pfc_check_and_mutate_bytes | rate(Counter) |
   | _pfc_backup_request_bytes | rate(Counter) |


-- 
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@pegasus.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org