arq icon indicating copy to clipboard operation
arq copied to clipboard

Prometheus metrics

Open woile opened this issue 2 years ago • 2 comments

Hello people, first thanks a lot for the project! I was wondering how is people creating metrics for prometheus. dramatiq has a middleware for prometheus, and I was wondering if there's something similar for arq. I haven't found anything on the issues or repo. Is anyone using arq with prometheus? In case there's nothing, I could give it a try and attempt and implementation, could someone give me a short explanation on how could achieve it? I'm thinking I could expose the information from the health check to prometheus https://arq-docs.helpmanual.io/#health-checks

woile avatar Jun 28 '22 07:06 woile

I created this repo just in case someone has the same need: https://github.com/kpn/arq-prometheus it can probably see some improvements over the way data is collected, or what data is colected.

woile avatar Jul 22 '22 12:07 woile

Could you provide a screenshot of your end result? I'm interested.

JonasKs avatar Sep 15 '22 16:09 JonasKs