telesink-activejob
ActiveJob integration for Telesink.
Automatically tracks job lifecycle events (enqueued, started, succeeded,
failed) for any ActiveJob backend (Solid Queue, Sidekiq, etc.).
Installation
Add to your Gemfile:
gem "telesink-activejob"Then run:
bundle installConfiguration
No extra setup needed. It uses the same TELESINK_ENDPOINT as the core gem.
To send job events to a separate sink (recommended for folders):
export TELESINK_ACTIVEJOB_ENDPOINT="https://app.telesink.com/api/v1/sinks/your_jobs_sink_token/events"How it works
Every job that inherits from ApplicationJob (or any ActiveJob::Base)
automatically gets:
-
Job enqueued(with queue name) -
Job started(with queue name) -
Job succeeded(with duration) -
Job failed(with error details)
Events are sent using the same conventions as the core SDK.
Manual opt-in (if you prefer)
class MyJob < ApplicationJob
include Telesink::ActiveJob::Telesinkable
# ...
endLicense
MIT (see LICENSE.md).