You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These methods would then be called with the requeue parameter provided whenever a messages is NACK:ed. Moreover, existing implementation such as the MicrometerMetricsCollector should implement the methods so that the metrics emitted also has knowledge about the requeue state
Describe alternatives you've considered
Application developers can implement their own custom metrics
This makes sense. The tricky part would be to maintain compatibility by keeping the nacked and rejected existing metrics without the requeue information, and new metrics with the requeue information.
@matsev There is a new requeued message count metric, can you try out the snapshot and let us know if it is what you expected? Thanks to @ohksj77 for this contribution.
Is your feature request related to a problem? Please describe.
To my understanding there are currently no metrics emitted that distinguish whether or not a message was requeued when it was NACK:ed by the consumer
Describe the solution you'd like
One suggestion is to enhance the MetricsCollector with a new methods:
These methods would then be called with the
requeue
parameter provided whenever a messages is NACK:ed. Moreover, existing implementation such as the MicrometerMetricsCollector should implement the methods so that the metrics emitted also has knowledge about therequeue
stateDescribe alternatives you've considered
Application developers can implement their own custom metrics
Additional context
Related question at Stack Overflow: https://stackoverflow.com/questions/79069702/reactive-rabbitmq-metrics-for-ack-nack-requeue-false-and-nack-requeue-t
The text was updated successfully, but these errors were encountered: