Replies: 1 comment 1 reply
-
If the value was never set, for example, because the metric was not computed at the moment you have requested it, it can be set to something like -1 by the JSON (de)serializer. RabbitMQ itself may return a value like this for some metrics but IIRC the total counts is not one of them. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I noticed that the property totalMessage of (com.rabbitmq.http.client.domain)QueueInfo is assigned a value of -1 in the constructor. Are there some rare cases such as server problems or other issues that cause
QueueInfo queueInfo = client.getQueue("xx","xx");
queueInfo.getTotalMessage() == -1 //true
?Thank you.
Beta Was this translation helpful? Give feedback.
All reactions