opentelemetry-exporter-zipkin 0.23.1 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +24 -16
- data/README.md +1 -2
- data/lib/opentelemetry/exporter/zipkin/exporter.rb +3 -4
- data/lib/opentelemetry/exporter/zipkin/transformer.rb +1 -1
- data/lib/opentelemetry/exporter/zipkin/version.rb +1 -1
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa7bcc198e478108741576a640e497c4e9591f04bf70d43c79d14605dd5b0d77
|
4
|
+
data.tar.gz: 0622cfd8fa35641647305b09a57993000b1156a1009d4f415c95b27c5d70112a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz: '
|
6
|
+
metadata.gz: 0b97100a84b7d5f45090071f5806e0c70204e6dbfb6e4f7dac39db718a2d5db6e0f85693a259c18b5a59c7a53b8902f19ebe441f7f5ef92cdf301c120689875f
|
7
|
+
data.tar.gz: '09a350f3328062148364082d48015410a05c7bb8045887a77e785dbf89fa16cec84314851bab7606ae7b644c4a9120f0f9ee81d15ff035906fa145a03cb57814'
|
data/CHANGELOG.md
CHANGED
@@ -1,53 +1,61 @@
|
|
1
1
|
# Release History: opentelemetry-exporter-zipkin
|
2
2
|
|
3
|
+
### v0.24.0 / 2025-02-25
|
4
|
+
|
5
|
+
- ADDED: Support 3.1 Min Version
|
6
|
+
|
7
|
+
### v0.23.2 / 2024-12-04
|
8
|
+
|
9
|
+
- FIXED: Remove WRITE_TIMEOUT_SUPPORTED
|
10
|
+
|
3
11
|
### v0.23.1 / 2024-02-06
|
4
12
|
|
5
|
-
|
6
|
-
|
13
|
+
- FIXED: Require csv for ruby-3.4 compatibility
|
14
|
+
- DOCS: Add missing period
|
7
15
|
|
8
16
|
### v0.23.0 / 2023-06-08
|
9
17
|
|
10
|
-
|
18
|
+
- BREAKING CHANGE: Remove support for EoL Ruby 2.7
|
11
19
|
|
12
|
-
|
20
|
+
- ADDED: Remove support for EoL Ruby 2.7
|
13
21
|
|
14
22
|
### v0.22.0 / 2023-05-30
|
15
23
|
|
16
|
-
|
24
|
+
- ADDED: Custom Metrics Reporter Support for Zipkin
|
17
25
|
|
18
26
|
### v0.21.0 / 2022-09-14
|
19
27
|
|
20
|
-
|
21
|
-
|
28
|
+
- ADDED: Add dropped events/attributes/links counts to zipkin + jaeger exporters
|
29
|
+
- ADDED: Support InstrumentationScope, and update OTLP proto to 0.18.0
|
22
30
|
|
23
31
|
### v0.20.0 / 2022-06-09
|
24
32
|
|
25
|
-
|
33
|
+
- (No significant changes)
|
26
34
|
|
27
35
|
### v0.19.3 / 2021-12-01
|
28
36
|
|
29
|
-
|
37
|
+
- FIXED: Change net attribute names to match the semantic conventions spec for http
|
30
38
|
|
31
39
|
### v0.19.2 / 2021-09-29
|
32
40
|
|
33
|
-
|
41
|
+
- (No significant changes)
|
34
42
|
|
35
43
|
### v0.19.1 / 2021-08-12
|
36
44
|
|
37
|
-
|
45
|
+
- DOCS: Update docs to rely more on environment variable configuration
|
38
46
|
|
39
47
|
### v0.19.0 / 2021-06-23
|
40
48
|
|
41
|
-
|
49
|
+
- BREAKING CHANGE: Total order constraint on span.status=
|
42
50
|
|
43
|
-
|
51
|
+
- FIXED: Total order constraint on span.status=
|
44
52
|
|
45
53
|
### v0.18.0 / 2021-05-21
|
46
54
|
|
47
|
-
|
55
|
+
- BREAKING CHANGE: Replace Time.now with Process.clock_gettime
|
48
56
|
|
49
|
-
|
57
|
+
- FIXED: Replace Time.now with Process.clock_gettime
|
50
58
|
|
51
59
|
### v0.17.0 / 2021-04-22
|
52
60
|
|
53
|
-
|
61
|
+
- Initial release.
|
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
|
-
|
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
|
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
|
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
|
-
#
|
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
|
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.
|
4
|
+
version: 0.24.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenTelemetry Authors
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-02-25 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.
|
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.
|
166
|
+
version: '1.65'
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: simplecov
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
@@ -184,14 +184,14 @@ dependencies:
|
|
184
184
|
requirements:
|
185
185
|
- - "~>"
|
186
186
|
- !ruby/object:Gem::Version
|
187
|
-
version: 3.
|
187
|
+
version: '3.24'
|
188
188
|
type: :development
|
189
189
|
prerelease: false
|
190
190
|
version_requirements: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
192
|
- - "~>"
|
193
193
|
- !ruby/object:Gem::Version
|
194
|
-
version: 3.
|
194
|
+
version: '3.24'
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
196
|
name: yard
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|
@@ -240,11 +240,11 @@ 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.
|
243
|
+
changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-zipkin/v0.24.0/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.
|
247
|
-
post_install_message:
|
246
|
+
documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-zipkin/v0.24.0
|
247
|
+
post_install_message:
|
248
248
|
rdoc_options: []
|
249
249
|
require_paths:
|
250
250
|
- lib
|
@@ -252,15 +252,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
252
252
|
requirements:
|
253
253
|
- - ">="
|
254
254
|
- !ruby/object:Gem::Version
|
255
|
-
version: '3.
|
255
|
+
version: '3.1'
|
256
256
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
257
257
|
requirements:
|
258
258
|
- - ">="
|
259
259
|
- !ruby/object:Gem::Version
|
260
260
|
version: '0'
|
261
261
|
requirements: []
|
262
|
-
rubygems_version: 3.
|
263
|
-
signing_key:
|
262
|
+
rubygems_version: 3.3.27
|
263
|
+
signing_key:
|
264
264
|
specification_version: 4
|
265
265
|
summary: Zipkin trace exporter for the OpenTelemetry framework
|
266
266
|
test_files: []
|