one70six opened a new issue #5854: Prometheus - Add Metrics Around Message Storage URL: https://github.com/apache/pulsar/issues/5854 Currently you can visualize message backlog via Prometheus/Grafana by observing the **pulsar_msg_backlog** metric. Since Pulsar allows for TTL and Retention to be set on a namespace, it would be very nice if we could somehow visualize if the messages are in TTL phase or in Retention phase. Pulsar does a great job of abstracting storage from the consumer by design, but developers ask all the time how they know if there is still data in the topic or not. - Did we consume it all? - I thought there was a retention? - etc. ### Enhancement Please add the following metrics for better visualizing what phase the messages are in. - Add pulsar_msg_ttl metric - Add pulsar_msg_retention metric Thanks!
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
