opentelemetry-exporter-otlp 0.15.0 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +2 -2
- data/lib/opentelemetry/exporter/otlp/exporter.rb +15 -2
- 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: 2455db90272d1c7656bf1496b86a9788727cc1130bbbbea5de716dec94f01ee3
|
4
|
+
data.tar.gz: aaebcfa6905ae078fc8ad21bd08e93ddb435a836904f12bf70db47b9a72a14ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a837ec3d592062abe1893195748a1de091c5381b7612607b8125a046f7699e284e06849e7920708c27e555a63d8b5838e542d96f70cce1b7fbbd9e3d1ce183f
|
7
|
+
data.tar.gz: 77776d8cd4c9321b7eb92e1e0f2e28c02ccf90869ebd534673713b01ddbe50be4f68664b4fd0f5ebc91aaf483ae0cd7d250fd766d8d164e0bddce897c2b6be10
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release History: opentelemetry-exporter-otlp
|
2
2
|
|
3
|
+
### v0.16.0 / 2021-03-17
|
4
|
+
|
5
|
+
* BREAKING CHANGE: Implement Exporter#force_flush
|
6
|
+
|
7
|
+
* ADDED: Implement Exporter#force_flush
|
8
|
+
* FIXED: Rescue socket err in otlp exporter to prevent failures unable to connect
|
9
|
+
* DOCS: Replace Gitter with GitHub Discussions
|
10
|
+
|
3
11
|
### v0.15.0 / 2021-02-18
|
4
12
|
|
5
13
|
* BREAKING CHANGE: Streamline processor pipeline
|
data/README.md
CHANGED
@@ -69,7 +69,7 @@ For additional examples, see the [examples on github][examples-github].
|
|
69
69
|
|
70
70
|
The `opentelemetry-exporter-otlp` gem source is [on github][repo-github], along with related gems including `opentelemetry-sdk`.
|
71
71
|
|
72
|
-
The OpenTelemetry Ruby gems are maintained by the OpenTelemetry-Ruby special interest group (SIG). You can get involved by joining us
|
72
|
+
The OpenTelemetry Ruby gems are maintained by the OpenTelemetry-Ruby special interest group (SIG). You can get involved by joining us in [GitHub Discussions][discussions-url] or attending our weekly meeting. See the [meeting calendar][community-meetings] for dates and times. For more information on this and other language SIGs, see the OpenTelemetry [community page][ruby-sig].
|
73
73
|
|
74
74
|
## License
|
75
75
|
|
@@ -84,4 +84,4 @@ The `opentelemetry-exporter-otlp` gem is distributed under the Apache 2.0 licens
|
|
84
84
|
[examples-github]: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/examples
|
85
85
|
[ruby-sig]: https://github.com/open-telemetry/community#ruby-sig
|
86
86
|
[community-meetings]: https://github.com/open-telemetry/community#community-meetings
|
87
|
-
[
|
87
|
+
[discussions-url]: https://github.com/open-telemetry/opentelemetry-ruby/discussions
|
@@ -76,14 +76,24 @@ module OpenTelemetry
|
|
76
76
|
send_bytes(encode(span_data), timeout: timeout)
|
77
77
|
end
|
78
78
|
|
79
|
-
# Called when {OpenTelemetry::SDK::Trace::
|
80
|
-
# this exporter is registered to a {OpenTelemetry::SDK::Trace::
|
79
|
+
# Called when {OpenTelemetry::SDK::Trace::TracerProvider#force_flush} is called, if
|
80
|
+
# this exporter is registered to a {OpenTelemetry::SDK::Trace::TracerProvider}
|
81
|
+
# object.
|
82
|
+
#
|
83
|
+
# @param [optional Numeric] timeout An optional timeout in seconds.
|
84
|
+
def force_flush(timeout: nil)
|
85
|
+
SUCCESS
|
86
|
+
end
|
87
|
+
|
88
|
+
# Called when {OpenTelemetry::SDK::Trace::TracerProvider#shutdown} is called, if
|
89
|
+
# this exporter is registered to a {OpenTelemetry::SDK::Trace::TracerProvider}
|
81
90
|
# object.
|
82
91
|
#
|
83
92
|
# @param [optional Numeric] timeout An optional timeout in seconds.
|
84
93
|
def shutdown(timeout: nil)
|
85
94
|
@shutdown = true
|
86
95
|
@http.finish if @http.started?
|
96
|
+
SUCCESS
|
87
97
|
end
|
88
98
|
|
89
99
|
private
|
@@ -177,6 +187,9 @@ module OpenTelemetry
|
|
177
187
|
rescue Net::OpenTimeout, Net::ReadTimeout
|
178
188
|
retry if backoff?(retry_count: retry_count += 1, reason: 'timeout')
|
179
189
|
return FAILURE
|
190
|
+
rescue SocketError
|
191
|
+
retry if backoff?(retry_count: retry_count += 1, reason: 'socket_error')
|
192
|
+
return FAILURE
|
180
193
|
end
|
181
194
|
ensure
|
182
195
|
# Reset timeouts to defaults for the next call.
|
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.
|
4
|
+
version: 0.16.0
|
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-03-22 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: 0.
|
33
|
+
version: 0.16.0
|
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: 0.
|
40
|
+
version: 0.16.0
|
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.
|
47
|
+
version: 0.16.0
|
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.
|
54
|
+
version: 0.16.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -201,10 +201,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
|
|
201
201
|
licenses:
|
202
202
|
- Apache-2.0
|
203
203
|
metadata:
|
204
|
-
changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-otlp/v0.
|
204
|
+
changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-otlp/v0.16.0/file.CHANGELOG.html
|
205
205
|
source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/exporter/otlp
|
206
206
|
bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
|
207
|
-
documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-otlp/v0.
|
207
|
+
documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-exporter-otlp/v0.16.0
|
208
208
|
post_install_message:
|
209
209
|
rdoc_options: []
|
210
210
|
require_paths:
|