serviceq
serviceq copied to clipboard
Observing Queues
Hi,
I'm interested in using this library as a reverse proxy+queuing solution to protect services that get periodically hammered with requests. I really like the upfront queue feature, however I'm wondering about the easiest way to gain some observability into queue status ie. number of requests in the queue, etc.
Any thoughts on how best to observe?
@shane-rand Due to the fact that the queue in ServiceQ is in-memory, I guess the easiest way to add observability is to push the required metrics from this function to a monitoring system of your choice (prometheus?). Something like this isn't added yet to ServiceQ as it may not be generic enough for all users. Having said that, I can devise a custom solution to go along with the application that provides out-of-the-box observability into the queue and other parts of the system.