raygun-apm 0.0.4-universal-darwin → 0.0.5-universal-darwin
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.bundle +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: 2a820083e301ceb59998d16e8b1538c6f41d22e4dbc175452a53f86a55c87097
|
4
|
+
data.tar.gz: 3df01a0e482bb5c7cafa0f57a07ec9db8680b0aadc353f58728477dfb5bb779b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9c8e572966241e7470b0b6ae2314f067c91d2ea09ad426ba6986b34fbf38f463e92400606b1c2ba56678f586089a263bac50539ecd4dc0aa4bb5e4d89aac668
|
7
|
+
data.tar.gz: d5892b232db3ce0fca630e58d07f08a9bd1cc8c593af3bb929afd04bc8e7f8433383f8f26cafd6154fb5e19027e1abd04ad9c7648f0a830c02731a6211409ab7
|
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
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/
|
21
|
+
if RUBY_PLATFORM =~ /darwin/ && !ENV['GEM_CROSS_COMPILING']
|
22
22
|
spec.files << 'lib/raygun/raygun_ext.bundle'
|
23
23
|
spec.platform = 'universal-darwin'
|
24
24
|
else
|