Technoboy- opened a new pull request #11564:
URL: https://github.com/apache/pulsar/pull/11564


   ### Motivation
   Currently, there are no relative metrics about compacted topic, which would 
be extremely useful while tracking potential flows or examining the overall 
condition of compacted topics .
   So , I have added below metrics:
   - compactedTopicSize : the size after compacted
   - compactedTopicMsgCount : the message count after compacted
   - compactedTopicRemovedEvents : how many events had been removed after 
compacted 
   
   These 3 metrics will be display in topic stats CLI :
   ```
   ./pulsar-admin topics stats persistent://tenant/ns/topic
   ```
   
   
   
   ### Documentation
   This patch will add metrics in cli , which would generate doc automatically.
   
   


-- 
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: commits-unsubscr...@pulsar.apache.org

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


Reply via email to