aws-xray 0.7.1 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -2
- data/lib/aws/xray/segment.rb +1 -1
- data/lib/aws/xray/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: 362df5eec453be15bad6af5cc1a2a05af277df70
|
|
4
|
+
data.tar.gz: 2280694a354290e4234ba9bbe5928e0f4408e548
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e3a379f1e26dbb83a339c2bba8cf4831933bbd13a0884c80a49a709d1606317d0f69755fc9dad5a191bfe6bb01e5f4cb51b243b57242ba254d26fc797525f015
|
|
7
|
+
data.tar.gz: e8d77430640aafae31301975d193f1cf22853856376cb3999efe44d3844c9fbc96a4ca3abe73756f35d30bcd3c488705752a7c63907f22e9c60468bc325b9e5e
|
data/README.md
CHANGED
|
@@ -78,7 +78,6 @@ end
|
|
|
78
78
|
### non-Rack app (like background jobs)
|
|
79
79
|
```ruby
|
|
80
80
|
require 'aws-xray'
|
|
81
|
-
Aws::Xray.config.name = 'my-app'
|
|
82
81
|
|
|
83
82
|
# Build HTTP client with Faraday builder.
|
|
84
83
|
# You can set the down stream app id to Host header as well.
|
|
@@ -88,7 +87,7 @@ client = Faraday.new('...') do |builder|
|
|
|
88
87
|
end
|
|
89
88
|
|
|
90
89
|
# Start new tracing context then perform arbitrary actions in the block.
|
|
91
|
-
Aws::Xray.trace do |seg|
|
|
90
|
+
Aws::Xray.trace(name: 'my-app-batch') do |seg|
|
|
92
91
|
client.get('/foo')
|
|
93
92
|
|
|
94
93
|
Aws::Xray::Context.current.child_trace do |sub|
|
data/lib/aws/xray/segment.rb
CHANGED
|
@@ -55,7 +55,7 @@ module Aws
|
|
|
55
55
|
# @param [Hash] annotation Keys must consist of only alphabets and underscore.
|
|
56
56
|
# Values must be one of String or Integer or Boolean values.
|
|
57
57
|
def set_annotation(annotation)
|
|
58
|
-
AnnotationValidator.call(
|
|
58
|
+
AnnotationValidator.call(annotation)
|
|
59
59
|
@annotation = @annotation.merge(annotation)
|
|
60
60
|
end
|
|
61
61
|
|
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.7.
|
|
4
|
+
version: 0.7.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-05-
|
|
11
|
+
date: 2017-05-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|