Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sidekiq-worker_stats

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sidekiq-worker_stats

  • 0.0.13
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

sidekiq-worker_stats

Statistics for sidekiq workers

CircleCI

The following statistics are saved for analysis:

  • Start Time
  • Stop Time
  • Runtime
  • Memory

Installation

Add sidekiq-worker_stats to your Gemfile

gem 'sidekiq-worker_stats'

and install

$ bundle install

then simply require sidekiq/worker_stats after your sidekiq requirement.

require 'sidekiq'
require 'sidekiq/worker_stats'

Sidekiq web - worker_stats tab

Require sidekiq/worker_stats/web after sidekiq/web.

require 'sidekiq/web'
require 'sidekiq/worker_stats/web'

Configuration

By default sidekiq-worker_stats is disabled for every worker. To activate include worker_stats_enabled: true in your sidekiq_options.

All configurations you can include on sidekiq_options

ConfigurationTypeDefaultDescription
worker_stats_enabledbooleanfalseWhether worker_stats should be enabled for this worker or not
worker_stats_mem_sleep number5How many seconds to wait between each memory measurement
worker_stats_max_samples number1000How many samples to keep for a given worker, it will delete the oldest samples first

FAQs

Package last updated on 02 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc