mdawar / rq-exporter

Prometheus metrics exporter for Python RQ (Redis Queue).
MIT License
65 stars 28 forks source link

New metrics #25

Closed mkotsalainen closed 1 year ago

mkotsalainen commented 1 year ago

I've added some 3 metrics that rq exposes:

By dividing total_working_time by successful_job_count and failed_job_count you can get avg task latency which is useful to track.

mdawar commented 1 year ago

Thank you for your contribution. I'll merge this pull request, but what can you do about the current commit messages? I haven't used squash and merge before and I don't know if it keeps you as the author of the resulting commit.

mkotsalainen commented 1 year ago

Squash the commit. I think I should be attributed but if not, no problem on my side. https://github.blog/changelog/2019-12-19-improved-attribution-when-squashing-commits/