raygun-apm 0.0.4-x86-linux → 0.0.5-x86-linux
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: af0bce6f95af25776d4f7ae6dcfe4499a337e04e3de8477d172d11ce5039ab4e
|
4
|
+
data.tar.gz: e505b6a5a99d115f5510c717c2da28a4b6954814a50d36dc260dd546b9a919e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ae2c5df357968de91423b3b6ece28ab09118d9ff95752da0fd0a8423ed45ee7fea7ef23272a3ab3a82836a42e23747cdc250a36fdb9443dc69e25222e183322
|
7
|
+
data.tar.gz: 8f678a39e43e00f05ca7eb16ed4a0b969e1de51146a724236626fa6337d05dee32fd0968f018ae1b18094caf39e665436dbde5bc93c0267c3def0116e940318a
|
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
|