aws-xray 0.34.2 → 0.34.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/lib/aws/xray/error_handlers.rb +1 -1
- data/lib/aws/xray/request.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: 532e479bf5d85136ef07b1797919d8b95f91c69a
|
4
|
+
data.tar.gz: ad77b1e33115dfa9cad71098a396d36521dd11c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a0e8a502c42fabb4b8462ab3168e4f35299e8b31a40aadde7e880a7d7e4e5ae0ff244777705f5b22d6bd9a832d3cf92b2e6e960c6f160c70b13fa35b43e443b
|
7
|
+
data.tar.gz: d2e66a08d7c6211730b8138d57010dffa3d6f09fd12673afd70cd77475190153081d836dab7f6431ffe87bdb059edbb720dfaab4e938756da2b8070c4e3bc5ad
|
data/README.md
CHANGED
@@ -71,8 +71,8 @@ docker run --link xray:xray --env AWS_XRAY_LOCATION=xray:2000 my-application
|
|
71
71
|
|
72
72
|
### Sampling
|
73
73
|
Sampling rate should be a float within 0 to 1. Both 0 and 1 are acceptable.
|
74
|
-
e.g. 0 means never sampled, 1 means always sampled, 0.3 means 30% of requests (or traces in
|
75
|
-
The default sampling rate is undefined so you should set your own sampling rate on production systems.
|
74
|
+
e.g. 0 means never sampled, 1 means always sampled, 0.3 means 30% of requests (or traces in non-Rack app) will be sampled.
|
75
|
+
The default sampling rate is undefined so you should set your own sampling rate on production systems.
|
76
76
|
|
77
77
|
Set sampling rate with `AWS_XRAY_SAMPLING_RATE` env var.
|
78
78
|
|
@@ -118,9 +118,9 @@ If you want to track these errors, for example with Sentry, you can configure yo
|
|
118
118
|
Aws::Xray.config.segment_sending_error_handler = MyCustomErrorHandler.new
|
119
119
|
```
|
120
120
|
|
121
|
-
The error handler must be callable object and receive 2 arguments and 2 keyword arguments. See `Aws::Xray::DefaultErrorHandler` more
|
121
|
+
The error handler must be callable object and receive 2 arguments and 2 keyword arguments. See `Aws::Xray::DefaultErrorHandler` for more details.
|
122
122
|
|
123
|
-
|
123
|
+
Optionally, aws-xray offers an error handler which integrates with Sentry. To use it:
|
124
124
|
|
125
125
|
```ruby
|
126
126
|
Aws::Xray.config.segment_sending_error_handler = Aws::Xray::ErrorHandlerWithSentry.new
|
data/lib/aws/xray/request.rb
CHANGED
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.34.
|
4
|
+
version: 0.34.3
|
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-
|
11
|
+
date: 2017-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|