skylight 0.4.0.alpha1 → 0.4.0.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/libskylight.yml +4 -4
- data/lib/skylight/config.rb +7 -3
- data/lib/skylight/instrumenter.rb +10 -0
- data/lib/skylight/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b792bd9edd83c6519aa2abe19c57a5309681c1fb
|
4
|
+
data.tar.gz: 6c577191b4a08ecb0d2ed68bd538ada731b5bfd7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4399d887807138ea93c8067f4845fe905f06128edc7cdda3525d488ff25390c2ed06bfecfd18dfa042ba4fdbc48dac109e62590fe63a9cf23dd928c3c0aa7363
|
7
|
+
data.tar.gz: d15a4f6cff77015930eecc7afab684ba862f5272a2fd792a9edffa0ca7e450a391212ccf1247ce571ada3b1021726cd520cc4a23ef2a5ff9ad8c6543d84d4dc9
|
data/ext/libskylight.yml
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
---
|
2
|
-
version: "0.4.0-
|
2
|
+
version: "0.4.0-d2c73cb"
|
3
3
|
checksums:
|
4
|
-
x86-linux: "
|
5
|
-
x86_64-linux: "
|
6
|
-
x86_64-darwin: "
|
4
|
+
x86-linux: "4671996cf24d012452db68a792a70c23665b6efb1454e95e4fb1544df69615c0"
|
5
|
+
x86_64-linux: "51c82df086af87ea12c7aaa78c0d387ee540e93474d1df6ad8eb7db85d1841e4"
|
6
|
+
x86_64-darwin: "6b06223198062cce67a8c57e26e51b6907eb09baf5e53ad3ea13b3b62366d99e"
|
data/lib/skylight/config.rb
CHANGED
@@ -22,9 +22,10 @@ module Skylight
|
|
22
22
|
'VERSION' => :'version',
|
23
23
|
|
24
24
|
# == App settings ==
|
25
|
-
'ROOT'
|
26
|
-
'APPLICATION'
|
27
|
-
'HOSTNAME'
|
25
|
+
'ROOT' => :'root',
|
26
|
+
'APPLICATION' => :'application',
|
27
|
+
'HOSTNAME' => :'hostname',
|
28
|
+
'SESSION_TOKEN' => :'session_token',
|
28
29
|
|
29
30
|
# == Logging ==
|
30
31
|
'LOG_FILE' => :'log_file',
|
@@ -34,6 +35,9 @@ module Skylight
|
|
34
35
|
# == Proxy ==
|
35
36
|
'PROXY_URL' => :'proxy_url',
|
36
37
|
|
38
|
+
# == Instrumenter ==
|
39
|
+
"IGNORED_ENDPOINT" => :'ignored_endpoint',
|
40
|
+
|
37
41
|
# == Skylight Remote ==
|
38
42
|
"AUTH_URL" => :'auth_url',
|
39
43
|
"AUTH_HTTP_DEFLATE" => :'auth_http_deflate',
|
@@ -232,6 +232,12 @@ module Skylight
|
|
232
232
|
|
233
233
|
def process(trace)
|
234
234
|
t { fmt "processing trace" }
|
235
|
+
|
236
|
+
if ignore?(trace)
|
237
|
+
t { fmt "ignoring trace" }
|
238
|
+
return false
|
239
|
+
end
|
240
|
+
|
235
241
|
begin
|
236
242
|
native_submit_trace(trace)
|
237
243
|
true
|
@@ -241,5 +247,9 @@ module Skylight
|
|
241
247
|
end
|
242
248
|
end
|
243
249
|
|
250
|
+
def ignore?(trace)
|
251
|
+
config.key?(:ignored_endpoint) && trace.endpoint == config[:ignored_endpoint]
|
252
|
+
end
|
253
|
+
|
244
254
|
end
|
245
255
|
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: 0.4.0.
|
4
|
+
version: 0.4.0.beta1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tilde, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|