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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1125e045d20dd0fabd71e7c17dbd72783646eb4f5596123140403dbdb04fad11
4
- data.tar.gz: ee5cc3b0c99fce1361ed5eb365e64032962e679de436a351aa8d85f967681213
3
+ metadata.gz: c65f900e34136a47b094481f79f762069d9b51f291e3af124d33fa831b70dc17
4
+ data.tar.gz: 48727712b84ea084c0f007174283fdf17510d5f708d10da491fd61f5d5524cb0
5
5
  SHA512:
6
- metadata.gz: a9b535ed10f4a74f5ac73cf8e8170dc494df016ae7ca2ef41c51ee664deff9db48d50f7f198624748ecee6a042ac65737e6cbb347701a9edc3994f0f1fceb493
7
- data.tar.gz: cb66d52453aabfad2e2bd1a3f98fe5d8ed12bbd9ba51de8619743b8d050719564e10beff3f641eeff321687af357c17e5a1580be6959733f0307bf0d08db5647
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
- TIMEOUT = OpenTelemetry::SDK::Trace::Export::TIMEOUT
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: 'https://localhost:4318/v1/traces'), # rubocop:disable Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity
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 TIMEOUT if remaining_timeout.zero?
167
+ return FAILURE if remaining_timeout.zero?
169
168
 
170
169
  @http.open_timeout = remaining_timeout
171
170
  @http.read_timeout = remaining_timeout
@@ -8,7 +8,7 @@ module OpenTelemetry
8
8
  module Exporter
9
9
  module OTLP
10
10
  ## Current OpenTelemetry OTLP exporter version
11
- VERSION = '0.21.1'
11
+ VERSION = '0.21.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-otlp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.1
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-05 00:00:00.000000000 Z
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.1/file.CHANGELOG.html
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.1
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: