zipkin-tracer 0.18.3 → 0.18.4

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: f0811282d262c38e02aae5a1475905bcd933e3ed
4
- data.tar.gz: 0fa985c319e8a7d6856b34f9c02e9a3b36ab0e2c
3
+ metadata.gz: 768c9ccdbfd3ed92c4468116bd07bcb11c8e3dcf
4
+ data.tar.gz: 6be68733478b7fca393288c0fbc5aaa37df6ae83
5
5
  SHA512:
6
- metadata.gz: 324ef871126c9271ad6b1859f871cca9aba9411063cfbd77c15555ac788976cfca9d0cf938d5631e027311ebc92ff683645b540d830f66a7d4d146553c5dd16f
7
- data.tar.gz: 8a3a5ad94e777233560edc9da77b6d22048b057249c0563f2817e84d82aaf835a3c34362331764b1d0f00ae9571b8cfd87166f66bcdfddfc927dc02cc2db9726
6
+ metadata.gz: 40f4f5d36eb20a5094004fd4312d7dc27dd90212de38e3d694f38e85853dd69e79d52cad76d5b490d1efa7550c52229773582a8405e263c3f0406388407f788d
7
+ data.tar.gz: ff89bbcc0d4a03e035be8658aedb6ecc678517d01e9fb408c2a0307fa1bbc3788758e654473fad7cb27862147ed9f0d1724ede6405388a24ad02848ec1aeffd4
@@ -47,7 +47,7 @@ module ZipkinTracer
47
47
  remote_endpoint = Trace::Endpoint.remote_endpoint(url, @service_name, local_endpoint.ip_format) # The endpoint we are calling.
48
48
  Trace.tracer.with_new_span(trace_id, env[:method].to_s.downcase) do |span|
49
49
  # annotate with method (GET/POST/etc.) and uri path
50
- span.record_tag(Trace::BinaryAnnotation::URI, url.path, Trace::BinaryAnnotation::Type::STRING, local_endpoint)
50
+ span.record_tag(Trace::BinaryAnnotation::PATH, url.path, Trace::BinaryAnnotation::Type::STRING, local_endpoint)
51
51
  span.record_tag(Trace::BinaryAnnotation::SERVER_ADDRESS, SERVER_ADDRESS_SPECIAL_VALUE, Trace::BinaryAnnotation::Type::BOOL, remote_endpoint)
52
52
  span.record(Trace::Annotation::CLIENT_SEND, local_endpoint)
53
53
  response = @app.call(env).on_complete do |renv|
@@ -62,7 +62,7 @@ module ZipkinTracer
62
62
  end
63
63
 
64
64
  def trace_request_information(span, env)
65
- span.record_tag(Trace::BinaryAnnotation::URI, env['PATH_INFO'])
65
+ span.record_tag(Trace::BinaryAnnotation::PATH, env['PATH_INFO'])
66
66
  end
67
67
 
68
68
  # Environment with Zipkin information in it
@@ -84,6 +84,7 @@ module Trace
84
84
  class BinaryAnnotation
85
85
  SERVER_ADDRESS = 'sa'.freeze
86
86
  URI = 'http.uri'.freeze
87
+ PATH = 'http.path'.freeze
87
88
  STATUS = 'http.status'.freeze
88
89
  LOCAL_COMPONENT = 'lc'.freeze
89
90
 
@@ -12,5 +12,5 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
  module ZipkinTracer
15
- VERSION = '0.18.3'.freeze
15
+ VERSION = '0.18.4'.freeze
16
16
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zipkin-tracer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.3
4
+ version: 0.18.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Franklin Hu