You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/11/16 08:47:02 UTC

[GitHub] [pulsar] codelipenghui commented on issue #8573: Export Prometheus metric for the number of messages that topic subscription skip through the TTL

codelipenghui commented on issue #8573:
URL: https://github.com/apache/pulsar/issues/8573#issuecomment-727830521


   Thanks, @xuesongxs made this feature request. I also met some users who want to know how many messages are expired at what time? Currently, these metrics are too few, so that TTL looks like a black box, unobservable. 
   
   I think we can do the following things to improve the observability.
   
   1. Expose the last TTL task execute timestamp
   2. Recore the total expired message
   
   Furthermore, I think it's better to support write the expired messages to a specific topic so that users can get all expired messages. Or a server-side plugin to receive the message expired listener.


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

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