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/02/08 09:51:58 UTC

[GitHub] [incubator-pegasus] empiredan opened a new issue, #1342: Feature(new_metrics): migrate metrics for `replica` class

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

   All of the metrics in `replica` class are replica-level. As is described in https://github.com/apache/incubator-pegasus/issues/1326, since all classes that hold replica-level metrics are sub-object to `replica` class, all of replica-level metrics are bound to `replica` class. Thus once `replica` class is destructed, *replica* entity will be retired (since reference count of entity will decrease to 1).
   
   Following metrics are the members of `replica` ([replica.cpp](https://github.com/apache/incubator-pegasus/blob/master/src/replica/replica.cpp)):
   
   | Variables | Types/Computations |
   | :-------: | :------------------: |
   | _counter_private_log_size | Gauge |
   | _counter_recent_write_throttling_delay_count | increase(Counter) |
   | _counter_recent_write_throttling_reject_count | increase(Counter) |
   | _counter_recent_read_throttling_delay_count | increase(Counter) |
   | _counter_recent_read_throttling_reject_count | increase(Counter) |
   | _counter_recent_backup_request_throttling_delay_count | increase(Counter) |
   | _counter_recent_backup_request_throttling_reject_count | increase(Counter) |
   | _counter_dup_disabled_non_idempotent_write_count | increase(Counter) |
   | _counter_recent_read_splitting_reject_count | increase(Counter) |
   | _counter_recent_write_splitting_reject_count | increase(Counter) |
   | _counter_recent_write_bulk_load_ingestion_reject_count | increase(Counter) |
   
   Note that `increment()` invocations for `_counter_recent_*_throttling_delay_count` and `_counter_recent_*_throttling_reject_count` are in [replica_throttle.cpp](https://github.com/apache/incubator-pegasus/blob/master/src/replica/replica_throttle.cpp).


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