serviceq icon indicating copy to clipboard operation
serviceq copied to clipboard

Observing Queues

Open shane-rand opened this issue 3 years ago • 1 comments

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 avatar Sep 27 '21 13:09 shane-rand

@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.

gptankit avatar Sep 28 '21 17:09 gptankit