aws-xray 0.21.1 → 0.21.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws/xray/trace.rb +2 -2
- data/lib/aws/xray/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 864f4ffd40e72b608675fbab21d6a44ea79a9519
|
4
|
+
data.tar.gz: 62f19470f559af8e8ca06b4a534a56da9f47f2e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88af2310e259d5de79c94829c783dcc9f2010e02f6573a7a8023e835d4d875e377a45be2d3cf8a694b3d611ed89220c0fb0460b1c062d73244fe43249160eb10
|
7
|
+
data.tar.gz: 3ee7ab7b9d9cad3a5dc360e16ee5b74d552c26ab04a66ffa0466c823465e62335807ea5e44cdf4e48f8c84f1f0fb6723df5ca6e679ef741f6d5df47bc6270f40
|
data/lib/aws/xray/trace.rb
CHANGED
@@ -7,7 +7,7 @@ module Aws
|
|
7
7
|
class Trace
|
8
8
|
class << self
|
9
9
|
def generate(now = Time.now)
|
10
|
-
new(root: generate_root(now))
|
10
|
+
new(root: generate_root(now), sampled: decide_sampling(nil))
|
11
11
|
end
|
12
12
|
|
13
13
|
def build_from_header_value(header_value, now = Time.now)
|
@@ -41,7 +41,7 @@ module Aws
|
|
41
41
|
|
42
42
|
attr_reader :root, :parent
|
43
43
|
|
44
|
-
def initialize(root:, sampled
|
44
|
+
def initialize(root:, sampled:, parent: nil)
|
45
45
|
@root = root
|
46
46
|
@sampled = sampled
|
47
47
|
@parent = parent
|
data/lib/aws/xray/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-xray
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.21.
|
4
|
+
version: 0.21.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Taiki Ono
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-06-
|
11
|
+
date: 2017-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -251,7 +251,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
251
251
|
version: '0'
|
252
252
|
requirements: []
|
253
253
|
rubyforge_project:
|
254
|
-
rubygems_version: 2.
|
254
|
+
rubygems_version: 2.5.2
|
255
255
|
signing_key:
|
256
256
|
specification_version: 4
|
257
257
|
summary: The unofficial X-Ray Tracing SDK for Ruby.
|