I have a Spring Boot application with Spring AMQP. If I call /prometheus I get all metrics including rabbitmq_rejected_total. What does rabbitmq_rejected_total mean?
Output
[...]
# HELP rabbitmq_rejected_total
# TYPE rabbitmq_rejected_total counter
rabbitmq_rejected_total{application="test-service",name="rabbit",} 0.0
[...]
Question
Does rabbitmq_rejected_total mean rejected and requeued (ImmediateRequeueAmqpException)? Or, does it mean rejected and not requeued (AmqpRejectAndDontRequeueException)?
See also Negative Acknowledgements:
The AMQP 0-9-1 specification defines the
basic.rejectmethod that allows clients to reject individual, delivered messages, instructing the broker to either discard them or requeue them.
Research
I read Spring AMQP, but I could not find any documentation about metrics.
I read Spring Boot Reference Documentation, but I could not find any documentation about this metric.