opentelemetry-instrumentation-excon 0.5.0 → 0.10.0

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: '093a4f3e6af4321f2966f97d19787214b1dbc3d03459889ac0bdef68f9d54d23'
4
- data.tar.gz: f8f390cafa19fdadba489e446e35ac1cd8e99f03c17d33f2fbc85f8e2ddb3d80
3
+ metadata.gz: cade7ec5868745af02e19898c6c97494798e11e6e4443ce73258f9d42daa610c
4
+ data.tar.gz: 9ca6c00f791a4a8922153e4cc0793cc44ea485f1a1e3d609b4832f257159e97a
5
5
  SHA512:
6
- metadata.gz: 6ded4348f199283651e8926f4e7e21c758f39b2fbe220b7cba1a26a5d670563ab3dbe25f8793df420b690e488549f7d6bd3ed00f5277d3b6666e474acfcb978e
7
- data.tar.gz: '09690de20ed73b9e3199799f30a2d5c405aa8937c85f8756a2e7dcb8ece097ee4ff651cfb8e4e0c639aeabcafde9be82400ea02e69415b360ef34aae1393b812'
6
+ metadata.gz: 7f54992ce19d24d740aefaf2c5ce92f2030623474070b54a23ed5447c507f8e0377a27932a93658fac36db4423784c7be915972a799efd7d9cac48a416713445
7
+ data.tar.gz: e622ae22abd881a0ccbf17ac9ceba99a7d25038fa6fb0764871aace49affc54256d7b732d8169f644246a9308b8ff6eb84677cba9300fa11bbdf894e64d5de8a
@@ -0,0 +1,9 @@
1
+ --no-private
2
+ --title=OpenTelemetry Excon Instrumentation
3
+ --markup=markdown
4
+ --main=README.md
5
+ ./lib/opentelemetry/instrumentation/**/*.rb
6
+ ./lib/opentelemetry/instrumentation.rb
7
+ -
8
+ README.md
9
+ CHANGELOG.md
@@ -0,0 +1,27 @@
1
+ # Release History: opentelemetry-instrumentation-excon
2
+
3
+ ### v0.10.0 / 2020-12-03
4
+
5
+ * (No significant changes)
6
+
7
+ ### v0.9.0 / 2020-11-27
8
+
9
+ * BREAKING CHANGE: Add timeout for force_flush and shutdown
10
+
11
+ * ADDED: Add timeout for force_flush and shutdown
12
+
13
+ ### v0.8.0 / 2020-10-27
14
+
15
+ * BREAKING CHANGE: Move context/span methods to Trace module
16
+ * BREAKING CHANGE: Remove 'canonical' from status codes
17
+
18
+ * FIXED: Move context/span methods to Trace module
19
+ * FIXED: Remove 'canonical' from status codes
20
+
21
+ ### v0.7.0 / 2020-10-07
22
+
23
+ * DOCS: Standardize toplevel docs structure and readme
24
+
25
+ ### v0.6.0 / 2020-09-10
26
+
27
+ * (No significant changes)
@@ -4,6 +4,12 @@
4
4
  #
5
5
  # SPDX-License-Identifier: Apache-2.0
6
6
 
7
+ # OpenTelemetry is an open source observability framework, providing a
8
+ # general-purpose API, SDK, and related tools required for the instrumentation
9
+ # of cloud-native software, frameworks, and libraries.
10
+ #
11
+ # The OpenTelemetry module provides global accessors for telemetry objects.
12
+ # See the documentation for the `opentelemetry-api` gem for details.
7
13
  module OpenTelemetry
8
14
  # "Instrumentation" are specified by
9
15
  # https://github.com/open-telemetry/opentelemetry-specification/blob/784635d01d8690c8f5fcd1f55bdbc8a13cf2f4f2/specification/glossary.md#instrumentation-library
@@ -38,7 +38,7 @@ module OpenTelemetry
38
38
  kind: :client
39
39
  ).tap do |span|
40
40
  datum[:otel_span] = span
41
- tracer.with_span(span) do
41
+ OpenTelemetry::Trace.with_span(span) do
42
42
  OpenTelemetry.propagation.http.inject(datum[:headers])
43
43
  end
44
44
  end
@@ -92,7 +92,7 @@ module OpenTelemetry
92
92
 
93
93
  if datum.key?(:error)
94
94
  span.status = OpenTelemetry::Trace::Status.new(
95
- OpenTelemetry::Trace::Status::UNKNOWN_ERROR,
95
+ OpenTelemetry::Trace::Status::ERROR,
96
96
  description: "Request has failed: #{datum[:error]}"
97
97
  )
98
98
  end
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module Excon
10
- VERSION = '0.5.0'
10
+ VERSION = '0.10.0'
11
11
  end
12
12
  end
13
13
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentelemetry-instrumentation-excon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.10.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-07-17 00:00:00.000000000 Z
11
+ date: 2020-12-03 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.5.0
19
+ version: 0.10.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.5.0
26
+ version: 0.10.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: appraisal
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -171,6 +171,8 @@ executables: []
171
171
  extensions: []
172
172
  extra_rdoc_files: []
173
173
  files:
174
+ - ".yardopts"
175
+ - CHANGELOG.md
174
176
  - LICENSE
175
177
  - README.md
176
178
  - lib/opentelemetry-instrumentation-excon.rb
@@ -182,7 +184,11 @@ files:
182
184
  homepage: https://github.com/open-telemetry/opentelemetry-ruby
183
185
  licenses:
184
186
  - Apache-2.0
185
- metadata: {}
187
+ metadata:
188
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-excon/v0.10.0/file.CHANGELOG.html
189
+ source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/master/instrumentation/excon
190
+ bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
191
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-excon/v0.10.0
186
192
  post_install_message:
187
193
  rdoc_options: []
188
194
  require_paths:
@@ -198,7 +204,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
198
204
  - !ruby/object:Gem::Version
199
205
  version: '0'
200
206
  requirements: []
201
- rubygems_version: 3.0.3
207
+ rubygems_version: 3.1.4
202
208
  signing_key:
203
209
  specification_version: 4
204
210
  summary: Excon instrumentation for the OpenTelemetry framework