plain_apm 0.5.6 → 0.5.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ae9d484b8cae829dc9a8159030fb3075493b7a164fc007c2f7a4688e5f0e7657
4
- data.tar.gz: 5c0e75c7ed7c549c13de43d44e8ff3733bda46d38994b77af93d48782a2855a3
3
+ metadata.gz: 7eb6f9ae78ba81ff4559c68a7657c4531d00b1f9c45081b22740812932587676
4
+ data.tar.gz: 6b782946d81a1eca54d7b07ea28c066aaab207ebc6aa4e3379395c85c67376ef
5
5
  SHA512:
6
- metadata.gz: 74432ea0610f7d525e77aa2173de4adba0f723d713b5870d4a5dfdda1bf3fdb8e812b4b7b08b55d7c3729415d98890d2dd491bb0e94922cb8e8fa6d8a98916a1
7
- data.tar.gz: b5d84121648c14f64dbb76c4c7a9e040283465f0d9a9263dcf48292e6c2e3a604714e00a480f323b40fce13e80047890b4c6f7c7b269e0edaac7b3c0645f0fd9
6
+ metadata.gz: f385e2ebb77259a98dda1c20e98a21d30c6a36da2a94c14f00cc86f981ca2880a22f20f4602a42ed4aee363c420e1e56c1ac0ddcad45ddc1ad0dad7ec9d98981
7
+ data.tar.gz: d7022c6dbec8d25c5de73fc5c2817969a9c911dcfa6ecf5d22103263741417c5a4dcadc9d77f880511adc97cd0797371d0d700e611d0335c3acfc2b243693c8c
@@ -36,6 +36,13 @@ module PlainApm
36
36
  "context" => context
37
37
  }
38
38
 
39
+ if context[:job] && context[:job].is_a?(ActiveJob::Base)
40
+ event.merge!({
41
+ "job_class" => context[:job].class.name,
42
+ "queue_name" => context[:job].queue_name
43
+ })
44
+ end
45
+
39
46
  if e.cause
40
47
  event.merge!({
41
48
  "cause_class" => e.cause.class.name,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PlainApm
4
- VERSION = "0.5.6"
4
+ VERSION = "0.5.7"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plain_apm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.6
4
+ version: 0.5.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - PlainAPM Team
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-12-12 00:00:00.000000000 Z
11
+ date: 2022-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest