Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show numberOfMessagesVisible and numberOfMessagesNotVisible/InFlight #261

Open
klutzer opened this issue Nov 30, 2022 · 5 comments
Open

Comments

@klutzer
Copy link
Contributor

klutzer commented Nov 30, 2022

It would be nice if we can see the number of messages in each queue before clicking on it, because in the right side we'll only see the messages that aren't consumed yet. Wdyt?

(BTW tested the last changes and it's all good!)

@PacoVK
Copy link
Owner

PacoVK commented Dec 1, 2022

That's a good point, I also thought about that, however it requires constantly polling all queues for that stats. I have concerns this would have major impacts on the usability and resource consumption.

@klutzer
Copy link
Contributor Author

klutzer commented Dec 1, 2022

Yeah, you're right.

Maybe we can add a fetch button to each queue and just get the numbers when clicking the button. Or even a check-box so the user can select the queues to keep fetching just for them

@PacoVK
Copy link
Owner

PacoVK commented Dec 5, 2022

I still fear that the numbers are eventually consistent and need tight polling. Do you really think that provides value? What would be the use case for selection on queues to get this metrics?

@klutzer
Copy link
Contributor Author

klutzer commented Dec 5, 2022

I think will be very useful when we're monitoring a specific queue, so we can track the messages that are still in this queue but already in flight, like on AWS console.. For example the user implements some consumer and wants to be sure it reaches the right queue, without this option they will never see the messages on the right side because their application is consuming them before the UI

@PacoVK
Copy link
Owner

PacoVK commented Dec 5, 2022

Right makes sense. Would be happy if you find time to provide a PR, otherwise i can look into it as soon as I find time 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants