{"repo":"funbox/sidekiq-influxdb","free":true,"listed":false,"github":"https://github.com/funbox/sidekiq-influxdb","clone":"git clone https://github.com/funbox/sidekiq-influxdb.git","description":"Writes Sidekiq job execution metrics to InfluxDB","language":"Ruby","stars":18,"topics":["sidekiq","influxdb","ruby-gem","ruby","ruby-library","metrics","metrics-gathering","middleware"],"license":"MIT","category":"analytics","readme_excerpt":"Sidekiq::InfluxDB Sidekiq server middleware that writes job lifecycle events as points to an InfluxDB database (or any client with a compatible write point API, including InfluxDB 2). Also includes classes that write global Sidekiq metrics and queue metrics. Installation Add this gem to your application's Gemfile : Usage Add included middleware to your application's Sidekiq middleware stack. The following examples assume that you already have an InfluxDB client object in the influxdb variable. This will create a middleware with all defaults (suitable for most deployments): You can customize the middleware by passing more options: Sidekiq 8 Sidekiq 8 stores created at as epoch milliseconds (Integer). Earlier versions used epoch seconds (Float). The middleware detects the format automatically — no configuration change is required when upgrading Sidekiq. InfluxDB 2 The default payload key is values (InfluxDB 1.x and the influxdb gem). InfluxDB 2 clients ( influxdb-client ) expect fields instead: Your client must implement write point(series name, data, precision, retention) and accept a hash with tags , the configured measurement key ( values or fields ), and timestamp . This library assumes that you already have an InfluxDB client object set up the way you like. It does not try to create one for you. If that is not the case, you can learn how to create a client in InfluxDB client documentation. Warning: This middleware is going to write a lot of metrics. Set up your InfluxDB cl","default_branch":null,"files":null,"tree":[],"storefront":"/r/funbox","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/funbox/sidekiq-influxdb/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}