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