opentelemetry-exporter-zipkin 0.23.0 → 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: eb192745d9de9b710c3bb323b3a7d9fd1d3dff3efeb35a6ec70a0a07c4465fc2
4
- data.tar.gz: b69bcd05aaed8a6f778b0d9ad836feeee5b44bbe47cc139177b75176224bcb1b
3
+ metadata.gz: 6bbbc021c0aa490e30bf2ce1d90ff90c204a2707139f307c762d7d124c0cebb3
4
+ data.tar.gz: 9d6298dc17cf19c647c78e34b37371c5796ebec516c4366ce0931f3fc5f932ac
5
5
  SHA512:
6
- metadata.gz: 0d52d8c89884b0e7683d578cbaf32526d3cde2aa1024a2dada78a7631278ef9cb9409fe1c1c1ee2853d2f0b7be0691896ecd2749baa8737b1881c0c6f3533897
7
- data.tar.gz: d77bf93999d54282da404cf172e61095e98c48dbb6824fdeee1f59a8a1513e305078f2e05405a150734718b8a85828c05ad5f24d3298937f64e0d21d23544cf4
6
+ metadata.gz: 69ed363666abfdd099416b259d86ebbd2f2b63785b85d916aaec9a5830b4823ac484982edfd82e81d76d7a7aaa526aede286f53cd2c7a3aa4d494cf62f5c8e5c
7
+ data.tar.gz: 894de881a94a1a7b3552d100c30438cbfdeccc79058e3cc76e96a4ad9b09976f739877cddfd0e0e3d461864dd33a35e5ee96cdb48756d6b4b90d50c586e2af0e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release History: opentelemetry-exporter-zipkin
2
2
 
3
+ ### v0.23.2 / 2024-12-04
4
+
5
+ * FIXED: Remove WRITE_TIMEOUT_SUPPORTED
6
+
7
+ ### v0.23.1 / 2024-02-06
8
+
9
+ * FIXED: Require csv for ruby-3.4 compatibility
10
+ * DOCS: Add missing period
11
+
3
12
  ### v0.23.0 / 2023-06-08
4
13
 
5
14
  * BREAKING CHANGE: Remove support for EoL Ruby 2.7
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # opentelemetry-exporter-zipkin
2
2
 
3
- The `opentelemetry-exporter-zipkin` gem provides Zipkin exporters for OpenTelemetry for Ruby. Using `opentelemetry-exporter-zipkin`, an application can configure OpenTelemetry to export collected tracing data to [Zipkin][zipkin-home]. One exporter is included: the `Exporter` exports in HTTP JSON format over TCP to a Zipkin backend
3
+ The `opentelemetry-exporter-zipkin` gem provides Zipkin exporters for OpenTelemetry for Ruby. Using `opentelemetry-exporter-zipkin`, an application can configure OpenTelemetry to export collected tracing data to [Zipkin][zipkin-home]. One exporter is included: the `Exporter` exports in HTTP JSON format over TCP to a Zipkin backend.
4
4
 
5
5
  ## What is OpenTelemetry?
6
6
 
@@ -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.0'
11
+ VERSION = '0.23.2'
12
12
  end
13
13
  end
14
14
  end
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-exporter-zipkin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.0
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: 2023-06-13 00:00:00.000000000 Z
11
+ date: 2024-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: csv
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '3.1'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '3.1'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: opentelemetry-api
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -142,14 +156,14 @@ dependencies:
142
156
  requirements:
143
157
  - - "~>"
144
158
  - !ruby/object:Gem::Version
145
- version: 1.51.0
159
+ version: '1.65'
146
160
  type: :development
147
161
  prerelease: false
148
162
  version_requirements: !ruby/object:Gem::Requirement
149
163
  requirements:
150
164
  - - "~>"
151
165
  - !ruby/object:Gem::Version
152
- version: 1.51.0
166
+ version: '1.65'
153
167
  - !ruby/object:Gem::Dependency
154
168
  name: simplecov
155
169
  requirement: !ruby/object:Gem::Requirement
@@ -226,10 +240,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
226
240
  licenses:
227
241
  - Apache-2.0
228
242
  metadata:
229
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-zipkin/v0.23.0/file.CHANGELOG.html
243
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-zipkin/v0.23.2/file.CHANGELOG.html
230
244
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/exporter/zipkin
231
245
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
232
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-zipkin/v0.23.0
246
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-zipkin/v0.23.2
233
247
  post_install_message:
234
248
  rdoc_options: []
235
249
  require_paths: