Sidekiq is a popular library for background job processing in Ruby on
Rails applications. It uses Redis as a backend to store and manage the
job queue, providing efficient and scalable processing. Sidekiq allows
developers to define asynchronous tasks that will be executed in the
background, freeing the main thread to handle other requests. It
supports advanced features such as job scheduling, prioritized queuing,
and failure retention, ensuring reliability and error recovery. With its
simple and easy-to-use interface, Sidekiq has become a popular choice
for handling time-consuming tasks or tasks that do not require an
immediate response, thereby improving the user experience.

To monitor Sidekiq in the One Platform:

  1. Go to the product application where you want to add Sidekiq as a dependency.
  2. Click on the “Products” menu, then click on the desired product
    card, and finally, click on the name of the application you want.
  3. Under “External Dependencies,” located just below the latency graph,
    you can add or search for an already registered dependency. To search
    for a dependency, type its name in the search field. To add a new one,
    click on the green button with a plus symbol (+).
 

When you click on “Add,” a modal will appear. In this modal, you will
name your queue and choose the Environment. In the “Check type” field,
select the option “Queue,” and in the “Method” field, choose “Sidekiq.”
After selecting the method, a field for “Healthcheck URL” will appear.

 

 

In the Queue size field, enter the maximum desired queue size. Select
“Skip SSL Validation” to ignore the existence of the SSL certificate.
In the Busy Size, Scheduled Size, and Connected Clients fields, fill in
according to the desired number to trigger alerts for incidents.

Check the example string for Sidekiq below:

Example: http://example.com/sidekiq/stats

 

Note: For security reasons, it is not permitted to enter an IP in the
healthcheck field. To monitor an IP, you need to enter it in a secret
and use it in healthcheck

Scroll to Top