nexaas-queue_time 0.4.0.pre.rc1 → 0.4.0.pre.rc2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2699d2c676058c63f554ece97e6814a0f612eb4cc42f77f677b7653d2f4907d6
4
- data.tar.gz: d2e6f76b7c61c3efb14374025b24dbb8f2c6bec9c84411cad0dac312be890d0c
3
+ metadata.gz: 86b394f9859ebec9333dbf6dc3b8034baaf563d54505e8caac0c7b7c57e5fb06
4
+ data.tar.gz: a239cb5110e36c0991a316d3d9beed5f13e05c3c66f1189c42d4abc6790ae0a9
5
5
  SHA512:
6
- metadata.gz: 0170f983fcac8522f0dd255a740b5221f77e7ca0c4c592c08a4ce9efcce8803da7766e85049d4a657634fdfafa4939c5fb83d180ecd91e6a7e23a494fe605188
7
- data.tar.gz: 50fa088ed9abeb91150fe7299c545f6980a1b13a11b1b46af1f697827cedac1317fe57822a42f8caa1c247fc34cff44e66405f17b41dfb396cea25ffd3040594
6
+ metadata.gz: 373322594053c2797dc479b05786f60790a7958cfc2a37a2f0dc41ff9a1e3e1470575667d050315ecdada2871761480db7ee683ee28d1118d5d592e3cd70cfe5
7
+ data.tar.gz: dc1304e746194e911eaee3b2f7ff0295ba240083bc3f3501b765abd02a972f7202607806961dfbc4a83a3d21822c2db8825a09bb590b8a8f3884924663f2580b
data/Dockerfile ADDED
@@ -0,0 +1,6 @@
1
+ FROM ruby:2.6-alpine
2
+
3
+ ARG GEM_VERSION=0.4.0-rc2
4
+
5
+ RUN gem install nexaas-queue_time:$GEM_VERSION
6
+ RUN gem install sidekiq
@@ -8,7 +8,7 @@ module Nexaas
8
8
  # Measures the latency for all Sidekiq queues
9
9
  # and send it to Datadog.
10
10
  class Sidekiq
11
- METRIC_NAME = 'sidekiq.queue.latency'
11
+ METRIC_NAME = 'sidekiq.queue.latency_ms'
12
12
 
13
13
  def self.measure_latency
14
14
  ::Sidekiq::Queue.all.each do |queue|
@@ -1,5 +1,5 @@
1
1
  module Nexaas
2
2
  module QueueTime
3
- VERSION = '0.4.0-rc1'
3
+ VERSION = '0.4.0-rc2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nexaas-queue_time
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0.pre.rc1
4
+ version: 0.4.0.pre.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lucas Mansur
@@ -120,6 +120,7 @@ files:
120
120
  - ".rspec"
121
121
  - ".travis.yml"
122
122
  - CHANGELOG.md
123
+ - Dockerfile
123
124
  - Gemfile
124
125
  - LICENSE.txt
125
126
  - README.md