sidekiq-datadog 0.3.2 → 0.3.3

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
  SHA1:
3
- metadata.gz: 4d736d6748ea19acf02964aeb276aa6a5b3c66bd
4
- data.tar.gz: 1cec0a5c2de0c9ad8ac00e7ce13e8f5b4d2ed30d
3
+ metadata.gz: 2216936de3502de5739584e0be78caa77e8834fb
4
+ data.tar.gz: cb1d90bc357dfe246be8b2a6e466fc71d14f3418
5
5
  SHA512:
6
- metadata.gz: 0b4dae813bf0341699137c72f59a5ca1c309c6c394cfc3958b41d0a09606c8529d23abc34c61ff990252dfb0fce68065e670aee3fd2574b05bf8b844286d4231
7
- data.tar.gz: f20c74e493446161e28c93bde6c75237fb0283a4c1e1598a702a0cb021de35df2c7819e5db065fae163d52771499cfe05c83c29e44a6b194a50a1cc7ed23988d
6
+ metadata.gz: f11b04e960e36aa3176102fefefed57bc18a696840f1965a566b8d21c9e06ad0cf69a7b0a7f0aa14d00b84096d1a1d36ee251517e18ef731d795e4860660a182
7
+ data.tar.gz: c12ef2cde101b8b37ca7356340658ab846be420e8cc5837adff966944907e959d499a0e708dc72e05bd223588836dff6b8e2d5a200583e9955d26fce3a3a0b3c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sidekiq-datadog (0.3.2)
4
+ sidekiq-datadog (0.3.3)
5
5
  dogstatsd-ruby
6
6
  sidekiq
7
7
 
@@ -1,5 +1,5 @@
1
1
  module Sidekiq
2
2
  module Datadog
3
- VERSION = "0.3.2"
3
+ VERSION = "0.3.3"
4
4
  end
5
5
  end
@@ -58,7 +58,7 @@ module Sidekiq
58
58
  def record(worker, job, queue, start, error = nil)
59
59
  ms = ((Time.now - start) * 1000).round
60
60
  if job["enqueued_at"]
61
- queued_ms = start - Time.at(job["enqueued_at"])
61
+ queued_ms = ((start - Time.at(job["enqueued_at"])) * 1000).round
62
62
  end
63
63
  name = underscore(job['wrapped'] || worker.class.to_s)
64
64
  tags = @tags.map do |tag|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-datadog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dimitrij Denissenko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-26 00:00:00.000000000 Z
11
+ date: 2016-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sidekiq