opentelemetry-exporter-otlp 0.21.1 → 0.21.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/opentelemetry/exporter/otlp/exporter.rb +3 -4
- data/lib/opentelemetry/exporter/otlp/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c65f900e34136a47b094481f79f762069d9b51f291e3af124d33fa831b70dc17
|
4
|
+
data.tar.gz: 48727712b84ea084c0f007174283fdf17510d5f708d10da491fd61f5d5524cb0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e360db9e6293a91eb5944f6752b93287385c2c2609454ef5b2a838eea6278b669fa5f28012836ca7d649196f6c108c4ad49231751c409b3d25f5ab40f79738a7
|
7
|
+
data.tar.gz: 9ee5d32db05a6834a56f0603235ef8becdbc138b764f0112d2f2ae94860613effbfdd53297ed1a0df1bbca81bae1392ede6883f1279aaa4610ca4deaf253867c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release History: opentelemetry-exporter-otlp
|
2
2
|
|
3
|
+
### v0.21.2 / 2022-01-19
|
4
|
+
|
5
|
+
* FIXED: Default scheme for OTLP endpoint
|
6
|
+
* FIXED: Remove TIMEOUT status from OTLP exporter (#1087)
|
7
|
+
|
3
8
|
### v0.21.1 / 2021-12-31
|
4
9
|
|
5
10
|
* FIXED: Allow OTLP Exporter compression value of `none`
|
@@ -22,8 +22,7 @@ module OpenTelemetry
|
|
22
22
|
class Exporter # rubocop:disable Metrics/ClassLength
|
23
23
|
SUCCESS = OpenTelemetry::SDK::Trace::Export::SUCCESS
|
24
24
|
FAILURE = OpenTelemetry::SDK::Trace::Export::FAILURE
|
25
|
-
|
26
|
-
private_constant(:SUCCESS, :FAILURE, :TIMEOUT)
|
25
|
+
private_constant(:SUCCESS, :FAILURE)
|
27
26
|
|
28
27
|
# Default timeouts in seconds.
|
29
28
|
KEEP_ALIVE_TIMEOUT = 30
|
@@ -44,7 +43,7 @@ module OpenTelemetry
|
|
44
43
|
end
|
45
44
|
end
|
46
45
|
|
47
|
-
def initialize(endpoint: config_opt('OTEL_EXPORTER_OTLP_TRACES_ENDPOINT', 'OTEL_EXPORTER_OTLP_ENDPOINT', default: '
|
46
|
+
def initialize(endpoint: config_opt('OTEL_EXPORTER_OTLP_TRACES_ENDPOINT', 'OTEL_EXPORTER_OTLP_ENDPOINT', default: 'http://localhost:4318/v1/traces'), # rubocop:disable Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity
|
48
47
|
certificate_file: config_opt('OTEL_EXPORTER_OTLP_TRACES_CERTIFICATE', 'OTEL_EXPORTER_OTLP_CERTIFICATE'),
|
49
48
|
ssl_verify_mode: Exporter.ssl_verify_mode,
|
50
49
|
headers: config_opt('OTEL_EXPORTER_OTLP_TRACES_HEADERS', 'OTEL_EXPORTER_OTLP_HEADERS', default: {}),
|
@@ -165,7 +164,7 @@ module OpenTelemetry
|
|
165
164
|
@headers.each { |key, value| request.add_field(key, value) }
|
166
165
|
|
167
166
|
remaining_timeout = OpenTelemetry::Common::Utilities.maybe_timeout(timeout, start_time)
|
168
|
-
return
|
167
|
+
return FAILURE if remaining_timeout.zero?
|
169
168
|
|
170
169
|
@http.open_timeout = remaining_timeout
|
171
170
|
@http.read_timeout = remaining_timeout
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opentelemetry-exporter-otlp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.21.
|
4
|
+
version: 0.21.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: 2022-01-
|
11
|
+
date: 2022-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-protobuf
|
@@ -238,10 +238,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
|
|
238
238
|
licenses:
|
239
239
|
- Apache-2.0
|
240
240
|
metadata:
|
241
|
-
changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-otlp/v0.21.
|
241
|
+
changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-otlp/v0.21.2/file.CHANGELOG.html
|
242
242
|
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/exporter/otlp
|
243
243
|
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
|
244
|
-
documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-otlp/v0.21.
|
244
|
+
documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-otlp/v0.21.2
|
245
245
|
post_install_message:
|
246
246
|
rdoc_options: []
|
247
247
|
require_paths:
|