Exq.Stats.Server (exq v0.19.0) View Source
Stats process is responsible for recording all stats into Redis.
The stats format is compatible with the Sidekiq stats format, so that The Sidekiq UI can be also used to view Exq status as well, and Exq can run side by side with Sidekiq without breaking any of it's UI.
This includes job success/failure as well as in-progress jobs
Link to this section Summary
Functions
Add in progress worker process
Returns a specification to start this module under a supervisor.
Cleanup stats on boot. This includes cleaning up busy workers.
Callback implementation for GenServer.init/1
.
Remove in progress worker process
Record job as failed
Record job as successfully processes
Link to this section Functions
add_process(stats, namespace, worker, host, queue, job_serialized)
View SourceAdd in progress worker process
Returns a specification to start this module under a supervisor.
See Supervisor
.
Cleanup stats on boot. This includes cleaning up busy workers.
Callback implementation for GenServer.init/1
.
Remove in progress worker process
Record job as failed
Record job as successfully processes