raygun-apm 0.0.4-x64-mingw32 → 0.0.5-x64-mingw32
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/raygun/apm/middleware.rb +6 -0
- data/lib/raygun/apm/version.rb +1 -1
- data/lib/raygun/raygun_ext.so +0 -0
- data/raygun-apm.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 52483f8ced699948c7a0d53117e1742b8630bbe1c25699ddc0f3bfe1b402ddf4
|
4
|
+
data.tar.gz: d291240abf9c21319b99d9265b8b7c88d123d29fa32dc7eab42fbee46b65a10f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3639a0b4c45eca12d01be15d631b230731ac670170292700ef7428a69b0dbbe6251b28186816879ab661203709b33c0d28962d26597b84084ffa575d64b6c302
|
7
|
+
data.tar.gz: 182fa5a34c00838080f4a3d5e6f37ca9786682b96ea2058a4296d63309f90fc7d8ae532ab51cf3824442c722e67b11eaf602402a358d9c98fe99c1a303293254
|
data/Gemfile.lock
CHANGED
@@ -61,6 +61,9 @@ module Raygun
|
|
61
61
|
event[:status] = notification.payload[:status]
|
62
62
|
# XXX constant milliseconds to microseconds
|
63
63
|
event[:duration] = notification.duration * 1000
|
64
|
+
event[:timestamp] = Time.now.to_f*1000000
|
65
|
+
event[:pid] = Process.pid
|
66
|
+
event[:tid] = @tracer.get_thread_id(Thread.current)
|
64
67
|
@tracer.emit(event)
|
65
68
|
rescue => e
|
66
69
|
# XXX report
|
@@ -85,6 +88,9 @@ module Raygun
|
|
85
88
|
|
86
89
|
# XXX constant milliseconds to microseconds
|
87
90
|
event[:duration] = notification.duration * 1000
|
91
|
+
event[:timestamp] = Time.now.to_f*1000000
|
92
|
+
event[:pid] = Process.pid
|
93
|
+
event[:tid] = @tracer.get_thread_id(Thread.current)
|
88
94
|
@tracer.emit(event)
|
89
95
|
rescue => e
|
90
96
|
# XXX report
|
data/lib/raygun/apm/version.rb
CHANGED
data/lib/raygun/raygun_ext.so
CHANGED
Binary file
|
data/raygun-apm.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
19
19
|
spec.require_paths = ["lib", "ext"]
|
20
20
|
|
21
|
-
if RUBY_PLATFORM =~ /darwin/ && !ENV['
|
21
|
+
if RUBY_PLATFORM =~ /darwin/ && !ENV['RAYGUN_GEM_CROSS_COMPILING']
|
22
22
|
spec.files << 'lib/raygun/raygun_ext.bundle'
|
23
23
|
spec.platform = 'universal-darwin'
|
24
24
|
else
|