opentelemetry-instrumentation-faraday 0.17.0 → 0.19.1

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: fda98783faef5cce019d7008af200a08fd630cd788abfc050d8b286e6b828c9a
4
- data.tar.gz: 6dab2946fc130712cc8c4a4c8e8eddb32fc5339bf492ec484f03b272bdd6ed97
3
+ metadata.gz: 73a323f1f3f3bec98522498c039ead0b9422a4523b9c6e87da59d749340cec9e
4
+ data.tar.gz: aaa986b537158b58741dba4d66d47bbba2cf36d88354430a92e715d2d5555f5f
5
5
  SHA512:
6
- metadata.gz: 17b7fe993b923be365f97f1fd97ebd9a83c969b40cbe63a474c703cc8769d68b8298f9942e1a0fe8d801f6795d72dfa1cdc8276b3d13dbecb3efbbe51b8f8535
7
- data.tar.gz: 9984084f4134e9161740783a4cdbb253324bc8d30a4dacea3e1f35de484a4f4655ca91a6a827d6711e60b7ec9128939aab03eda892e790e378b1b8b253d25194
6
+ metadata.gz: 7ee6d14b56181fdff9d861483fad93f94b461200a25ea3c2aafc3520999b66b66a70d3865f7c7f46cb4a5c7640917312e8e00aaf0a9510df1688ffae0166c47f
7
+ data.tar.gz: ecd531a653b2bd3c4f50969c84cec6399d51e23e3bc9a8e0d8d6e61e6bb80f94aea3cdb8c8d62e066fc8e666c54026e3532b7064f412bddb9bd6b7278ee3d14a
data/CHANGELOG.md CHANGED
@@ -1,25 +1,44 @@
1
1
  # Release History: opentelemetry-instrumentation-faraday
2
2
 
3
+ ### v0.19.1 / 2021-08-12
4
+
5
+ * DOCS: Update docs to rely more on environment variable configuration
6
+
7
+ ### v0.19.0 / 2021-06-23
8
+
9
+ * BREAKING CHANGE: Total order constraint on span.status=
10
+
11
+ * FIXED: Total order constraint on span.status=
12
+
13
+ ### v0.18.1 / 2021-06-08
14
+
15
+ * FIXED: Missing require to common in faraday
16
+
17
+ ### v0.18.0 / 2021-05-21
18
+
19
+ * ADDED: Updated API depedency for 1.0.0.rc1
20
+ * FIXED: Removed http.status_text attribute #750
21
+
3
22
  ### v0.17.0 / 2021-04-22
4
23
 
5
- * FIXED: Fix Faraday gem dependencies.
6
- * FIXED: Refactor propagators to add #fields
24
+ * FIXED: Fix Faraday gem dependencies.
25
+ * FIXED: Refactor propagators to add #fields
7
26
 
8
27
  ### v0.16.0 / 2021-03-17
9
28
 
10
- * FIXED: Remove passwords from http.url
11
- * FIXED: Example scripts now reference local common lib
12
- * DOCS: Replace Gitter with GitHub Discussions
29
+ * FIXED: Remove passwords from http.url
30
+ * FIXED: Example scripts now reference local common lib
31
+ * DOCS: Replace Gitter with GitHub Discussions
13
32
 
14
33
  ### v0.15.0 / 2021-02-18
15
34
 
16
- * FIXED: Include http.status_text only if reason_phrase is in the response
35
+ * FIXED: Include http.status_text only if reason_phrase is in the response
17
36
 
18
37
  ### v0.14.0 / 2021-02-03
19
38
 
20
- * BREAKING CHANGE: Replace getter and setter callables and remove rack specific propagators
39
+ * BREAKING CHANGE: Replace getter and setter callables and remove rack specific propagators
21
40
 
22
- * ADDED: Replace getter and setter callables and remove rack specific propagators
41
+ * ADDED: Replace getter and setter callables and remove rack specific propagators
23
42
 
24
43
  ### v0.13.0 / 2021-01-29
25
44
 
@@ -31,7 +50,7 @@
31
50
 
32
51
  ### v0.11.0 / 2020-12-11
33
52
 
34
- * FIXED: Copyright comments to not reference year
53
+ * FIXED: Copyright comments to not reference year
35
54
 
36
55
  ### v0.10.0 / 2020-12-03
37
56
 
@@ -39,9 +58,9 @@
39
58
 
40
59
  ### v0.9.0 / 2020-11-27
41
60
 
42
- * BREAKING CHANGE: Add timeout for force_flush and shutdown
61
+ * BREAKING CHANGE: Add timeout for force_flush and shutdown
43
62
 
44
- * ADDED: Add timeout for force_flush and shutdown
63
+ * ADDED: Add timeout for force_flush and shutdown
45
64
 
46
65
  ### v0.8.0 / 2020-10-27
47
66
 
@@ -49,8 +68,8 @@
49
68
 
50
69
  ### v0.7.0 / 2020-10-07
51
70
 
52
- * DOCS: Faraday documentation
53
- * DOCS: Standardize toplevel docs structure and readme
71
+ * DOCS: Faraday documentation
72
+ * DOCS: Standardize toplevel docs structure and readme
54
73
 
55
74
  ### v0.6.0 / 2020-09-10
56
75
 
@@ -5,6 +5,7 @@
5
5
  # SPDX-License-Identifier: Apache-2.0
6
6
 
7
7
  require 'opentelemetry'
8
+ require 'opentelemetry/common'
8
9
  require 'opentelemetry-instrumentation-base'
9
10
 
10
11
  module OpenTelemetry
@@ -58,10 +58,7 @@ module OpenTelemetry
58
58
 
59
59
  def trace_response(span, response)
60
60
  span.set_attribute('http.status_code', response.status)
61
- span.set_attribute('http.status_text', response.reason_phrase) if response.reason_phrase
62
- span.status = OpenTelemetry::Trace::Status.http_to_status(
63
- response.status
64
- )
61
+ span.status = OpenTelemetry::Trace::Status.error unless (100..399).include?(response.status.to_i)
65
62
  end
66
63
  end
67
64
  end
@@ -7,7 +7,7 @@
7
7
  module OpenTelemetry
8
8
  module Instrumentation
9
9
  module Faraday
10
- VERSION = '0.17.0'
10
+ VERSION = '0.19.1'
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-faraday
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.19.1
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-04-23 00:00:00.000000000 Z
11
+ date: 2021-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opentelemetry-api
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.17.0
19
+ version: 1.0.0.rc3
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.17.0
26
+ version: 1.0.0.rc3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: opentelemetry-common
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.17.0
33
+ version: 0.19.1
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.17.0
40
+ version: 0.19.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: opentelemetry-instrumentation-base
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.17.0
47
+ version: 0.18.2
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.17.0
54
+ version: 0.18.2
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: appraisal
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '0.0'
117
+ version: 1.0.0.rc1
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: '0.0'
124
+ version: 1.0.0.rc1
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: rubocop
127
127
  requirement: !ruby/object:Gem::Requirement
@@ -214,10 +214,10 @@ homepage: https://github.com/open-telemetry/opentelemetry-ruby
214
214
  licenses:
215
215
  - Apache-2.0
216
216
  metadata:
217
- changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-faraday/v0.17.0/file.CHANGELOG.html
217
+ changelog_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-faraday/v0.19.1/file.CHANGELOG.html
218
218
  source_code_uri: https://github.com/open-telemetry/opentelemetry-ruby/tree/main/instrumentation/faraday
219
219
  bug_tracker_uri: https://github.com/open-telemetry/opentelemetry-ruby/issues
220
- documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-faraday/v0.17.0
220
+ documentation_uri: https://open-telemetry.github.io/opentelemetry-ruby/opentelemetry-instrumentation-faraday/v0.19.1
221
221
  post_install_message:
222
222
  rdoc_options: []
223
223
  require_paths: