opentelemetry-instrumentation-excon 0.6.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +9 -0
- data/CHANGELOG.md +26 -0
- data/LICENSE +1 -1
- data/lib/opentelemetry-instrumentation-excon.rb +1 -1
- data/lib/opentelemetry/instrumentation.rb +7 -1
- data/lib/opentelemetry/instrumentation/excon.rb +1 -1
- data/lib/opentelemetry/instrumentation/excon/instrumentation.rb +1 -1
- data/lib/opentelemetry/instrumentation/excon/middlewares/tracer_middleware.rb +3 -3
- data/lib/opentelemetry/instrumentation/excon/version.rb +2 -2
- metadata +11 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ebe4a184258083b1d99c126b0b7ba0dd41612ae7ea049f8507b0305d821b199
|
4
|
+
data.tar.gz: 15ac8e9703d2576dc961d495d7023c8bd24d55a3237cd27dcadac3502f78c8e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2361c863154613f62d29b18b3fa9820ee6b7e07b25386a03b79687fdcbb10d8e4ac57549d11128b73642f58acde6c79b8f607bbf75688bb143500c0ddc42272
|
7
|
+
data.tar.gz: 99262934ace92eba2846eba535e482da76e17f0f8149f31b3126b092b1757b9879fbc0841f020d45fd982bc4fc437ddc85d8acba8204bbe9a272c93ceaf59370
|
data/.yardopts
ADDED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,31 @@
|
|
1
1
|
# Release History: opentelemetry-instrumentation-excon
|
2
2
|
|
3
|
+
### v0.11.0 / 2020-12-11
|
4
|
+
|
5
|
+
* FIXED: Copyright comments to not reference year
|
6
|
+
|
7
|
+
### v0.10.0 / 2020-12-03
|
8
|
+
|
9
|
+
* (No significant changes)
|
10
|
+
|
11
|
+
### v0.9.0 / 2020-11-27
|
12
|
+
|
13
|
+
* BREAKING CHANGE: Add timeout for force_flush and shutdown
|
14
|
+
|
15
|
+
* ADDED: Add timeout for force_flush and shutdown
|
16
|
+
|
17
|
+
### v0.8.0 / 2020-10-27
|
18
|
+
|
19
|
+
* BREAKING CHANGE: Move context/span methods to Trace module
|
20
|
+
* BREAKING CHANGE: Remove 'canonical' from status codes
|
21
|
+
|
22
|
+
* FIXED: Move context/span methods to Trace module
|
23
|
+
* FIXED: Remove 'canonical' from status codes
|
24
|
+
|
25
|
+
### v0.7.0 / 2020-10-07
|
26
|
+
|
27
|
+
* DOCS: Standardize toplevel docs structure and readme
|
28
|
+
|
3
29
|
### v0.6.0 / 2020-09-10
|
4
30
|
|
5
31
|
* (No significant changes)
|
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 The 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.
|
@@ -1,9 +1,15 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright
|
3
|
+
# Copyright The OpenTelemetry Authors
|
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
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright
|
3
|
+
# Copyright The OpenTelemetry Authors
|
4
4
|
#
|
5
5
|
# SPDX-License-Identifier: Apache-2.0
|
6
6
|
|
@@ -38,7 +38,7 @@ module OpenTelemetry
|
|
38
38
|
kind: :client
|
39
39
|
).tap do |span|
|
40
40
|
datum[:otel_span] = span
|
41
|
-
|
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::
|
95
|
+
OpenTelemetry::Trace::Status::ERROR,
|
96
96
|
description: "Request has failed: #{datum[:error]}"
|
97
97
|
)
|
98
98
|
end
|
@@ -1,13 +1,13 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright
|
3
|
+
# Copyright The OpenTelemetry Authors
|
4
4
|
#
|
5
5
|
# SPDX-License-Identifier: Apache-2.0
|
6
6
|
|
7
7
|
module OpenTelemetry
|
8
8
|
module Instrumentation
|
9
9
|
module Excon
|
10
|
-
VERSION = '0.
|
10
|
+
VERSION = '0.11.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.
|
4
|
+
version: 0.11.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-
|
11
|
+
date: 2020-12-11 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.11.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.11.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: appraisal
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -171,6 +171,7 @@ executables: []
|
|
171
171
|
extensions: []
|
172
172
|
extra_rdoc_files: []
|
173
173
|
files:
|
174
|
+
- ".yardopts"
|
174
175
|
- CHANGELOG.md
|
175
176
|
- LICENSE
|
176
177
|
- README.md
|
@@ -183,7 +184,11 @@ files:
|
|
183
184
|
homepage: https://github.com/open-telemetry/opentelemetry-ruby
|
184
185
|
licenses:
|
185
186
|
- Apache-2.0
|
186
|
-
metadata:
|
187
|
+
metadata:
|
188
|
+
changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-excon/v0.11.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.11.0
|
187
192
|
post_install_message:
|
188
193
|
rdoc_options: []
|
189
194
|
require_paths:
|
@@ -199,7 +204,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
199
204
|
- !ruby/object:Gem::Version
|
200
205
|
version: '0'
|
201
206
|
requirements: []
|
202
|
-
rubygems_version: 3.1.
|
207
|
+
rubygems_version: 3.1.4
|
203
208
|
signing_key:
|
204
209
|
specification_version: 4
|
205
210
|
summary: Excon instrumentation for the OpenTelemetry framework
|