opentelemetry-exporter-otlp 0.20.1 → 0.20.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/README.md +10 -11
- data/lib/opentelemetry/exporter/otlp/exporter.rb +3 -0
- data/lib/opentelemetry/exporter/otlp/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eabae53a4290079ccd413e01b67b5a5a6e53b85b8b4ace916e2c57c8c398dd08
|
4
|
+
data.tar.gz: 4caeeec6e539984b219fc16c8985358d9d28127340894f39c4dfa06da2035f95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc57510d9a199297949b1693ed76fd3b98fd89968a938b941bc694ec8d23b2e3e182ec392ff31ddd55a44470d76a75f7db8531d00caa6c4f7951defb204295fc
|
7
|
+
data.tar.gz: 293938d6b178f3582e87a5d60701bef913e3f16b35351d4bfec22f9dd4ff48354034fb6e69b882c326a3f47c360327675430f277e3f080d3a731b2fbea5f9460
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release History: opentelemetry-exporter-otlp
|
2
2
|
|
3
|
+
### v0.20.2 / 2021-08-12
|
4
|
+
|
5
|
+
* FIXED: Add rescue for OpenSSL errors during export
|
6
|
+
* DOCS: Update docs to rely more on environment variable configuration
|
7
|
+
|
3
8
|
### v0.20.1 / 2021-06-29
|
4
9
|
|
5
10
|
* FIXED: Otlp encoding exceptions again
|
data/README.md
CHANGED
@@ -35,16 +35,15 @@ Then, configure the SDK to use the OTLP exporter as a span processor, and use th
|
|
35
35
|
require 'opentelemetry/sdk'
|
36
36
|
require 'opentelemetry/exporter/otlp'
|
37
37
|
|
38
|
-
#
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
end
|
38
|
+
# The OTLP exporter is the default, so no configuration is needed.
|
39
|
+
# However, it could be manually selected via an environment variable if required:
|
40
|
+
#
|
41
|
+
# ENV['OTEL_TRACES_EXPORTER'] = 'otlp'
|
42
|
+
#
|
43
|
+
# You may also configure various settings via environment variables:
|
44
|
+
# ENV['OTEL_EXPORTER_OTLP_COMPRESSION'] = 'gzip'
|
45
|
+
|
46
|
+
OpenTelemetry::SDK.configure
|
48
47
|
|
49
48
|
# To start a trace you need to get a Tracer from the TracerProvider
|
50
49
|
tracer = OpenTelemetry.tracer_provider.tracer('my_app_or_gem', '0.1.0')
|
@@ -67,7 +66,7 @@ For additional examples, see the [examples on github][examples-github].
|
|
67
66
|
|
68
67
|
## How can I configure the OTLP exporter?
|
69
68
|
|
70
|
-
The collector exporter can be configured explicitly in code,
|
69
|
+
The collector exporter can be configured explicitly in code, or via environment variables as shown above. The configuration parameters, environment variables, and defaults are shown below.
|
71
70
|
|
72
71
|
| Parameter | Environment variable | Default |
|
73
72
|
| ------------------- | -------------------------------------------- | ----------------------------------- |
|
@@ -199,6 +199,9 @@ module OpenTelemetry
|
|
199
199
|
rescue Net::OpenTimeout, Net::ReadTimeout
|
200
200
|
retry if backoff?(retry_count: retry_count += 1, reason: 'timeout')
|
201
201
|
return FAILURE
|
202
|
+
rescue OpenSSL::SSL::SSLError
|
203
|
+
retry if backoff?(retry_count: retry_count += 1, reason: 'openssl_error')
|
204
|
+
return FAILURE
|
202
205
|
rescue SocketError
|
203
206
|
retry if backoff?(retry_count: retry_count += 1, reason: 'socket_error')
|
204
207
|
return FAILURE
|
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.
|
4
|
+
version: 0.20.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: 2021-
|
11
|
+
date: 2021-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-protobuf
|
@@ -30,28 +30,28 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.0.0.
|
33
|
+
version: 1.0.0.rc3
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.0.0.
|
40
|
+
version: 1.0.0.rc3
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: opentelemetry-common
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.19.
|
47
|
+
version: 0.19.1
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.19.
|
54
|
+
version: 0.19.1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: opentelemetry-sdk
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -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.
|
218
|
+
changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-otlp/v0.20.2/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.
|
221
|
+
documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-otlp/v0.20.2
|
222
222
|
post_install_message:
|
223
223
|
rdoc_options: []
|
224
224
|
require_paths:
|