You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "asafm (via GitHub)" <gi...@apache.org> on 2024/06/01 16:32:53 UTC
[I] Excessive memory allocation in OTel broker metrics [pulsar]
asafm opened a new issue, #22817:
URL: https://github.com/apache/pulsar/issues/22817
@dragosvictor @merlimat Please note this contradicts all the work done to eliminate memory allocation.
The Attributes for each topic should be persisted either in a Map or easier by saving it in the implementation of `Topic` interface you're getting. Then you simply retrieve it by `topic.getTopicOTelAttributes()`.
When you are not doing it, you are creating a memory allocation each time you run collect, for each topic. This is exactly what I was set out to avoid in the whole implementation rework of OpenTelemetry Java SDK memory mode.
_Originally posted by @asafm in https://github.com/apache/pulsar/pull/22467#discussion_r1614798773_
--
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-unsubscribe@pulsar.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Excessive memory allocation in OTel broker metrics [pulsar]
Posted by "dragosvictor (via GitHub)" <gi...@apache.org>.
dragosvictor commented on issue #22817:
URL: https://github.com/apache/pulsar/issues/22817#issuecomment-2150687074
@lhotari Working on the same improvement for the topic stats, can you please reopen this?
--
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-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Excessive memory allocation in OTel broker metrics [pulsar]
Posted by "lhotari (via GitHub)" <gi...@apache.org>.
lhotari commented on issue #22817:
URL: https://github.com/apache/pulsar/issues/22817#issuecomment-2150684479
Fixed by #22837
--
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-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Excessive memory allocation in OTel broker metrics [pulsar]
Posted by "heesung-sn (via GitHub)" <gi...@apache.org>.
heesung-sn closed issue #22817: Excessive memory allocation in OTel broker metrics
URL: https://github.com/apache/pulsar/issues/22817
--
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-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Excessive memory allocation in OTel broker metrics [pulsar]
Posted by "asafm (via GitHub)" <gi...@apache.org>.
asafm commented on issue #22817:
URL: https://github.com/apache/pulsar/issues/22817#issuecomment-2143507333
@dragosvictor Can you please take a look?
@eolivelli
--
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-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Excessive memory allocation in OTel broker metrics [pulsar]
Posted by "lhotari (via GitHub)" <gi...@apache.org>.
lhotari closed issue #22817: Excessive memory allocation in OTel broker metrics
URL: https://github.com/apache/pulsar/issues/22817
--
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-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org