marksilcox commented on PR #15558:
URL: https://github.com/apache/pulsar/pull/15558#issuecomment-1162000349

   @asafm 
   
   I may be missing something, but to be able to print the metrics in the 
Prometheus format we would still need to collate all TopicStats and all 
AggregatedNamespaceStats as they share metric types (e.g. there is a 
`pulsar_rate_in` metric for both the namespace and all topics in that 
namespace). Then aggregate across all by metric name.
   
   There are usages elsewhere in Pulsar of MetricFamilySamples, which is why I 
went down this route rather than creating a new model to hold these 
relationships.


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