opentelemetry-exporter-otlp 0.20.0 → 0.20.1

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: a47b849e776e7b540e9f6cbc9ef084d477e36afcb5b3a14c59266982118760d5
4
- data.tar.gz: 30eec237cdd6289b7fba2cdfe29fc081638e70fe3a4dfa548e1b33caaa3ee1c9
3
+ metadata.gz: eaad2b71ecee14b25626ab9a081b837972160d1482b7936c7aaa6ae843d05d05
4
+ data.tar.gz: 459cc38c5d021a2b87044a25f5a9d9df2688852f7cb3c2c593b3d7a72d692e46
5
5
  SHA512:
6
- metadata.gz: 6a921db90201deec6715ec76d99d4c1fc06a746a2cc25a891824e9716a17452017a0e9f82dbcec492745573a6ae4ec943aab536d871fc67d9177d249c50fe03a
7
- data.tar.gz: b7d7708e915bdcb782047b560ab4b9a553d13f02faa25230ac805f8556287f435eb6597ef6ccfa30d26848522aa8a8cdc7fca98508bf239204fc0aa8f3a42133
6
+ metadata.gz: 82b047da9287198aef162b6afe176e37a6d73304ea081efff724d4452aedf931dd1617995ea07181bf09ada22f3db50d41abba03253f44dd1f0a11e207f231de
7
+ data.tar.gz: 38f2fcfd39070808b6a50b0bc3efb891f8910e0898a2a00f2f2a3f481d8e9c98ec563b6269385068426837a8420fe9475a8dcd75d50ffb1fa076d2de223c2d4e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release History: opentelemetry-exporter-otlp
2
2
 
3
+ ### v0.20.1 / 2021-06-29
4
+
5
+ * FIXED: Otlp encoding exceptions again
6
+
3
7
  ### v0.20.0 / 2021-06-23
4
8
 
5
9
  * BREAKING CHANGE: Total order constraint on span.status=
@@ -342,7 +342,8 @@ module OpenTelemetry
342
342
  def as_otlp_key_value(key, value)
343
343
  Opentelemetry::Proto::Common::V1::KeyValue.new(key: key, value: as_otlp_any_value(value))
344
344
  rescue Encoding::UndefinedConversionError => e
345
- OpenTelemetry.handle_error(exception: e, message: "encoding error for key #{key} and value #{value}")
345
+ encoded_value = value.encode('UTF-8', invalid: :replace, undef: :replace, replace: '�')
346
+ OpenTelemetry.handle_error(exception: e, message: "encoding error for key #{key} and value #{encoded_value}")
346
347
  Opentelemetry::Proto::Common::V1::KeyValue.new(key: key, value: as_otlp_any_value('Encoding Error'))
347
348
  end
348
349
 
@@ -8,7 +8,7 @@ module OpenTelemetry
8
8
  module Exporter
9
9
  module OTLP
10
10
  ## Current OpenTelemetry OTLP exporter version
11
- VERSION = '0.20.0'
11
+ VERSION = '0.20.1'
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.20.0
4
+ version: 0.20.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenTelemetry Authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-24 00:00:00.000000000 Z
11
+ date: 2021-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf
@@ -215,10 +215,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
215
215
  licenses:
216
216
  - Apache-2.0
217
217
  metadata:
218
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-otlp/v0.20.0/file.CHANGELOG.html
218
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-otlp/v0.20.1/file.CHANGELOG.html
219
219
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/exporter/otlp
220
220
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
221
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-otlp/v0.20.0
221
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-otlp/v0.20.1
222
222
  post_install_message:
223
223
  rdoc_options: []
224
224
  require_paths: