opentelemetry-exporter-otlp 0.36.0 → 0.37.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 +6 -0
- data/README.md +1 -1
- data/lib/opentelemetry/exporter/otlp/exporter.rb +2 -18
- data/lib/opentelemetry/exporter/otlp/version.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 65a1d95610cd4baa2fc786e2a6aa93ca03c2517638201aa81b7eadf161dacd8f
|
|
4
|
+
data.tar.gz: f6d7a78a6d578a67ef3d540ad1a5c34089119e2a316dabb6bff632f7795fa747
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '019c553548f6070e5098b4483079894994641261706ef5a7a0f7cef00d392fabe0b81b4a0fbc357b2161e3c3526220c854849b641966f6cef84fa7dddb56721a'
|
|
7
|
+
data.tar.gz: b58b514cdd1c8fadbbe52ec3ab7f997ca84f50d369dbb66b62d2b5b1aa508a51ed277b9bcddd7f7c7a39b20703efd77fe9b20adbf2fa0888c5e4d8b866d7a4bd
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Release History: opentelemetry-exporter-otlp
|
|
2
2
|
|
|
3
|
+
### v0.37.0 / 2026-09-29
|
|
4
|
+
|
|
5
|
+
* ADDED: Move otlp exporter uri builder to common (#2240)
|
|
6
|
+
* FIXED: Default OTLP exporter compression to none (#2331)
|
|
7
|
+
* FIXED: Normalize UTF-8 attribute strings (#2259)
|
|
8
|
+
|
|
3
9
|
### v0.36.0 / 2026-09-09
|
|
4
10
|
|
|
5
11
|
* ADDED: Use common conversion including supporting flags (#2333)
|
data/README.md
CHANGED
|
@@ -80,7 +80,7 @@ The collector exporter can be configured explicitly in code, or via environment
|
|
|
80
80
|
| `client_certificate_file` | `OTEL_EXPORTER_OTLP_CLIENT_CERTIFICATE` | |
|
|
81
81
|
| `client_key_file` | `OTEL_EXPORTER_OTLP_CLIENT_KEY` | |
|
|
82
82
|
| `headers:` | `OTEL_EXPORTER_OTLP_HEADERS` | |
|
|
83
|
-
| `compression:` | `OTEL_EXPORTER_OTLP_COMPRESSION` | `"
|
|
83
|
+
| `compression:` | `OTEL_EXPORTER_OTLP_COMPRESSION` | `"none"` |
|
|
84
84
|
| `timeout:` | `OTEL_EXPORTER_OTLP_TIMEOUT` | `10` |
|
|
85
85
|
| `ssl_verify_mode:` | `OTEL_RUBY_EXPORTER_OTLP_SSL_VERIFY_PEER` or | `OpenSSL::SSL:VERIFY_PEER` |
|
|
86
86
|
| | `OTEL_RUBY_EXPORTER_OTLP_SSL_VERIFY_NONE` | |
|
|
@@ -53,13 +53,12 @@ module OpenTelemetry
|
|
|
53
53
|
client_key_file: OpenTelemetry::Common::Utilities.config_opt('OTEL_EXPORTER_OTLP_TRACES_CLIENT_KEY', 'OTEL_EXPORTER_OTLP_CLIENT_KEY'),
|
|
54
54
|
ssl_verify_mode: Exporter.ssl_verify_mode,
|
|
55
55
|
headers: OpenTelemetry::Common::Utilities.config_opt('OTEL_EXPORTER_OTLP_TRACES_HEADERS', 'OTEL_EXPORTER_OTLP_HEADERS', default: {}),
|
|
56
|
-
compression: OpenTelemetry::Common::Utilities.config_opt('OTEL_EXPORTER_OTLP_TRACES_COMPRESSION', 'OTEL_EXPORTER_OTLP_COMPRESSION', default: '
|
|
56
|
+
compression: OpenTelemetry::Common::Utilities.config_opt('OTEL_EXPORTER_OTLP_TRACES_COMPRESSION', 'OTEL_EXPORTER_OTLP_COMPRESSION', default: 'none'),
|
|
57
57
|
timeout: OpenTelemetry::Common::Utilities.config_opt('OTEL_EXPORTER_OTLP_TRACES_TIMEOUT', 'OTEL_EXPORTER_OTLP_TIMEOUT', default: 10),
|
|
58
58
|
metrics_reporter: nil)
|
|
59
|
-
@uri = prepare_endpoint(endpoint)
|
|
60
|
-
|
|
61
59
|
raise ArgumentError, "unsupported compression key #{compression}" unless compression.nil? || %w[gzip none].include?(compression)
|
|
62
60
|
|
|
61
|
+
@uri = OpenTelemetry::Exporter::OTLP::Common::Utilities.build_uri(endpoint, 'v1/traces', 'OTEL_EXPORTER_OTLP_TRACES_ENDPOINT', 'OTEL_EXPORTER_OTLP_ENDPOINT', 'http://localhost:4318/')
|
|
63
62
|
@http = http_connection(@uri, ssl_verify_mode, certificate_file, client_certificate_file, client_key_file)
|
|
64
63
|
|
|
65
64
|
@path = @uri.path
|
|
@@ -286,21 +285,6 @@ module OpenTelemetry
|
|
|
286
285
|
value: duration_ms)
|
|
287
286
|
end
|
|
288
287
|
|
|
289
|
-
def prepare_endpoint(endpoint)
|
|
290
|
-
endpoint ||= ENV.fetch('OTEL_EXPORTER_OTLP_TRACES_ENDPOINT', nil)
|
|
291
|
-
if endpoint.nil?
|
|
292
|
-
endpoint = ENV['OTEL_EXPORTER_OTLP_ENDPOINT'] || 'http://localhost:4318'
|
|
293
|
-
endpoint += '/' unless endpoint.end_with?('/')
|
|
294
|
-
URI.join(endpoint, 'v1/traces')
|
|
295
|
-
elsif endpoint.strip.empty?
|
|
296
|
-
raise ArgumentError, "invalid url for OTLP::Exporter #{endpoint}"
|
|
297
|
-
else
|
|
298
|
-
URI(endpoint)
|
|
299
|
-
end
|
|
300
|
-
rescue URI::InvalidURIError
|
|
301
|
-
raise ArgumentError, "invalid url for OTLP::Exporter #{endpoint}"
|
|
302
|
-
end
|
|
303
|
-
|
|
304
288
|
def prepare_headers(config_headers)
|
|
305
289
|
headers = case config_headers
|
|
306
290
|
when String then parse_headers(config_headers)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: opentelemetry-exporter-otlp
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.37.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenTelemetry Authors
|
|
@@ -69,16 +69,16 @@ dependencies:
|
|
|
69
69
|
name: opentelemetry-exporter-otlp-common
|
|
70
70
|
requirement: !ruby/object:Gem::Requirement
|
|
71
71
|
requirements:
|
|
72
|
-
- - "
|
|
72
|
+
- - "~>"
|
|
73
73
|
- !ruby/object:Gem::Version
|
|
74
|
-
version: '0'
|
|
74
|
+
version: '0.2'
|
|
75
75
|
type: :runtime
|
|
76
76
|
prerelease: false
|
|
77
77
|
version_requirements: !ruby/object:Gem::Requirement
|
|
78
78
|
requirements:
|
|
79
|
-
- - "
|
|
79
|
+
- - "~>"
|
|
80
80
|
- !ruby/object:Gem::Version
|
|
81
|
-
version: '0'
|
|
81
|
+
version: '0.2'
|
|
82
82
|
- !ruby/object:Gem::Dependency
|
|
83
83
|
name: opentelemetry-sdk
|
|
84
84
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -136,10 +136,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
|
|
|
136
136
|
licenses:
|
|
137
137
|
- Apache-2.0
|
|
138
138
|
metadata:
|
|
139
|
-
changelog_uri: https://rubydoc.info/gems/opentelemetry-exporter-otlp/0.
|
|
140
|
-
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/opentelemetry-exporter-otlp/v0.
|
|
139
|
+
changelog_uri: https://rubydoc.info/gems/opentelemetry-exporter-otlp/0.37.0/file/CHANGELOG.md
|
|
140
|
+
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/opentelemetry-exporter-otlp/v0.37.0/exporter/otlp
|
|
141
141
|
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
|
|
142
|
-
documentation_uri: https://rubydoc.info/gems/opentelemetry-exporter-otlp/0.
|
|
142
|
+
documentation_uri: https://rubydoc.info/gems/opentelemetry-exporter-otlp/0.37.0
|
|
143
143
|
rdoc_options: []
|
|
144
144
|
require_paths:
|
|
145
145
|
- lib
|
|
@@ -154,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
154
154
|
- !ruby/object:Gem::Version
|
|
155
155
|
version: '0'
|
|
156
156
|
requirements: []
|
|
157
|
-
rubygems_version: 4.0.
|
|
157
|
+
rubygems_version: 4.0.20
|
|
158
158
|
specification_version: 4
|
|
159
159
|
summary: OTLP exporter for the OpenTelemetry framework
|
|
160
160
|
test_files: []
|