opentelemetry-exporter-zipkin 0.23.1 → 0.23.2

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: ef63ef82321be2df3d7d1cd5344d1a91b24b9376b23db65d4fabe39355a2f75f
4
- data.tar.gz: 487062b48589e829ce71441b7ba59d102aa67ee051e60a30dec9e0b30cb096a7
3
+ metadata.gz: 6bbbc021c0aa490e30bf2ce1d90ff90c204a2707139f307c762d7d124c0cebb3
4
+ data.tar.gz: 9d6298dc17cf19c647c78e34b37371c5796ebec516c4366ce0931f3fc5f932ac
5
5
  SHA512:
6
- metadata.gz: 722c0ecbfc2772fcda8971f508dabc48a49fcc1830178b0ca1bea2c682267aa7120b93174d51dfd1b799a5a92c92903d5a89aba9598264a3365db40a848eb234
7
- data.tar.gz: '090e63bb456b4226cc376a19a32f26ae832a58dd9a81d5ef7681250ae0f9158f2860bf02fe192bb7ecc41cdbc107c69b1a05ad7ccf748dbc12ae2079bf20a5f7'
6
+ metadata.gz: 69ed363666abfdd099416b259d86ebbd2f2b63785b85d916aaec9a5830b4823ac484982edfd82e81d76d7a7aaa526aede286f53cd2c7a3aa4d494cf62f5c8e5c
7
+ data.tar.gz: 894de881a94a1a7b3552d100c30438cbfdeccc79058e3cc76e96a4ad9b09976f739877cddfd0e0e3d461864dd33a35e5ee96cdb48756d6b4b90d50c586e2af0e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release History: opentelemetry-exporter-zipkin
2
2
 
3
+ ### v0.23.2 / 2024-12-04
4
+
5
+ * FIXED: Remove WRITE_TIMEOUT_SUPPORTED
6
+
3
7
  ### v0.23.1 / 2024-02-06
4
8
 
5
9
  * FIXED: Require csv for ruby-3.4 compatibility
data/README.md CHANGED
@@ -18,7 +18,7 @@ Generally, *libraries* that produce telemetry data should avoid depending direct
18
18
 
19
19
  Install the gem using:
20
20
 
21
- ```
21
+ ```sh
22
22
  gem install opentelemetry-sdk
23
23
  gem install opentelemetry-exporter-zipkin
24
24
  ```
@@ -80,7 +80,6 @@ The OpenTelemetry Ruby gems are maintained by the OpenTelemetry-Ruby special int
80
80
 
81
81
  The `opentelemetry-exporter-zipkin` gem is distributed under the Apache 2.0 license. See [LICENSE][license-github] for more information.
82
82
 
83
-
84
83
  [zipkin-home]: https://zipkin.io/
85
84
  [opentelemetry-home]: https://opentelemetry.io
86
85
  [bundler-home]: https://bundler.io
@@ -24,8 +24,7 @@ module OpenTelemetry
24
24
  # Default timeouts in seconds.
25
25
  KEEP_ALIVE_TIMEOUT = 30
26
26
  RETRY_COUNT = 5
27
- WRITE_TIMEOUT_SUPPORTED = Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.6')
28
- private_constant(:KEEP_ALIVE_TIMEOUT, :RETRY_COUNT, :WRITE_TIMEOUT_SUPPORTED)
27
+ private_constant(:KEEP_ALIVE_TIMEOUT, :RETRY_COUNT)
29
28
 
30
29
  def initialize(endpoint: OpenTelemetry::Common::Utilities.config_opt('OTEL_EXPORTER_ZIPKIN_ENDPOINT', default: 'http://localhost:9411/api/v2/spans'),
31
30
  headers: OpenTelemetry::Common::Utilities.config_opt('OTEL_EXPORTER_ZIPKIN_TRACES_HEADERS', 'OTEL_EXPORTER_ZIPKIN_HEADERS'),
@@ -130,12 +129,12 @@ module OpenTelemetry
130
129
 
131
130
  @http.open_timeout = remaining_timeout
132
131
  @http.read_timeout = remaining_timeout
133
- @http.write_timeout = remaining_timeout if WRITE_TIMEOUT_SUPPORTED
132
+ @http.write_timeout = remaining_timeout
134
133
  @http.start unless @http.started?
135
134
 
136
135
  response = measure_request_duration { @http.request(request) }
137
136
  response.body # Read and discard body
138
- # in opentelemetry-js 200-399 is succcess, in opentelemetry-collector zipkin exporter,200-299 is a success
137
+ # in opentelemetry-js 200-399 is success, in opentelemetry-collector zipkin exporter,200-299 is a success
139
138
  # zipkin api docs list 202 as default success code
140
139
  # https://zipkin.io/zipkin-api/#/default/post_spans
141
140
  # TODO: redirect
@@ -50,7 +50,7 @@ module OpenTelemetry
50
50
  add_status_tags(span_d, tags)
51
51
  tags = aggregate_span_tags(span_d, tags)
52
52
 
53
- # TOOO: set debug flag? (is that represented in tracestate?)
53
+ # TODO: set debug flag? (is that represented in tracestate?)
54
54
  # https://github.com/openzipkin/b3-propagation#why-is-debug-encoded-as-x-b3-flags-1
55
55
  # https://github.com/openzipkin/zipkin-api/blob/7692ca7be4dc3be9225db550d60c4d30e6e9ec59/zipkin2-api.yaml#L475
56
56
  # TODO: shared key mapping
@@ -8,7 +8,7 @@ module OpenTelemetry
8
8
  module Exporter
9
9
  module Zipkin
10
10
  ## Current OpenTelemetry Zipkin exporter version
11
- VERSION = '0.23.1'
11
+ VERSION = '0.23.2'
12
12
  end
13
13
  end
14
14
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-exporter-zipkin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.1
4
+ version: 0.23.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenTelemetry Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-06 00:00:00.000000000 Z
11
+ date: 2024-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: csv
@@ -156,14 +156,14 @@ dependencies:
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: 1.51.0
159
+ version: '1.65'
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: 1.51.0
166
+ version: '1.65'
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: simplecov
169
169
  requirement: !ruby/object:Gem::Requirement
@@ -240,10 +240,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
240
240
  licenses:
241
241
  - Apache-2.0
242
242
  metadata:
243
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-zipkin/v0.23.1/file.CHANGELOG.html
243
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-zipkin/v0.23.2/file.CHANGELOG.html
244
244
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/exporter/zipkin
245
245
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
246
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-zipkin/v0.23.1
246
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-zipkin/v0.23.2
247
247
  post_install_message:
248
248
  rdoc_options: []
249
249
  require_paths: