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 +4 -4
- data/lib/mettric/sidekiq_middleware.rb +1 -1
- data/lib/mettric/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f4306c87d4531a15b74ffcf276c5b6188baaf1c
|
4
|
+
data.tar.gz: 18ddb34da3da8c067bf10c9bd6f80735827084a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
data/lib/mettric/version.rb
CHANGED