protobuf-opentracing 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/protobuf/opentracing/version.rb +1 -1
- data/lib/protobuf/rpc/extensions/base.rb +2 -2
- data/lib/protobuf/rpc/extensions/client.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 38d153b3d3979dfa0b59003356d9a8c456d4ed0cc4be0502db94e2870c38f955
|
4
|
+
data.tar.gz: 75fbd7bde2417d182f2dd3158d6e98a59958cf1cbfee2e7c8e9667ab636719c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d6cd78cb97cee8ec9ca5ed0062baa268999b38fdb04638cffef39ed907226a39c7ea652ff12e3fe30cc45c9390aa11c75a11b23ae4f3344fde62e9ec4e80720
|
7
|
+
data.tar.gz: b38d39cca692d601840aff5d719a1b033ef5a425239cbc374919b80979a6a32ad04e23bf21ae20516fddcd9c21ccec8414213a0ec6593f459bd76c7e29429c1d
|
data/README.md
CHANGED
@@ -20,8 +20,8 @@ Or install it yourself as:
|
|
20
20
|
|
21
21
|
## Usage
|
22
22
|
|
23
|
-
When
|
24
|
-
|
23
|
+
When loaded, this gem injects itself into the RPC server and client flow to
|
24
|
+
include and handle tracing information on requests. See the
|
25
25
|
[`opentracing`](https://rubygems.org/gems/opentracing/) gem for additional
|
26
26
|
information.
|
27
27
|
|
@@ -3,10 +3,10 @@ module Protobuf
|
|
3
3
|
module Extensions
|
4
4
|
module Base
|
5
5
|
def request_fields
|
6
|
-
return super if
|
6
|
+
return super if options[:tracing_span].nil?
|
7
7
|
|
8
8
|
trace_carrier = {}
|
9
|
-
::OpenTracing.inject(
|
9
|
+
::OpenTracing.inject(options[:tracing_span].context,
|
10
10
|
::OpenTracing::FORMAT_TEXT_MAP,
|
11
11
|
trace_carrier)
|
12
12
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: protobuf-opentracing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcos Minond
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|