skylight-core 3.1.0.beta3 → 3.1.0

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: c0acb12b078886582ef8a98bc478aefcb06bc5610b416082866835db0d81c1a2
4
- data.tar.gz: eb918f1553854966724dabdc4b9b7118c7f63ecbedab9fb9abb6e2349bc816cb
3
+ metadata.gz: a23b4ee1f13cbafa7e98c105a8350a8580b900ba88c40c3cad7a7f58d4924178
4
+ data.tar.gz: 5029e85f3bbdffa3bc4a64cdd0a0826590d971854bb4d8486a61444958d2e54d
5
5
  SHA512:
6
- metadata.gz: 91323780c51531157f1211640bb24f1a6bcc50662d811b9609659bb1145696a686a6f828ba5cb5a01270a736995ec6c18fa0e56b7d9a624f12aa2dc6e5501d11
7
- data.tar.gz: 6a58ee0bae8481354eca4b9e09f06d0fed84d7b22fd0dfbfefe549b27ba9fd9352d8ba8f0eef2813f4686725f5682aa91c885bd81c4bfd15909c32e0c70f4469
6
+ metadata.gz: a28565ddbc62403ff6f223c524bd8454bc21515ea87decfb8784048915a0fddf86b3daddbc5e20f05052ca8d17a7973c7636e659c98a772a2e7c7222088ca0cf
7
+ data.tar.gz: f6783d6ecaf14dd98cfb11eb133e11d24b2c84e597930d28342c0f85f7e4b03cf4aee2e63fc4efb398d147dcedc211b7b48a92988abcca1d49f429ecd58e6448
@@ -15,6 +15,8 @@ module Skylight::Core
15
15
  MUTEX = Mutex.new
16
16
 
17
17
  def self.log_name; "Skylight" end
18
+ def self.service_name; log_name end
19
+ def self.support_email; "support@skylight.io" end
18
20
  def self.env_matcher; /^(?:SK|SKYLIGHT)_(.+)$/ end
19
21
  def self.env_prefix; "SKYLIGHT_" end
20
22
 
@@ -52,7 +52,7 @@ module Skylight::Core
52
52
  end
53
53
  elsif !Rails.env.test?
54
54
  unless config.user_config.disable_env_warning?
55
- log_warning config, "#{log_prefix} You are running in the #{Rails.env} environment but haven't added it to config.#{self.class.root_key}.environments, so no data will be sent to skylight.io."
55
+ log_warning config, "#{log_prefix} You are running in the #{Rails.env} environment but haven't added it to config.#{self.class.root_key}.environments, so no data will be sent to #{config.class.service_name} servers."
56
56
  end
57
57
  end
58
58
  end
@@ -134,6 +134,7 @@ module Skylight::Core
134
134
  stop(span, Util::Clock.nanos - gc_time)
135
135
  rescue => e
136
136
  error "failed to close span; msg=%s; endpoint=%s", e.message, endpoint
137
+ log_trace "Original Backtrace:\n#{e.backtrace.join("\n")}"
137
138
  broken!
138
139
  nil
139
140
  end
@@ -256,7 +257,7 @@ module Skylight::Core
256
257
  end
257
258
  end
258
259
 
259
- message << "\nThis request will not be tracked. Please contact support@skylight.io for more information."
260
+ message << "\nThis request will not be tracked. Please contact #{config.class.support_email} for more information."
260
261
 
261
262
  error message
262
263
 
@@ -1,6 +1,6 @@
1
1
  module Skylight
2
2
  module Core
3
- VERSION = '3.1.0-beta3'
3
+ VERSION = '3.1.0'
4
4
  end
5
5
  end
6
6
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: skylight-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0.beta3
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tilde, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-18 00:00:00.000000000 Z
11
+ date: 2018-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -263,9 +263,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
263
263
  version: 2.2.7
264
264
  required_rubygems_version: !ruby/object:Gem::Requirement
265
265
  requirements:
266
- - - ">"
266
+ - - ">="
267
267
  - !ruby/object:Gem::Version
268
- version: 1.3.1
268
+ version: '0'
269
269
  requirements: []
270
270
  rubyforge_project:
271
271
  rubygems_version: 2.7.6