skylight 5.0.1 → 5.1.0.beta
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -2
- data/ext/libskylight.yml +9 -6
- data/lib/skylight/config.rb +7 -5
- data/lib/skylight/util/ssl.rb +0 -22
- data/lib/skylight/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 818b5bba3a23f9c4f7a500ded64f762b5668297637909031990a6c5796ddc47d
|
4
|
+
data.tar.gz: ef0978c64b52908ced68a488e2df81deb90c296e98343e5dd3cb9753077c0420
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a2d763e05629403025d99ff3ae61c845aaf410ba8081a0711ecc57de4d45c830b010ec41963834ee87630a88e09823e5ef03b07451f0e5ba53be6e2c0fb32d3
|
7
|
+
data.tar.gz: 2621fad8395b383e927cbc84c695b5cd253f92b079f94bb2bde7e1f5b7f23e90ad55b23119958ab1b5edf1e2de6713db938441ae0bcbedafa1c8859aa23c232b
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
## 5.1.0 (April 26 2021)
|
2
|
+
* [FEATURE] Add experimental tcp-based `skylightd` (may be enabled with `SKYLIGHT_ENABLE_TCP=true`)
|
3
|
+
|
4
|
+
* [IMPROVEMENT] Support aarch64-darwin targets (Apple M1)
|
5
|
+
* [IMPROVEMENT] Support aarch64-linux-gnu targets
|
6
|
+
* [IMPROVEMENT] Support aarch64-linux-musl targets
|
7
|
+
|
8
|
+
* [BREAKING] Remove `SKYLIGHT_SSL_CERT_DIR` config
|
9
|
+
* [BREAKING] Drop support for Ruby 2.5
|
10
|
+
|
1
11
|
## 5.0.1 (March 11, 2021)
|
2
12
|
* [IMPROVEMENT] Use argument-forwarding (...) where available in custom instrumentation
|
3
13
|
|
@@ -21,11 +31,11 @@
|
|
21
31
|
* [IMPROVEMENT] Better logging config. `SKYLIGHT_NATIVE_LOG_LEVEL` now defaults to `warn`.
|
22
32
|
|
23
33
|
* [BREAKING] Rename `environment` keyword argument to `priority_key`. Note `env` has not changed.
|
24
|
-
* [BREAKING] Drop support for Ruby 2.4
|
25
34
|
* [BREAKING] Merge skylight-core into skylight. All classes previously namespaced under `Skylight::Core` have been moved to `Skylight`.
|
26
35
|
* [BREAKING] Remove `Skylight::Util::Inflector`
|
27
36
|
* [BREAKING] Drop support for Rails 4
|
28
|
-
* [BREAKING] Drop support for Ruby 2.3
|
37
|
+
* [BREAKING] Drop support for Ruby 2.3 and 2.4
|
38
|
+
* [BREAKING] Drop support for glibc < 2.23
|
29
39
|
|
30
40
|
* [BUGFIX] Fix issue with missing metadata in MongoDB probe
|
31
41
|
* [BUGFIX] Resolve an inability to parse certain SQL queries containing arrays
|
data/ext/libskylight.yml
CHANGED
@@ -1,8 +1,11 @@
|
|
1
|
-
# commit
|
1
|
+
# commit 8a5d5b9a48ed1f3bb75b9bb32c51c102fa1cf598
|
2
2
|
---
|
3
|
-
version: "5.
|
3
|
+
version: "5.1.0-7b3c5cf"
|
4
4
|
checksums:
|
5
|
-
x86-linux:
|
6
|
-
x86_64-linux:
|
7
|
-
x86_64-linux-musl:
|
8
|
-
x86_64-darwin:
|
5
|
+
x86-linux: "51e7e54bbbfe3a8785eda6b041aa27f2bc46fd80134b82f4f4a45ac7fc3e7105"
|
6
|
+
x86_64-linux: "9d0d3b94c37beacb3acb55152c614632473c5251d383aa366c443c32ba0a0e70"
|
7
|
+
x86_64-linux-musl: "52ae0d56f4d545a6f455140ceb0c4616308872223334f39a73b3aeaff2fef07a"
|
8
|
+
x86_64-darwin: "2839ee8576980d3de597a76b0080b6e0e6c345a90543528f72175616d9ef4be5"
|
9
|
+
aarch64-linux: "9787d414fa4e52be6aa3b4aeaae45eced2c0049845bdafa584c4587ea9c69e3a"
|
10
|
+
aarch64-linux-musl: "66cb234ebb468277c001e74fb0bd2427b01e53147472738fc0814d0845616ecc"
|
11
|
+
aarch64-darwin: "d85bd55de7ae01e11d15bcf8446c5de3801ccbbddfb7e027808cab6566b59498"
|
data/lib/skylight/config.rb
CHANGED
@@ -97,7 +97,8 @@ module Skylight
|
|
97
97
|
-"CLIENT_QUEUE_DEPTH" => :'daemon.client_queue_depth',
|
98
98
|
-"CLIENT_WRITE_TIMEOUT" => :'daemon.client_write_timeout',
|
99
99
|
-"SSL_CERT_PATH" => :'daemon.ssl_cert_path',
|
100
|
-
-"
|
100
|
+
-"ENABLE_TCP" => :'daemon.enable_tcp',
|
101
|
+
-"TCP_PORT" => :'daemon.tcp_port',
|
101
102
|
|
102
103
|
# == Legacy env vars ==
|
103
104
|
#
|
@@ -166,7 +167,6 @@ module Skylight
|
|
166
167
|
|
167
168
|
unless Util::Platform::OS == -"darwin"
|
168
169
|
ret[:'daemon.ssl_cert_path'] = Util::SSL.ca_cert_file_or_default
|
169
|
-
ret[:'daemon.ssl_cert_dir'] = Util::SSL.ca_cert_dir
|
170
170
|
end
|
171
171
|
|
172
172
|
if Skylight.native?
|
@@ -226,6 +226,8 @@ module Skylight
|
|
226
226
|
daemon.client_write_timeout
|
227
227
|
daemon.ssl_cert_path
|
228
228
|
daemon.ssl_cert_dir
|
229
|
+
daemon.enable_tcp
|
230
|
+
daemon.tcp_port
|
229
231
|
]
|
230
232
|
end
|
231
233
|
|
@@ -285,9 +287,9 @@ module Skylight
|
|
285
287
|
error = nil
|
286
288
|
begin
|
287
289
|
attrs = YAML.safe_load(ERB.new(File.read(path)).result,
|
288
|
-
[],
|
289
|
-
[],
|
290
|
-
true)
|
290
|
+
permitted_classes: [],
|
291
|
+
permitted_symbols: [],
|
292
|
+
aliases: true)
|
291
293
|
error = "empty file" unless attrs
|
292
294
|
error = "invalid format" if attrs && !attrs.is_a?(Hash)
|
293
295
|
rescue Exception => e
|
data/lib/skylight/util/ssl.rb
CHANGED
@@ -18,37 +18,15 @@ module Skylight
|
|
18
18
|
end
|
19
19
|
end
|
20
20
|
|
21
|
-
def self.detect_ca_cert_dir!
|
22
|
-
return nil if ENV["SKYLIGHT_FORCE_OWN_CERTS"]
|
23
|
-
|
24
|
-
@ca_cert_dir = false
|
25
|
-
if defined?(OpenSSL::X509::DEFAULT_CERT_DIR)
|
26
|
-
d = OpenSSL::X509::DEFAULT_CERT_DIR
|
27
|
-
|
28
|
-
if d && File.exist?(d)
|
29
|
-
@ca_cert_dir = d
|
30
|
-
end
|
31
|
-
end
|
32
|
-
end
|
33
|
-
|
34
21
|
detect_ca_cert_file!
|
35
|
-
detect_ca_cert_dir!
|
36
22
|
|
37
23
|
def self.ca_cert_file?
|
38
24
|
!!@ca_cert_file
|
39
25
|
end
|
40
26
|
|
41
|
-
def self.ca_cert_dir?
|
42
|
-
!!@ca_cert_dir
|
43
|
-
end
|
44
|
-
|
45
27
|
def self.ca_cert_file_or_default
|
46
28
|
@ca_cert_file || DEFAULT_CA_FILE
|
47
29
|
end
|
48
|
-
|
49
|
-
class << self
|
50
|
-
attr_reader :ca_cert_dir
|
51
|
-
end
|
52
30
|
end
|
53
31
|
end
|
54
32
|
end
|
data/lib/skylight/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: skylight
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.
|
4
|
+
version: 5.1.0.beta
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tilde, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-04-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -142,14 +142,14 @@ dependencies:
|
|
142
142
|
requirements:
|
143
143
|
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 1.
|
145
|
+
version: 1.13.0
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: 1.
|
152
|
+
version: 1.13.0
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: simplecov
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -378,11 +378,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
378
378
|
version: '2.5'
|
379
379
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
380
380
|
requirements:
|
381
|
-
- - "
|
381
|
+
- - ">"
|
382
382
|
- !ruby/object:Gem::Version
|
383
|
-
version:
|
383
|
+
version: 1.3.1
|
384
384
|
requirements: []
|
385
|
-
rubygems_version: 3.2.
|
385
|
+
rubygems_version: 3.2.15
|
386
386
|
signing_key:
|
387
387
|
specification_version: 4
|
388
388
|
summary: Skylight is a smart profiler for Rails, Sinatra, and other Ruby apps.
|