oneby-wang commented on issue #25212:
URL: https://github.com/apache/pulsar/issues/25212#issuecomment-3851425949

   I'm wondering how to deal with `MemoryBufferStats` in multiple Pulsar 
clients? Should they also be shared across multiple clients? I think 
`MemoryBufferStats` and `MemoryLimitController` should have a one-to-one 
relationship, but I'm not sure if my understanding is correct.
   
   
https://github.com/apache/pulsar/blob/6d415c6dbfb8bf9f2f8a5b823927cf422a6bd675/pulsar-client/src/main/java/org/apache/pulsar/client/impl/PulsarClientImpl.java#L289-L297
   
   I'm not very familiar with OpenTelemetry, seems all the `MemoryBufferStats` 
instances use the same meter name in the master branch? Would that be a problem?
   
   
https://github.com/apache/pulsar/blob/3dc1fd6086b2f70724f2b961af87556d7dae8e3b/pulsar-client/src/main/java/org/apache/pulsar/client/impl/metrics/MemoryBufferStats.java#L26-L56
   


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