opentelemetry-sdk 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/lib/opentelemetry/sdk/trace/export/multi_span_exporter.rb +4 -6
- data/lib/opentelemetry/sdk/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb002eea7584e4788afaee003a24012aa93582788ecd8745d6e0979d6a80970c
|
4
|
+
data.tar.gz: f8b5037249031a315436a24eb28235e1cab63915a57ebaab5493784cc6116cfc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03036bff46744fd6670649fea70300cff02e5364a19449bf38fe8ebfde7c5f5b831bfda12fcae685028469ecc6d7367e9b46125e247e7f5c2b0f8688ddb66b81
|
7
|
+
data.tar.gz: 2f4e11052927da389fd45d7dd0d173e51eec3e8818ad4dba962f6ef42e3b9bdeda414e0f2517c6c429069607d3e4114dc4f7a6b9126c0190fd26d0a40ac4c030
|
data/LICENSE
CHANGED
@@ -186,7 +186,7 @@
|
|
186
186
|
same "printed page" as the copyright notice for easier
|
187
187
|
identification within third-party archives.
|
188
188
|
|
189
|
-
Copyright
|
189
|
+
Copyright 2020 OpenTelemetry Authors
|
190
190
|
|
191
191
|
Licensed under the Apache License, Version 2.0 (the "License");
|
192
192
|
you may not use this file except in compliance with the License.
|
@@ -26,12 +26,10 @@ module OpenTelemetry
|
|
26
26
|
# @return [Integer] the result of the export.
|
27
27
|
def export(spans)
|
28
28
|
@span_exporters.inject(SUCCESS) do |result_code, span_exporter|
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
FAILED_NOT_RETRYABLE
|
34
|
-
end
|
29
|
+
merge_result_code(result_code, span_exporter.export(spans))
|
30
|
+
rescue => e # rubocop:disable Style/RescueStandardError
|
31
|
+
OpenTelemetry.logger.warn("exception raised by export - #{e}")
|
32
|
+
FAILED_NOT_RETRYABLE
|
35
33
|
end
|
36
34
|
end
|
37
35
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: opentelemetry-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.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: 2020-04-
|
11
|
+
date: 2020-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opentelemetry-api
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.4.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.4.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -189,7 +189,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
189
189
|
requirements:
|
190
190
|
- - ">="
|
191
191
|
- !ruby/object:Gem::Version
|
192
|
-
version: 2.
|
192
|
+
version: 2.5.0
|
193
193
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
194
194
|
requirements:
|
195
195
|
- - ">="
|