datadog-notifications 0.4.9 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/datadog/notifications/plugins/active_job.rb +1 -1
- data/lib/datadog/notifications/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: 3943b130b68fe53f30758de998b556506505521e
|
4
|
+
data.tar.gz: ff8c6d33b47d1067040344ab2f2306b48fda70ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e6dfb6604042676d8550dac8bf978ad64c17bbb1f3c29bd998cbe1f4804d7af4e1595919c30a87493c419fd356633f0b397a6992bb16b0c82ce2227bfae8329
|
7
|
+
data.tar.gz: 6074e39f9e3ff6b3fdea446090f8bb0375b1dc8b9e5b8f612bce5097f2525819fcc04b41ce5be351ec7007ec73db8d0092fc6ed903ed698e25a687109e2414fb
|
data/Gemfile.lock
CHANGED
@@ -21,7 +21,7 @@ module Datadog::Notifications::Plugins
|
|
21
21
|
def record(reporter, event)
|
22
22
|
job = event.payload[:job]
|
23
23
|
name = job.class.name.sub(/Job$/, '').underscore
|
24
|
-
tags = self.tags + %W|
|
24
|
+
tags = self.tags + %W|job:#{name} queue:#{job.queue_name}|
|
25
25
|
|
26
26
|
reporter.batch do
|
27
27
|
reporter.increment metric_name, tags: tags
|