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