opt-elixir / faktory_worker

Elixir Faktory worker https://hexdocs.pm/faktory_worker
MIT License
38 stars 12 forks source link

feat: include queue/duration in telemetry #185

Closed superhawk610 closed 1 year ago

superhawk610 commented 1 year ago

This PR adds queue and duration to relevant push/ack telemetry events, allowing improved observability around how long jobs take to complete and allowing telemetry events to be aggregated by queue in addition to job type. Logger messages now also include the queue (when it's anything other than default) and job duration in the case of either success or failure.