sijie commented on issue #5735: Provide raw counters metrics URL: https://github.com/apache/pulsar/issues/5735#issuecomment-561433734 I don't think we have used Prometheus counter directly. I would suggest: - use LongAdder in AbstractTopic for counting only. - expose those counters in PersistentInternalTopicStats or TopicStats - update NamespaceStatsAggregator to expose those counters to prometheus servlet.
---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services