samsondav / rihanna

Rihanna is a high performance postgres-backed job queue for Elixir
MIT License
439 stars 47 forks source link

Telemetry integration #63

Closed lpil closed 5 years ago

lpil commented 5 years ago

The telemetry library aims to be a unified metrics reporting system for the BEAM ecosystem. It's currently used by Ecto and Phoenix

It could be good for Rihanna to support it so that people can hook into it for their monitoring of Rihanna.

https://github.com/beam-telemetry/telemetry

Possibly events:

[:rihanna, :job, :done]

We could also add some pollable metrics https://github.com/beam-telemetry/telemetry_poller

[:rihanna, :jobs_queued_count]
[:rihanna, :dead_job_count]
[:rihanna, :jobs_running_count]
tpitale commented 5 years ago

Other events:

[:rihanna, :job, :locked]
[:rihanna, :job, :failed]
[:rihanna, :job, :retried]
[:rihanna, :job, :enqueued]
samsondav commented 5 years ago

Closing this since it's integrated as of 2.0