prometheus / client_ruby

Prometheus instrumentation library for Ruby applications
Apache License 2.0
513 stars 149 forks source link

How to metrify ActiveRecord sql queries and Redis jobs (sidekiq/resque)? #274

Closed pedrofurtado closed 1 year ago

pedrofurtado commented 1 year ago

How to metrify ActiveRecord sql queries and Redis jobs (sidekiq/resque), and turn all this available in /metrics endpoint?

Sinjo commented 1 year ago

Hi @pedrofurtado,

Those aren't integrations we provide in this gem, as our focus is on building a Prometheus client rather than a wide range of framework integrations. We think those integrations are better served by separate gems.

I can't vouch for either of these as I've not used them, but you may find this blog post on instrumenting queries and this Sidekiq integration written by Fastly useful.

I'm going to close this issue as there's no work for us to do, but I hope you find what you're looking for!