raygun-apm 0.0.4-x86-mingw32 → 0.0.5-x86-mingw32
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 +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: 33acb70c124e4cd9f2053282b184527afb49e74e11da441ddaac72550a03e45d
|
4
|
+
data.tar.gz: e9ff640809af3a68b95972304a1960a3597d9b325b887265627376070d275468
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d3c2ad1b6d9a418745ed86a3539ab6f2a32cd1f0b6c62c13101d2b2a894ab06db1c50bdeff195f79efc266a588a5daf7d2e7f822e03e96a75ca1bd864782da3
|
7
|
+
data.tar.gz: 07cab7c7e435c4cfab1ef5d3050da30aec099ff57ca21f6c074bf39a3947110d7dccf617783b919927b577757ac4a4647667bc8a9e548acb33142fd3c0ab6e7f
|
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
|