Sidekiq
Datadog's Research Report: The State of Serverless Report: The State of Serverless

Sidekiq

Overview

Connect Sidekiq logs to Datadog in order to track requests per second and bytes served, troubleshoot errors, and monitor document updates.

This integration supports access logs as well as error logs.

Setup

Installation

The Sidekiq integration is included in the Datadog Agent package, so you don’t need to install anything else on your host.

Configuration

Log Collection

Available for Agent versions >6.0

  1. Collecting logs is disabled by default in the Datadog Agent. Enable it in datadog.yaml:

    logs_enabled: true
  2. Add this configuration block to your sidekiq.d/conf.yaml file to start collecting your Sidekiq Logs:

    logs:
        - type: file
          path: '<SIDEKIQ_LOG_FILE_PATH>'
          source: sidekiq
          sourcecategory: jobrunner
          service: '<SERVICE>'

    Change the path and service parameter values and configure them for your environment. If you cannot find your logs, you can look in the sidekiq documentation to see how to change your logging.

  3. Restart the Agent.

Validation

Run the Agent’s status subcommand and look for sidekiq under the Checks section.