mettric 0.1.8 → 0.1.9

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: ed218869bb0e8597d68dba5f9cd801d2a9d85e36
4
- data.tar.gz: eb5836650566d49b49c5539a13c50a6eaf3a9b67
3
+ metadata.gz: 8f4306c87d4531a15b74ffcf276c5b6188baaf1c
4
+ data.tar.gz: 18ddb34da3da8c067bf10c9bd6f80735827084a9
5
5
  SHA512:
6
- metadata.gz: edc9987a607439cffc42ae1d0c3eb0f5f3fc5e1ab96a516686977346b05c2129e776a1c90648ff303c1252a4f5f7d9542023fafb2ef840764c7366c17325e198
7
- data.tar.gz: 4b3cb8b85087c4399999fb57279f77e887d106e666264f044670c173d1a819a629eb48139d6b18fd020a560b933d03c244ce715d3475aaf9d46ef1516e112119
6
+ metadata.gz: d2822b077481795f543dd8ece17d7b714f0c240482b15500c03a7f6c5b7ac5b13f8394d4fd03ca2c5f7060792131742ffa3851cb8de0d58ba09dd80cf5c8c2aa
7
+ data.tar.gz: ca2433486663d4fc2a8925d8886af9d1259d2a694f9a4ea7799fb8fb44259d0b188e7860e20c520feb8021c2088709cf77c93ebfef8b42a6e1c8dc8893df0c04
@@ -13,7 +13,7 @@ class Mettric::SidekiqMiddleware
13
13
  end
14
14
 
15
15
  # Track the job timing
16
- service = "sidekiq.queue.#{queue}.workers.#{worker.class.name.underscore}",
16
+ service = "sidekiq.queue:#{queue.to_s.underscore}.worker:#{worker.class.name.underscore} ms"
17
17
  Mettric.time(service: service, tags: ['sidekiq']) do
18
18
  yield
19
19
  end
@@ -1,3 +1,3 @@
1
1
  class Mettric
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mettric
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jannis Hermanns