You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by "chibenwa (via GitHub)" <gi...@apache.org> on 2024/05/06 12:26:46 UTC
[PR] [ENHANCEMENT] Metrics for rabbitmq channel pool [james-project]
chibenwa opened a new pull request, #2232:
URL: https://github.com/apache/james-project/pull/2232
Will ease channel pool sizing as well as debugging of RabbitMQ channelPool related errors.
--
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: notifications-unsubscribe@james.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org
Re: [PR] [ENHANCEMENT] Metrics for rabbitmq channel pool [james-project]
Posted by "Arsnael (via GitHub)" <gi...@apache.org>.
Arsnael merged PR #2232:
URL: https://github.com/apache/james-project/pull/2232
--
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: notifications-unsubscribe@james.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org
Re: [PR] [ENHANCEMENT] Metrics for rabbitmq channel pool [james-project]
Posted by "quantranhong1999 (via GitHub)" <gi...@apache.org>.
quantranhong1999 commented on code in PR #2232:
URL: https://github.com/apache/james-project/pull/2232#discussion_r1591051813
##########
backends-common/rabbitmq/src/main/java/org/apache/james/backends/rabbitmq/ReactorRabbitMQChannelPool.java:
##########
@@ -697,6 +699,11 @@ public ReactorRabbitMQChannelPool(Mono<Connection> connectionMono, Configuration
.then()
.subscribeOn(Schedulers.boundedElastic()))
.buildPool();
+
+ gaugeRegistry.register("rabbitmq.channels.aquired.size", () -> newPool.metrics().acquiredSize());
Review Comment:
```suggestion
gaugeRegistry.register("rabbitmq.channels.acquired.size", () -> newPool.metrics().acquiredSize());
```
--
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: notifications-unsubscribe@james.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org