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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c87ab5e9bed0411324b945f3d9b922cd432df9af
4
- data.tar.gz: 3855aa5a3a8021f15f685d79926588656f1417db
3
+ metadata.gz: b792bd9edd83c6519aa2abe19c57a5309681c1fb
4
+ data.tar.gz: 6c577191b4a08ecb0d2ed68bd538ada731b5bfd7
5
5
  SHA512:
6
- metadata.gz: 1077014bd4ef7b5f9b522a20d2a85cc7f9b7025a4537214e9b341514fd35c5a2db7eb93b1527fbefb334fe5eed1bbdaec566c7986407ef70a380cc6bab0a1d7b
7
- data.tar.gz: 22addeda25ebf8ea1e250a65e68b026c93cf0ea26a4016db54cd3f1387c67c4941b71cadfb461fef4b10b6680a1e86f61ccbad65ee18747107b84e1c81fc26a1
6
+ metadata.gz: 4399d887807138ea93c8067f4845fe905f06128edc7cdda3525d488ff25390c2ed06bfecfd18dfa042ba4fdbc48dac109e62590fe63a9cf23dd928c3c0aa7363
7
+ data.tar.gz: d15a4f6cff77015930eecc7afab684ba862f5272a2fd792a9edffa0ca7e450a391212ccf1247ce571ada3b1021726cd520cc4a23ef2a5ff9ad8c6543d84d4dc9
@@ -1,6 +1,6 @@
1
1
  ---
2
- version: "0.4.0-278b96b"
2
+ version: "0.4.0-d2c73cb"
3
3
  checksums:
4
- x86-linux: "00845099a2e69fc67fcd6d23bcdcc55ff7c724b1a9c0ffb00dcdca9f6190eb09"
5
- x86_64-linux: "07dd625358a195ff2851c7aa58626d491809e48845792eb0811a1dc4a875b62d"
6
- x86_64-darwin: "e8a3217bd4c5b6c5ad0193815e31a31d7632c59e27db4cf293ceccf8e12f39bb"
4
+ x86-linux: "4671996cf24d012452db68a792a70c23665b6efb1454e95e4fb1544df69615c0"
5
+ x86_64-linux: "51c82df086af87ea12c7aaa78c0d387ee540e93474d1df6ad8eb7db85d1841e4"
6
+ x86_64-darwin: "6b06223198062cce67a8c57e26e51b6907eb09baf5e53ad3ea13b3b62366d99e"
@@ -22,9 +22,10 @@ module Skylight
22
22
  'VERSION' => :'version',
23
23
 
24
24
  # == App settings ==
25
- 'ROOT' => :'root',
26
- 'APPLICATION' => :'application',
27
- 'HOSTNAME' => :'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
@@ -1,4 +1,4 @@
1
1
  module Skylight
2
- VERSION = '0.4.0-alpha1'
2
+ VERSION = '0.4.0-beta1'
3
3
  end
4
4
 
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.alpha1
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-09 00:00:00.000000000 Z
11
+ date: 2014-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport