poorbarcode commented on code in PR #20859:
URL: https://github.com/apache/pulsar/pull/20859#discussion_r1273735647


##########
pip/pip-285.md:
##########
@@ -0,0 +1,73 @@
+# Background knowledge
+Existing monitoring items in Pulsar, such as "pulsar_subscription_back_log" 
and "pulsar_subscription_back_log_no_delayed," provide valuable insights into 
the quantity of backlogged messages. However, they lack a metric that directly 
measures the duration of message backlog. Monitoring the duration of backlog is 
vital as it allows us to understand the persistence of message accumulation 
within a subscription over time.

Review Comment:
   `pulsar_subscription_back_log_duration ` means how long time the broker has 
not received any ack request, right?<sup>[1]</sup>
   
   If yes<sup>[1]</sup>, when the below situation is hit,  will 
`pulsar_subscription_back_log_duration ` refresh?
   
   <img width="995" alt="截屏2023-07-25 23 32 07" 
src="https://github.com/apache/pulsar/assets/25195800/c9a1118a-daf4-4aba-b369-487e36e34585";>
   
   



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

Reply via email to