No metrics available for the distination exchange when binding two exchanges #11484
-
Describe the bugWhen binding two exchanges, there is no way to get the metrics of the destination exchange. Based on my understanding, this is related to the fact that no channel is publishing directly into the destination exchange. Reproduction steps
Expected behaviorMetrics for exchange_destination should be available and accessible, similar to other exchanges. Additional contextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Thank you for using RabbitMQ. There is an explanation for this: E2E bindings are expanded when the message is published to the "original" exchange. Exchanges do not actually exist, they are just named routing tables where bindings are entries. Channels do the routing and when there are E2E exchanges found at routing time, they are "followed" to produce a final set of queues. No republishing happens to the 2nd layer of exchanges, so only the "first layer" goes through the code path that accounts for metrics. There are no plans to change that. Our small team has much bigger fish to fry. |
Beta Was this translation helpful? Give feedback.
Thank you for using RabbitMQ.
There is an explanation for this: E2E bindings are expanded when the message is published to the "original" exchange. Exchanges do not actually exist, they are just named routing tables where bindings are entries.
Channels do the routing and when there are E2E exchanges found at routing time, they are "followed" to produce a final set of queues. No republishing happens to the 2nd layer of exchanges, so only the "first layer" goes through the code path that accounts for metrics.
There are no plans to change that. Our small team has much bigger fish to fry.