raygun-apm-sidekiq 1.0.11 → 1.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.rdoc +4 -0
- data/lib/raygun/apm/sidekiq/middleware.rb +3 -6
- data/lib/raygun/apm/sidekiq/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d7f0de52da00010cd3d499c15ceecf7f687983fd5a03b938768ec997e70a966
|
4
|
+
data.tar.gz: 3dd1bbf9171539d4ec427cef365d712ccb02b54d02ba748e7d3882a7a13b1cd7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d38d374b6b8c4e29d015abbbca69b513cb934e4e5c942bfba619f9d23bcd85bb84c392080245ee578e0aa95ab74e04ff175732fedbf27503ecd4838afd25c9ee
|
7
|
+
data.tar.gz: 42f5e127cdc0f3be52f953b3b73807a6fdd2097f77bde16b8663bce030e122073e6f266a7500072e927dcb238111e6ffbb6dc9b1a4689a3e530765e4caeaefea
|
data/CHANGELOG.rdoc
CHANGED
@@ -58,6 +58,7 @@ module Raygun
|
|
58
58
|
def self.fake_http_in_handler(tracer, started, worker_instance, msg, queue, exception)
|
59
59
|
ended = tracer.now
|
60
60
|
event = http_in_event
|
61
|
+
event[:pid] = Process.pid
|
61
62
|
event[:url] = "sidekiq://#{queue}/#{msg["class"]}?#{msg["jid"]}"
|
62
63
|
event[:status] = exception ? 500 : 200
|
63
64
|
event[:duration] = ended - started
|
@@ -73,7 +74,6 @@ module Raygun
|
|
73
74
|
def self.http_in_event
|
74
75
|
@http_in_event ||= begin
|
75
76
|
event = Raygun::Apm::Event::HttpIn.new
|
76
|
-
event[:pid] = Process.pid
|
77
77
|
event[:verb] = "POST"
|
78
78
|
event
|
79
79
|
end
|
@@ -87,6 +87,7 @@ module Raygun
|
|
87
87
|
ObjectSpace._id2ref(notification.payload[:connection_id])
|
88
88
|
end
|
89
89
|
event = sql_event
|
90
|
+
event[:pid] = Process.pid
|
90
91
|
event[:query] = notification.payload[:sql]
|
91
92
|
|
92
93
|
# XXX this is hacky
|
@@ -107,11 +108,7 @@ module Raygun
|
|
107
108
|
end
|
108
109
|
|
109
110
|
def self.sql_event
|
110
|
-
@sql_event ||=
|
111
|
-
event = Raygun::Apm::Event::Sql.new
|
112
|
-
event[:pid] = Process.pid
|
113
|
-
event
|
114
|
-
end
|
111
|
+
@sql_event ||= Raygun::Apm::Event::Sql.new
|
115
112
|
end
|
116
113
|
|
117
114
|
def Ruby_APM_profiler_trace
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: raygun-apm-sidekiq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Raygun
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-03-
|
12
|
+
date: 2020-03-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: raygun-apm
|