zipkin-tracer 0.47.0 → 0.47.1

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
  SHA256:
3
- metadata.gz: 82721c4960c43ae115304bb20f3cd2bc449118ad9e4a7bab46f83a99faec0d97
4
- data.tar.gz: 3ab36bb2a93a25222be0ca3e3a2515c8e25ac76f5cc5d90bde304b76be0d27df
3
+ metadata.gz: ce3094b9f74dd042c34745150a69644c87e61acb21b973c0aac0eae21e4b1a94
4
+ data.tar.gz: bf11f2ddb0503cf448cf2e0595418bce982cb1c4f1fd7594fbce0db5e3422a2f
5
5
  SHA512:
6
- metadata.gz: 03240e5d579ed704b2019c73249a3aaa76b608328b00cbb6b24bbcf9b0e870069b2ef05b41e3bed6af4fdbb4460b0d3a0cce5e91c1fdd1c31a15b9a1f851e14c
7
- data.tar.gz: 876c7dd29c0c7adfad87d2207b409acd2a4aa0970ebd15fbe9f0b4820124a6a04038d89c48305896ffb8fa146c6c3957011b44aff44be28467bab4aaaf0ce1e3
6
+ metadata.gz: 4ea9e6b556a501c882b06c22261e65d44e917d695f0624b677f261751e2bfd6054b6152dde01773c2b92e016226b40242252ae9d3a1b1d1dd734b420f22bc397
7
+ data.tar.gz: 5dd88683e1f4b1727acbd41ca2ae0457cae8ff100853beaee5cb578e87a55fa1ebd733951b915a1047c4c3328005337f59df8bb40840cc5d386fd53525fd5f22
@@ -1,3 +1,6 @@
1
+ # 0.47.1
2
+ * Fix to set `SERVER` span kind at the beginning to avoid being flushed before closing.
3
+
1
4
  # 0.47.0
2
5
  * Add a `check_routes` option to make the routable request check optional.
3
6
 
@@ -25,6 +25,7 @@ module ZipkinTracer
25
25
  @app.call(env)
26
26
  else
27
27
  @tracer.with_new_span(trace_id, span_name(env)) do |span|
28
+ span.kind = Trace::Span::Kind::SERVER
28
29
  trace!(span, zipkin_env) { @app.call(env) }
29
30
  end
30
31
  end
@@ -55,7 +56,6 @@ module ZipkinTracer
55
56
  end
56
57
 
57
58
  def trace_server_information(span, zipkin_env, status)
58
- span.kind = Trace::Span::Kind::SERVER
59
59
  span.record_status(status)
60
60
  SERVER_RECV_TAGS.each { |annotation_key, env_key| span.record_tag(annotation_key, zipkin_env.env[env_key]) }
61
61
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ZipkinTracer
4
- VERSION = '0.47.0'
4
+ VERSION = '0.47.1'
5
5
  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.47.0
4
+ version: 0.47.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Franklin Hu
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2020-08-30 00:00:00.000000000 Z
17
+ date: 2020-10-07 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: faraday