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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: abfcafa2bc6dc7c4602ab06ef42b036bde7e45b4ac000fb5646d8da3a3df04e0
4
- data.tar.gz: 88f0f54950ba3679274c7317ea52da97b5953da140b0893c8189fb5909c93010
3
+ metadata.gz: af0bce6f95af25776d4f7ae6dcfe4499a337e04e3de8477d172d11ce5039ab4e
4
+ data.tar.gz: e505b6a5a99d115f5510c717c2da28a4b6954814a50d36dc260dd546b9a919e8
5
5
  SHA512:
6
- metadata.gz: 5acec7a23b05023dcad50dcf94bb93e75f0de31a9af109b62a9bbaaaa1c8888b48770c7bc0193acca0eb90afbd41209bec996470955e1d116917617408b5ef72
7
- data.tar.gz: bf3fba7b99aa81d6cb250939f2e19663de3b5d53dc57c248bef4b61f2ab1d37f4c5d4190cb26d003ff9fa2540ab53e4daed1dcf3b7bbed0e288576eec71cb2c2
6
+ metadata.gz: 4ae2c5df357968de91423b3b6ece28ab09118d9ff95752da0fd0a8423ed45ee7fea7ef23272a3ab3a82836a42e23747cdc250a36fdb9443dc69e25222e183322
7
+ data.tar.gz: 8f678a39e43e00f05ca7eb16ed4a0b969e1de51146a724236626fa6337d05dee32fd0968f018ae1b18094caf39e665436dbde5bc93c0267c3def0116e940318a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- raygun-apm (0.0.4)
4
+ raygun-apm (0.0.5)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -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
@@ -1,5 +1,5 @@
1
1
  module Raygun
2
2
  module Apm
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
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['GEM_CROSS_COMPILING']
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raygun-apm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: x86-linux
6
6
  authors:
7
7
  - Erkki Eilonen